Classes | Functions | Variables
motor_hardware_test.cc File Reference
#include <gtest/gtest.h>
#include <ros/ros.h>
#include <ubiquity_motor/motor_hardware.h>
#include <ubiquity_motor/motor_message.h>
#include <limits>
#include <util.h>
Include dependency graph for motor_hardware_test.cc:

Go to the source code of this file.

Classes

class  MotorHardwareTests
 

Functions

void callbackS (const std_msgs::Int32 &data)
 
void callbackU (const std_msgs::UInt32 &data)
 
int main (int argc, char **argv)
 
 TEST_F (MotorHardwareTests, writeSpeedsOutputs)
 
 TEST_F (MotorHardwareTests, nonZeroWriteSpeedsOutputs)
 
 TEST_F (MotorHardwareTests, odomUpdatesPosition)
 
 TEST_F (MotorHardwareTests, odomUpdatesPositionMax)
 
 TEST_F (MotorHardwareTests, requestVersionOutputs)
 
 TEST_F (MotorHardwareTests, oldFirmwareThrows)
 
 TEST_F (MotorHardwareTests, setDeadmanTimerOutputs)
 
 TEST_F (MotorHardwareTests, setParamsSendParams)
 

Variables

static bool called
 

Function Documentation

◆ callbackS()

void callbackS ( const std_msgs::Int32 &  data)

Definition at line 301 of file motor_hardware_test.cc.

◆ callbackU()

void callbackU ( const std_msgs::UInt32 &  data)

Definition at line 296 of file motor_hardware_test.cc.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 350 of file motor_hardware_test.cc.

◆ TEST_F() [1/8]

TEST_F ( MotorHardwareTests  ,
writeSpeedsOutputs   
)

Definition at line 67 of file motor_hardware_test.cc.

◆ TEST_F() [2/8]

TEST_F ( MotorHardwareTests  ,
nonZeroWriteSpeedsOutputs   
)

Definition at line 86 of file motor_hardware_test.cc.

◆ TEST_F() [3/8]

TEST_F ( MotorHardwareTests  ,
odomUpdatesPosition   
)

Definition at line 113 of file motor_hardware_test.cc.

◆ TEST_F() [4/8]

TEST_F ( MotorHardwareTests  ,
odomUpdatesPositionMax   
)

Definition at line 166 of file motor_hardware_test.cc.

◆ TEST_F() [5/8]

TEST_F ( MotorHardwareTests  ,
requestVersionOutputs   
)

Definition at line 223 of file motor_hardware_test.cc.

◆ TEST_F() [6/8]

TEST_F ( MotorHardwareTests  ,
oldFirmwareThrows   
)

Definition at line 241 of file motor_hardware_test.cc.

◆ TEST_F() [7/8]

TEST_F ( MotorHardwareTests  ,
setDeadmanTimerOutputs   
)

Definition at line 254 of file motor_hardware_test.cc.

◆ TEST_F() [8/8]

TEST_F ( MotorHardwareTests  ,
setParamsSendParams   
)

Definition at line 271 of file motor_hardware_test.cc.

Variable Documentation

◆ called

bool called
static

Definition at line 294 of file motor_hardware_test.cc.



ubiquity_motor
Author(s):
autogenerated on Mon Feb 28 2022 23:57:06