Skip to content

Commit ba695c9

Browse files
committed
feat: Add GPIO controller state handling and rcu model for ffw
1 parent 69527f7 commit ba695c9

File tree

6 files changed

+1698
-5
lines changed

6 files changed

+1698
-5
lines changed

include/dynamixel_hardware_interface/dynamixel/dynamixel.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ namespace dynamixel_hardware_interface
4545
#define SYNC 0 ///< Synchronous communication.
4646
#define BULK 1 ///< Bulk communication.
4747

48+
/// @brief Maximum number of retries for write operations
49+
#define MAX_WRITE_RETRIES 10 ///< Maximum number of retries for write operations
50+
4851
/// @brief Error codes for Dynamixel operations.
4952
enum DxlError
5053
{

include/dynamixel_hardware_interface/dynamixel_hardware_interface.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ class DynamixelHardware : public
245245
std::vector<HandlerVarType> hdl_sensor_states_;
246246

247247
///// handler controller variable
248+
std::vector<HandlerVarType> hdl_gpio_controller_states_;
248249
std::vector<HandlerVarType> hdl_gpio_controller_commands_;
249250

250251
bool is_set_hdl_{false};

param/dxl_model/dynamixel.model

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ Number Name
4848
230 omy_end.model
4949
536 sensorxel_joy.model
5050
600 sensorxel_joy.model
51+
602 ffw_g10_rcu.model

0 commit comments

Comments
 (0)