Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions hardware_interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ add_library(
hardware_interface
SHARED
src/actuator_hardware.cpp
src/joint_command_handle.cpp
src/joint_state_handle.cpp
src/operation_mode_handle.cpp
src/robot_hardware.cpp
src/sensor_hardware.cpp
Expand Down

This file was deleted.

This file was deleted.

34 changes: 0 additions & 34 deletions hardware_interface/include/hardware_interface/robot_hardware.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@

#include "control_msgs/msg/dynamic_joint_state.hpp"
#include "hardware_interface/actuator_handle.hpp"
#include "hardware_interface/joint_command_handle.hpp"
#include "hardware_interface/joint_handle.hpp"
#include "hardware_interface/joint_state_handle.hpp"
#include "hardware_interface/operation_mode_handle.hpp"
#include "hardware_interface/robot_hardware_interface.hpp"
#include "hardware_interface/types/hardware_interface_return_values.hpp"
Expand All @@ -41,48 +39,18 @@ class RobotHardware : public RobotHardwareInterface
virtual
~RobotHardware() = default;

HARDWARE_INTERFACE_PUBLIC
return_type
register_joint_state_handle(const JointStateHandle * joint_handle);

HARDWARE_INTERFACE_PUBLIC
return_type
register_joint_command_handle(JointCommandHandle * joint_handle);

HARDWARE_INTERFACE_PUBLIC
return_type
register_operation_mode_handle(OperationModeHandle * operation_mode);

HARDWARE_INTERFACE_PUBLIC
return_type
get_joint_state_handle(const std::string & name, const JointStateHandle ** joint_state_handle);

HARDWARE_INTERFACE_PUBLIC
return_type
get_joint_command_handle(const std::string & name, JointCommandHandle ** joint_command_handle);

HARDWARE_INTERFACE_PUBLIC
return_type
get_operation_mode_handle(const std::string & name, OperationModeHandle ** operation_mode_handle);

/*
HARDWARE_INTERFACE_PUBLIC
std::vector<std::string>
get_registered_joint_names();
*/

HARDWARE_INTERFACE_PUBLIC
std::vector<std::string>
get_registered_write_op_names();

HARDWARE_INTERFACE_PUBLIC
std::vector<const JointStateHandle *>
get_registered_joint_state_handles();

HARDWARE_INTERFACE_PUBLIC
std::vector<JointCommandHandle *>
get_registered_joint_command_handles();

HARDWARE_INTERFACE_PUBLIC
std::vector<OperationModeHandle *>
get_registered_operation_mode_handles();
Expand Down Expand Up @@ -133,8 +101,6 @@ class RobotHardware : public RobotHardwareInterface
std::vector<JointHandle> get_registered_joints();

private:
std::vector<const JointStateHandle *> registered_joint_state_handles_;
std::vector<JointCommandHandle *> registered_joint_command_handles_;
std::vector<OperationModeHandle *> registered_operation_mode_handles_;

control_msgs::msg::DynamicJointState registered_actuators_;
Expand Down
65 changes: 0 additions & 65 deletions hardware_interface/src/joint_command_handle.cpp

This file was deleted.

79 changes: 0 additions & 79 deletions hardware_interface/src/joint_state_handle.cpp

This file was deleted.

Loading