joint_states_settler_unittest.cpp File Reference

#include <gtest/gtest.h>
#include <joint_states_settler/ConfigGoal.h>
#include <joint_states_settler/joint_states_settler.h>
Include dependency graph for joint_states_settler_unittest.cpp:

Go to the source code of this file.

Functions

vector
< calibration_msgs::Interval > 
addToSettler (JointStatesSettler &settler, unsigned int time_channel)
ConfigGoal config1 ()
ConfigGoal config2 ()
void doEasyCheck (const vector< calibration_msgs::Interval > &intervals)
void doMaxStepCheck (const vector< calibration_msgs::Interval > &intervals)
int main (int argc, char **argv)
 TEST (JointStatesSettler, reconfigureCheck)
 TEST (JointStatesSettler, maxStepCheck)
 TEST (JointStatesSettler, easyCheck)

Variables

static const unsigned int C = 3
static const double data [N][C]
static const unsigned int N = 9
static const char * names [C] = { "A", "B", "C" }
static const unsigned int times [N][2]

Function Documentation

vector<calibration_msgs::Interval> addToSettler ( JointStatesSettler settler,
unsigned int  time_channel 
)

Definition at line 75 of file joint_states_settler_unittest.cpp.

ConfigGoal config1 (  ) 

Definition at line 102 of file joint_states_settler_unittest.cpp.

ConfigGoal config2 (  ) 

Definition at line 121 of file joint_states_settler_unittest.cpp.

void doEasyCheck ( const vector< calibration_msgs::Interval > &  intervals  ) 

Definition at line 141 of file joint_states_settler_unittest.cpp.

void doMaxStepCheck ( const vector< calibration_msgs::Interval > &  intervals  ) 

Definition at line 164 of file joint_states_settler_unittest.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 232 of file joint_states_settler_unittest.cpp.

TEST ( JointStatesSettler  ,
reconfigureCheck   
)

Definition at line 212 of file joint_states_settler_unittest.cpp.

TEST ( JointStatesSettler  ,
maxStepCheck   
)

Definition at line 200 of file joint_states_settler_unittest.cpp.

TEST ( JointStatesSettler  ,
easyCheck   
)

Definition at line 188 of file joint_states_settler_unittest.cpp.


Variable Documentation

const unsigned int C = 3 [static]

Definition at line 47 of file joint_states_settler_unittest.cpp.

const double data[N][C] [static]
Initial value:
 { { 0,  0, 10},
                                   { 1,  1, 15},
                                   { 2,  2, 20},
                                   { 3,  3, 50},
                                   { 4,  4, 30},
                                   { 3,  5, 35},
                                   { 2,  6, 25},
                                   { 1,  7, 20},
                                   { 0,  8, 25 } }

Definition at line 53 of file joint_states_settler_unittest.cpp.

const unsigned int N = 9 [static]

Definition at line 44 of file joint_states_settler_unittest.cpp.

const char* names[C] = { "A", "B", "C" } [static]

Definition at line 50 of file joint_states_settler_unittest.cpp.

const unsigned int times[N][2] [static]
Initial value:
 { { 0,  0 },
                                          { 1,  1 },
                                          { 2,  2 },
                                          { 3,  3 },
                                          { 4,  4 },
                                          { 5, 15 },
                                          { 6, 16 },
                                          { 7, 17 },
                                          { 8, 18 } }

Definition at line 64 of file joint_states_settler_unittest.cpp.

 All Classes Namespaces Files Functions Variables Typedefs


joint_states_settler
Author(s): Vijay Pradeep
autogenerated on Fri Jan 11 09:14:40 2013