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

This clase used to store the initial position information of a section. More...

#include <GaitRecorder.hh>

Public Member Functions

 Frame (string frame_name)
 Constructor. More...
 
void AddAPosition (PoseRecord pos_rec)
 Add a position record of a module. More...
 
unsigned int GetPositionSize (void) const
 Get the size of position records. More...
 
PoseRecord GetPosition (unsigned int idx) const
 Get a position record with a position index. More...
 

Public Attributes

string frameName
 Section name string.
 

Detailed Description

This clase used to store the initial position information of a section.

Name has been changed, still using the old name 'Frame' instead of 'Section'

Constructor & Destructor Documentation

Frame::Frame ( string  frame_name)

Constructor.

Parameters
frame_nameSection identity string

Member Function Documentation

void Frame::AddAPosition ( PoseRecord  pos_rec)

Add a position record of a module.

Parameters
pos_recPoseRecord object
PoseRecord Frame::GetPosition ( unsigned int  idx) const

Get a position record with a position index.

Parameters
idxPosition index
Returns
A PoseRecord object
unsigned int Frame::GetPositionSize ( void  ) const

Get the size of position records.

Returns
Integer, size of the position records

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