File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ The most relevant arguments are the following:
8888
8989- To test another controller, simply define it using ` robot_controller ` argument:
9090 ```
91- ros2 launch ur_bringup ur_control.launch.py ur_type:=ur5e robot_ip:=yyy.yyy.yyy.yyy robot_controller:=scaled_joint_trajectory_controller use_fake_hardware:=true
91+ ros2 launch ur_bringup ur_control.launch.py ur_type:=ur5e robot_ip:=yyy.yyy.yyy.yyy robot_controller:=scaled_joint_trajectory_controller use_fake_hardware:=true launch_rviz:=true
9292 ```
9393 And send the command using demo node:
9494 ```
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ controller_interface::return_type ScaledJointTrajectoryController::update()
9393 resize_joint_trajectory_point (state_current, joint_num);
9494
9595 // current state update
96- for (auto index = 0ul ; index < joint_num; ++index)
96+ for (size_t index = 0 ; index < joint_num; ++index)
9797 {
9898 state_current.positions [index] = joint_position_state_interface_[index].get ().get_value ();
9999 state_current.velocities [index] = joint_velocity_state_interface_[index].get ().get_value ();
@@ -131,7 +131,7 @@ controller_interface::return_type ScaledJointTrajectoryController::update()
131131 bool abort = false ;
132132 bool outside_goal_tolerance = false ;
133133 const bool before_last_point = end_segment_itr != (*traj_point_active_ptr_)->end ();
134- for (auto index = 0ul ; index < joint_num; ++index)
134+ for (size_t index = 0 ; index < joint_num; ++index)
135135 {
136136 // set values for next hardware write()
137137 joint_position_command_interface_[index].get ().set_value (state_desired.positions [index]);
You can’t perform that action at this time.
0 commit comments