18 #ifndef _GAZEBO_ACTUATOR_PLUGIN_
19 #define _GAZEBO_ACTUATOR_PLUGIN_
24 #include <gazebo/physics/physics.hh>
79 public: boost::function<float (float, float, const ActuatorProperties&)>
90 private:
void WorldUpdateCallback();
93 private: std::vector<physics::JointPtr> joints;
96 private: std::vector<ActuatorProperties> actuators;
99 private: std::vector<event::ConnectionPtr> connections;
boost::shared_ptr< Model > ModelPtr
Definition: PhysicsTypes.hh:88
Plugin for simulating a torque-speed curve for actuators.
Definition: ActuatorPlugin.hh:84
int jointIndex
Which joint index is actuated by this actuator.
Definition: ActuatorPlugin.hh:63
#define GZ_REGISTER_MODEL_PLUGIN(classname)
Plugin registration function for model plugin.
Definition: Plugin.hh:361
std::string name
An identifier for the actuator.
Definition: ActuatorPlugin.hh:60
Properties for a model of a rotational actuator.
Definition: ActuatorPlugin.hh:57
float maximumVelocity
Maximum velocity of the actuator (radians per second)
Definition: ActuatorPlugin.hh:69
boost::function< float(float, float, const ActuatorProperties &)> modelFunction
Function used to calculate motor output.
Definition: ActuatorPlugin.hh:80
float maximumTorque
Maximum torque of the actuator (Newton-meters)
Definition: ActuatorPlugin.hh:72
A plugin with access to physics::Model.
Definition: Plugin.hh:245
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59
float power
Mechanical power output of the actuator (Watts)
Definition: ActuatorPlugin.hh:66