Skip to content

Commit

Permalink
Merged from entity_tree
Browse files Browse the repository at this point in the history
  • Loading branch information
nkoenig committed May 8, 2019
2 parents 924127d + 4eee9cf commit f63daba
Show file tree
Hide file tree
Showing 26 changed files with 641 additions and 683 deletions.
3 changes: 2 additions & 1 deletion include/ignition/gazebo/components/AirPressureSensor.hh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ namespace components
{
/// \brief A component type that contains an air pressure sensor,
/// sdf::AirPressure, information.
using AirPressureSensor = Component<sdf::Sensor, class AirPressureSensorTag>;
using AirPressureSensor = Component<sdf::Sensor, class AirPressureSensorTag,
serializers::SensorSerializer>;
IGN_GAZEBO_REGISTER_COMPONENT("ign_gazebo_components.AirPressureSensor",
AirPressureSensor)
}
Expand Down
3 changes: 2 additions & 1 deletion include/ignition/gazebo/components/Altimeter.hh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ namespace components
{
/// \brief A component type that contains an altimeter sensor,
/// sdf::Altimeter, information.
using Altimeter = Component<sdf::Sensor, class AltimeterTag>;
using Altimeter =
Component<sdf::Sensor, class AltimeterTag, serializers::SensorSerializer>;
IGN_GAZEBO_REGISTER_COMPONENT("ign_gazebo_components.Altimeter", Altimeter)
}
}
Expand Down
4 changes: 3 additions & 1 deletion include/ignition/gazebo/components/Camera.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include <ignition/gazebo/components/Factory.hh>
#include <ignition/gazebo/components/Component.hh>
#include <ignition/gazebo/components/Serialization.hh>
#include <ignition/gazebo/config.hh>

namespace ignition
Expand All @@ -33,7 +34,8 @@ namespace components
{
/// \brief A component type that contains a camera sensor,
/// sdf::Camera, information.
using Camera = Component<sdf::Sensor, class CameraTag>;
using Camera = Component<sdf::Sensor, class CameraTag,
serializers::SensorSerializer>;
IGN_GAZEBO_REGISTER_COMPONENT("ign_gazebo_components.Camera", Camera)
}
}
Expand Down
Loading

0 comments on commit f63daba

Please sign in to comment.