17 #ifndef _GAZEBO_RANDOMVELOCITY_PLUGIN_PRIVATE_HH_
18 #define _GAZEBO_RANDOMVELOCITY_PLUGIN_PRIVATE_HH_
20 #include <ignition/math/Vector3.hh>
21 #include <ignition/math/Vector2.hh>
35 xRange(-IGN_DBL_MAX, IGN_DBL_MAX),
36 yRange(-IGN_DBL_MAX, IGN_DBL_MAX),
37 zRange(-IGN_DBL_MAX, IGN_DBL_MAX)
57 public: ignition::math::Vector2d
xRange;
60 public: ignition::math::Vector2d
yRange;
63 public: ignition::math::Vector2d
zRange;
double velocityFactor
Velocity scaling factor.
Definition: RandomVelocityPluginPrivate.hh:42
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:153
Definition: RandomVelocityPluginPrivate.hh:30
event::ConnectionPtr updateConnection
Connects to world update event.
Definition: RandomVelocityPluginPrivate.hh:54
ignition::math::Vector2d zRange
Z velocity clamping values.
Definition: RandomVelocityPluginPrivate.hh:63
ignition::math::Vector2d yRange
Y velocity clamping values.
Definition: RandomVelocityPluginPrivate.hh:60
ignition::math::Vector2d xRange
X velocity clamping values.
Definition: RandomVelocityPluginPrivate.hh:57
common::Time updatePeriod
Time between recomputing a new velocity vector.
Definition: RandomVelocityPluginPrivate.hh:45
RandomVelocityPluginPrivate()
Definition: RandomVelocityPluginPrivate.hh:32
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:100
physics::LinkPtr link
Pointer to the link that will receive the velocity.
Definition: RandomVelocityPluginPrivate.hh:66
A Time class, can be used to hold wall- or sim-time.
Definition: Time.hh:44
common::Time prevUpdate
Time the of the last update.
Definition: RandomVelocityPluginPrivate.hh:48
ignition::math::Vector3d velocity
Velocity to apply.
Definition: RandomVelocityPluginPrivate.hh:51