Skip to content

Commit c85ffa8

Browse files
authored
Add new controller_step RTDE field (UniversalRobots#514)
RTDE gets a new field called "controller_step", see https://docs.universal-robots.com/tutorials/communication-protocol-tutorials/rtde-guide.html This PR adds it to the list of possible data fields.
1 parent 627cf20 commit c85ffa8

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/rtde/data_package.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@ std::unordered_map<std::string, DataPackage::_rtde_type_variant> DataPackage::g_
454454
{ "time_scale_source", int32_t() },
455455
{ "target_gravity", vector3d_t() },
456456
{ "target_base_acceleration", vector6d_t() },
457+
{ "controller_step", uint64_t() },
457458

458459
// NOT IN OFFICIAL DOCS
459460
{ "tool_digital_output_mask", uint8_t() },

tests/resources/exhaustive_rtde_output_recipe.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,3 +402,4 @@ script_control_line
402402
time_scale_source
403403
target_gravity
404404
target_base_acceleration
405+
controller_step

0 commit comments

Comments
 (0)