Classes | Functions
unit_tests_ned_one.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_ned_one.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, 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_ned_one.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_ned_one.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 694 of file unit_tests_ned_one.cpp.

◆ TEST_F() [1/8]

TEST_F ( TtlInterfaceTestSuite  ,
testRebootMotors   
)

Definition at line 469 of file unit_tests_ned_one.cpp.

◆ TEST_F() [2/8]

TEST_F ( TtlInterfaceTestSuite  ,
testRebootMotorsWrongID   
)

Definition at line 476 of file unit_tests_ned_one.cpp.

◆ TEST_F() [3/8]

TEST_F ( TtlManagerTestSuite  ,
scanTest   
)

Definition at line 691 of file unit_tests_ned_one.cpp.

◆ TEST_F() [4/8]

TEST_F ( TtlManagerTestSuite  ,
testSingleCmds   
)

Definition at line 513 of file unit_tests_ned_one.cpp.

◆ TEST_F() [5/8]

TEST_F ( TtlManagerTestSuite  ,
testSingleControlCmds   
)

Definition at line 535 of file unit_tests_ned_one.cpp.

◆ TEST_F() [6/8]

TEST_F ( TtlManagerTestSuite  ,
testSyncCmds   
)

Definition at line 585 of file unit_tests_ned_one.cpp.

◆ TEST_F() [7/8]

TEST_F ( TtlManagerTestSuite  ,
testSyncControlCmds   
)

Definition at line 614 of file unit_tests_ned_one.cpp.

◆ TEST_F() [8/8]

TEST_F ( TtlManagerTestSuite  ,
testSyncControlCmdsReturnHome   
)

Definition at line 653 of file unit_tests_ned_one.cpp.



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