Classes | Functions | Variables
TubeTareMechanism_Test.cpp File Reference
#include <gtest/gtest.h>
#include <boost/shared_ptr.hpp>
#include <boost/make_shared.hpp>
#include "robodyn_mechanisms/TubeTareMechanism.h"
#include "robot_instance/RobotInstanceFactory.h"
#include "robot_instance/CoeffMapLoader.h"
#include "ros/package.h"
#include "ros/time.h"
Include dependency graph for TubeTareMechanism_Test.cpp:

Go to the source code of this file.

Classes

class  TubeTareMechanismTest

Functions

std::vector< std::string > getActuatorNames (std::string mechanism)
std::string getCommandFile (std::string mechanism)
float getFloat (std::string item)
float getInt16 (std::string item)
std::vector< std::string > getJointNames (std::string mechanism)
float getLiveCoeff (std::string coeff)
float getMotorCoeff (std::string item)
float getUint16 (std::string item)
bool hasLiveCoeff (std::string coeff)
int main (int argc, char **argv)
void setInt16 (std::string item, int16_t value)
void setLiveCoeff (std::string coeff, float value)
void setUint16 (std::string item, uint16_t value)
 TEST_F (TubeTareMechanismTest, Constructor)
 TEST_F (TubeTareMechanismTest, setStop)
 TEST_F (TubeTareMechanismTest, isMoving)
 TEST_F (TubeTareMechanismTest, setRelease)
 TEST_F (TubeTareMechanismTest, getEncTarePos)
 TEST_F (TubeTareMechanismTest, setTighten)
 TEST_F (TubeTareMechanismTest, goodPosition)
 TEST_F (TubeTareMechanismTest, getSliderTarePos)
 TEST_F (TubeTareMechanismTest, getTensionTareValue)

Variables

CoeffMapPtr brainstemCoeffMap
RobotInstancePtr instance
CoeffMapPtr motorCoeffMap
std::map< std::string, float > testFloats
std::map< std::string, int16_t > testInt16
std::map< std::string, float > testLiveCoeffs
std::map< std::string, uint16_t > testUint16

Function Documentation

std::vector<std::string> getActuatorNames ( std::string  mechanism)

Definition at line 72 of file TubeTareMechanism_Test.cpp.

std::string getCommandFile ( std::string  mechanism)

Definition at line 77 of file TubeTareMechanism_Test.cpp.

float getFloat ( std::string  item)

Definition at line 22 of file TubeTareMechanism_Test.cpp.

float getInt16 ( std::string  item)

Definition at line 27 of file TubeTareMechanism_Test.cpp.

std::vector<std::string> getJointNames ( std::string  mechanism)

Definition at line 67 of file TubeTareMechanism_Test.cpp.

float getLiveCoeff ( std::string  coeff)

Definition at line 57 of file TubeTareMechanism_Test.cpp.

float getMotorCoeff ( std::string  item)

Definition at line 47 of file TubeTareMechanism_Test.cpp.

float getUint16 ( std::string  item)

Definition at line 32 of file TubeTareMechanism_Test.cpp.

bool hasLiveCoeff ( std::string  coeff)

Definition at line 52 of file TubeTareMechanism_Test.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 350 of file TubeTareMechanism_Test.cpp.

void setInt16 ( std::string  item,
int16_t  value 
)

Definition at line 42 of file TubeTareMechanism_Test.cpp.

void setLiveCoeff ( std::string  coeff,
float  value 
)

Definition at line 62 of file TubeTareMechanism_Test.cpp.

void setUint16 ( std::string  item,
uint16_t  value 
)

Definition at line 37 of file TubeTareMechanism_Test.cpp.

TEST_F ( TubeTareMechanismTest  ,
Constructor   
)

Definition at line 127 of file TubeTareMechanism_Test.cpp.

TEST_F ( TubeTareMechanismTest  ,
setStop   
)

Definition at line 140 of file TubeTareMechanism_Test.cpp.

TEST_F ( TubeTareMechanismTest  ,
isMoving   
)

Definition at line 186 of file TubeTareMechanism_Test.cpp.

TEST_F ( TubeTareMechanismTest  ,
setRelease   
)

Definition at line 214 of file TubeTareMechanism_Test.cpp.

TEST_F ( TubeTareMechanismTest  ,
getEncTarePos   
)

Definition at line 230 of file TubeTareMechanism_Test.cpp.

TEST_F ( TubeTareMechanismTest  ,
setTighten   
)

Definition at line 246 of file TubeTareMechanism_Test.cpp.

TEST_F ( TubeTareMechanismTest  ,
goodPosition   
)

Definition at line 260 of file TubeTareMechanism_Test.cpp.

TEST_F ( TubeTareMechanismTest  ,
getSliderTarePos   
)

Definition at line 290 of file TubeTareMechanism_Test.cpp.

TEST_F ( TubeTareMechanismTest  ,
getTensionTareValue   
)

Definition at line 313 of file TubeTareMechanism_Test.cpp.


Variable Documentation

CoeffMapPtr brainstemCoeffMap

Definition at line 17 of file TubeTareMechanism_Test.cpp.

RobotInstancePtr instance

Definition at line 19 of file TubeTareMechanism_Test.cpp.

CoeffMapPtr motorCoeffMap

Definition at line 16 of file TubeTareMechanism_Test.cpp.

std::map<std::string, float> testFloats

Definition at line 13 of file TubeTareMechanism_Test.cpp.

std::map<std::string, int16_t> testInt16

Definition at line 14 of file TubeTareMechanism_Test.cpp.

std::map<std::string, float> testLiveCoeffs

Definition at line 18 of file TubeTareMechanism_Test.cpp.

std::map<std::string, uint16_t> testUint16

Definition at line 15 of file TubeTareMechanism_Test.cpp.



robodyn_mechanisms
Author(s):
autogenerated on Thu Jun 6 2019 21:22:49