SMORES Robot Platform Simulation
Modlab at Penn, ASL at Cornell
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
SmoresJoint.hh
1 #ifndef _GAZEBO_SMORES_JOINT_HH_
3 #define _GAZEBO_SMORES_JOINT_HH_
4 
5 #include <gazebo/gazebo.hh>
6 #include <gazebo/physics/physics.hh>
7 
8 namespace gazebo{
11 {
13  physics::JointPtr jointPtr;
15  math::Angle jointAngleNow;
17  math::Angle jointAngleDesire; // This member is unused
21  double maximiumForce;
25  double jointErrorHis;
28 };
29 }
30 
31 #endif
double jointErrorHis
Angle difference between current joint and desired joint, for PID control.
Definition: SmoresJoint.hh:25
math::Angle jointAngleNow
The current joint angle of the joint, for PID control.
Definition: SmoresJoint.hh:15
double maximiumRotRate
Maximium rotation rate of the current joint, in rad/s.
Definition: SmoresJoint.hh:23
gazebo name space
Definition: system_gui.cc:41
bool needToBeSet
Whether the angle of the joint needs to be control.
Definition: SmoresJoint.hh:19
double maximiumForce
Maximium torque of the current joint.
Definition: SmoresJoint.hh:21
A struct that has richer features than gazebo joint object.
Definition: SmoresJoint.hh:10
double jointErrorAccu
Integration of the joint angle error, for PID control.
Definition: SmoresJoint.hh:27
physics::JointPtr jointPtr
JointPtr object of the joint.
Definition: SmoresJoint.hh:13
math::Angle jointAngleDesire
The desired angle for the joint, for PID control.
Definition: SmoresJoint.hh:17