SMORES Robot Platform Simulation
Modlab at Penn, ASL at Cornell
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
gazebo::PoseRecord Class Reference

The class that will be used to record the position information of a module. More...

#include <GaitRecorder.hh>

Public Member Functions

 PoseRecord ()
 Constructor.
 
 PoseRecord (double joint0, double joint1, double joint2, double joint3, math::Pose pos)
 Constructor. More...
 
void UpdateJoints (double joint0, double joint1, double joint2, double joint3, math::Pose pos)
 Update the current record. More...
 

Public Attributes

double JointAngles [4]
 Joint angles of the module.
 
math::Pose Position
 Global position of the module.
 

Detailed Description

The class that will be used to record the position information of a module.

Record of the position of a single module at a specific point of simulation, so later the module can be reset to this position

Constructor & Destructor Documentation

gazebo::PoseRecord::PoseRecord ( double  joint0,
double  joint1,
double  joint2,
double  joint3,
math::Pose  pos 
)

Constructor.

Parameters
joint0Joint angle of joint 0
joint1Joint angle of joint 1
joint2Joint angle of joint 2
joint3Joint angle of joint 3
posGlobal position of the current module

Member Function Documentation

void gazebo::PoseRecord::UpdateJoints ( double  joint0,
double  joint1,
double  joint2,
double  joint3,
math::Pose  pos 
)

Update the current record.

Parameters
joint0Joint angle of joint 0
joint1Joint angle of joint 1
joint2Joint angle of joint 2
joint3Joint angle of joint 3
posGlobal position of the current module

The documentation for this class was generated from the following files: