18 #ifndef GAZEBO_PHYSICS_ROAD_HH_
19 #define GAZEBO_PHYSICS_ROAD_HH_
24 #include <ignition/math/Vector3.hh>
25 #include <ignition/transport/Node.hh>
48 public:
virtual ~
Road();
52 public:
void Load(sdf::ElementPtr _sdf);
55 public:
virtual void Init();
58 public:
virtual void Fini();
63 public:
const std::vector<math::Vector3> GetPoints()
const
68 public:
const std::vector<ignition::math::Vector3d> &Points()
const;
72 public:
double GetWidth()
const;
75 private:
double width;
78 private: std::vector<ignition::math::Vector3d> points;
90 private: ignition::transport::Node nodeIgn;
93 private: ignition::transport::Node::Publisher roadPubIgn;
for building a Road from SDF
Definition: Road.hh:41
Forward declarations for transport.
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
Base class for most physics classes.
Definition: Base.hh:77
#define GAZEBO_DEPRECATED(version)
Definition: system.hh:302
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:77