#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>
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) | |
void addJointToTtlInterface | ( | const std::shared_ptr< ttl_driver::TtlInterfaceCore > & | ttl_interface | ) |
addJointToTtlInterface
ttl_interface |
Definition at line 54 of file unit_tests_ned_one.cpp.
void addJointToTtlManager | ( | const std::shared_ptr< ttl_driver::TtlManager > & | ttl_drv | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 694 of file unit_tests_ned_one.cpp.
TEST_F | ( | TtlInterfaceTestSuite | , |
testRebootMotors | |||
) |
Definition at line 469 of file unit_tests_ned_one.cpp.
TEST_F | ( | TtlInterfaceTestSuite | , |
testRebootMotorsWrongID | |||
) |
Definition at line 476 of file unit_tests_ned_one.cpp.
TEST_F | ( | TtlManagerTestSuite | , |
scanTest | |||
) |
Definition at line 691 of file unit_tests_ned_one.cpp.
TEST_F | ( | TtlManagerTestSuite | , |
testSingleCmds | |||
) |
Definition at line 513 of file unit_tests_ned_one.cpp.
TEST_F | ( | TtlManagerTestSuite | , |
testSingleControlCmds | |||
) |
Definition at line 535 of file unit_tests_ned_one.cpp.
TEST_F | ( | TtlManagerTestSuite | , |
testSyncCmds | |||
) |
Definition at line 585 of file unit_tests_ned_one.cpp.
TEST_F | ( | TtlManagerTestSuite | , |
testSyncControlCmds | |||
) |
Definition at line 614 of file unit_tests_ned_one.cpp.
TEST_F | ( | TtlManagerTestSuite | , |
testSyncControlCmdsReturnHome | |||
) |
Definition at line 653 of file unit_tests_ned_one.cpp.