18 #ifndef GAZEBO_PHYSICS_ROAD_HH_ 19 #define GAZEBO_PHYSICS_ROAD_HH_ 24 #include <ignition/math/Vector3.hh> 25 #include <ignition/transport/Node.hh> 47 public:
virtual ~
Road();
51 public:
void Load(sdf::ElementPtr _sdf);
54 public:
virtual void Init();
57 public:
virtual void Fini();
61 public:
const std::vector<ignition::math::Vector3d> &Points()
const;
65 public:
double GetWidth()
const;
68 private:
double width;
71 private: std::vector<ignition::math::Vector3d> points;
83 private: ignition::transport::Node nodeIgn;
86 private: ignition::transport::Node::Publisher roadPubIgn;
for building a Road from SDF
Definition: Road.hh:40
Forward declarations for the common classes.
Definition: Animation.hh:26
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
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:77