Classes | Functions
unit_tests_ned2.cpp File Reference
#include "common/model/abstract_motor_state.hpp"
#include "common/model/bus_protocol_enum.hpp"
#include "common/model/dxl_command_type_enum.hpp"
#include "common/model/dxl_motor_state.hpp"
#include "common/model/hardware_type_enum.hpp"
#include "common/model/joint_state.hpp"
#include "common/model/single_motor_cmd.hpp"
#include "common/model/stepper_command_type_enum.hpp"
#include "common/model/stepper_motor_state.hpp"
#include "common/model/synchronize_motor_cmd.hpp"
#include "dynamixel_sdk/dynamixel_sdk.h"
#include "ros/node_handle.h"
#include "ttl_driver/ttl_interface_core.hpp"
#include "ttl_driver/ttl_manager.hpp"
#include <cassert>
#include <gtest/gtest.h>
#include <memory>
#include <ros/console.h>
#include <string>
#include <utility>
Include dependency graph for unit_tests_ned2.cpp:

Go to the source code of this file.

Classes

class  TtlInterfaceTestSuite
 The TtlInterfaceTestSuite class. More...
 
class  TtlManagerTestSuite
 The TtlManagerTestSuite class. More...
 

Functions

void addJointToTtlInterface (const std::shared_ptr< ttl_driver::TtlInterfaceCore > &ttl_interface)
 addJointToTtlInterface More...
 
void addJointToTtlManager (const std::shared_ptr< ttl_driver::TtlManager > &ttl_drv)
 addJointToTtlManager More...
 
int main (int argc, char **argv)
 
 TEST_F (TtlInterfaceTestSuite, testRebootMotors)
 
 TEST_F (TtlInterfaceTestSuite, testRebootMotorsWrongID)
 
 TEST_F (TtlManagerTestSuite, calibrationStatus)
 
 TEST_F (TtlManagerTestSuite, initializeJoints)
 
 TEST_F (TtlManagerTestSuite, scanTest)
 
 TEST_F (TtlManagerTestSuite, testSingleCmds)
 
 TEST_F (TtlManagerTestSuite, testSingleControlCmds)
 
 TEST_F (TtlManagerTestSuite, testSyncCmds)
 
 TEST_F (TtlManagerTestSuite, testSyncControlCmds)
 
 TEST_F (TtlManagerTestSuite, testSyncControlCmdsReturnHome)
 

Function Documentation

◆ addJointToTtlInterface()

void addJointToTtlInterface ( const std::shared_ptr< ttl_driver::TtlInterfaceCore > &  ttl_interface)

addJointToTtlInterface

Parameters
ttl_interface

Definition at line 54 of file unit_tests_ned2.cpp.

◆ addJointToTtlManager()

void addJointToTtlManager ( const std::shared_ptr< ttl_driver::TtlManager > &  ttl_drv)

addJointToTtlManager

Parameters
ttl_drv

Definition at line 246 of file unit_tests_ned2.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 848 of file unit_tests_ned2.cpp.

◆ TEST_F() [1/10]

TEST_F ( TtlInterfaceTestSuite  ,
testRebootMotors   
)

Definition at line 475 of file unit_tests_ned2.cpp.

◆ TEST_F() [2/10]

TEST_F ( TtlInterfaceTestSuite  ,
testRebootMotorsWrongID   
)

Definition at line 482 of file unit_tests_ned2.cpp.

◆ TEST_F() [3/10]

TEST_F ( TtlManagerTestSuite  ,
calibrationStatus   
)

Definition at line 613 of file unit_tests_ned2.cpp.

◆ TEST_F() [4/10]

TEST_F ( TtlManagerTestSuite  ,
initializeJoints   
)

Definition at line 603 of file unit_tests_ned2.cpp.

◆ TEST_F() [5/10]

TEST_F ( TtlManagerTestSuite  ,
scanTest   
)

Definition at line 845 of file unit_tests_ned2.cpp.

◆ TEST_F() [6/10]

TEST_F ( TtlManagerTestSuite  ,
testSingleCmds   
)

Definition at line 616 of file unit_tests_ned2.cpp.

◆ TEST_F() [7/10]

TEST_F ( TtlManagerTestSuite  ,
testSingleControlCmds   
)

Definition at line 638 of file unit_tests_ned2.cpp.

◆ TEST_F() [8/10]

TEST_F ( TtlManagerTestSuite  ,
testSyncCmds   
)

Definition at line 713 of file unit_tests_ned2.cpp.

◆ TEST_F() [9/10]

TEST_F ( TtlManagerTestSuite  ,
testSyncControlCmds   
)

Definition at line 738 of file unit_tests_ned2.cpp.

◆ TEST_F() [10/10]

TEST_F ( TtlManagerTestSuite  ,
testSyncControlCmdsReturnHome   
)

Definition at line 792 of file unit_tests_ned2.cpp.



ttl_driver
Author(s): Clement Cocquempot
autogenerated on Wed May 21 2025 08:30:15