Skip to content

Commit

Permalink
Added missing RTDE data packages and fixed incorrect names
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-siffert-ocado committed Oct 3, 2024
1 parent 173f193 commit 07139fa
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions src/rtde/data_package.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ std::unordered_map<std::string, DataPackage::_rtde_type_variant> DataPackage::g_
{ "target_moment", vector6d_t() },
{ "actual_q", vector6d_t() },
{ "actual_qd", vector6d_t() },
{ "actual_qdd", vector6d_t() },
{ "actual_current", vector6d_t() },
{ "actual_moment", vector6d_t() },
{ "actual_current_window", vector6d_t() },
{ "joint_control_output", vector6d_t() },
{ "actual_TCP_pose", vector6d_t() },
{ "actual_TCP_speed", vector6d_t() },
Expand All @@ -57,6 +56,7 @@ std::unordered_map<std::string, DataPackage::_rtde_type_variant> DataPackage::g_
{ "robot_mode", int32_t() },
{ "joint_mode", vector6int32_t() },
{ "safety_mode", int32_t() },
{ "safety_status", int32_t() },
{ "actual_tool_accelerometer", vector3d_t() },
{ "speed_scaling", double() },
{ "target_speed_fraction", double() },
Expand Down Expand Up @@ -88,7 +88,7 @@ std::unordered_map<std::string, DataPackage::_rtde_type_variant> DataPackage::g_
{ "tool_output_voltage", int32_t() },
{ "tool_output_current", double() },
{ "tool_temperature", double() },
{ "tool_force_scalar", double() },
{ "tcp_force_scalar", double() },
{ "output_bit_registers0_to_31", uint32_t() },
{ "output_bit_registers32_to_63", uint32_t() },
{ "output_bit_register_0", bool() },
Expand Down Expand Up @@ -547,8 +547,18 @@ std::unordered_map<std::string, DataPackage::_rtde_type_variant> DataPackage::g_
{ "standard_digital_output", uint8_t() },
{ "configurable_digital_output_mask", uint8_t() },
{ "configurable_digital_output", uint8_t() },
{ "tool_digital_output_mask", uint8_t() },
{ "tool_output_mode", uint8_t() },
{ "tool_digital_output0_mode", uint8_t() },
{ "tool_digital_output1_mode", uint8_t() },
{ "tool_digital_output", uint8_t() },
{ "payload", double() },
{ "payload_cog", vector3d_t() },
{ "payload_inertia", vector6d_t() },
{ "script_control_line", uint32_t() },
{ "ft_raw_wrench", vector6d_t() },
{ "joint_position_deviation_ratio", double() },
{ "collision_detection_ratio", double() },
{ "time_scale_source", int32_t() },
{ "standard_analog_output_mask", uint8_t() },
{ "standard_analog_output_type", uint8_t() },
{ "standard_analog_output_0", double() },
Expand Down

0 comments on commit 07139fa

Please sign in to comment.