Skip to content

Commit aeb172d

Browse files
Felix ExnerRobertWilbrandt
authored andcommitted
Change initializer list ordering to match declaration in header file
This was producing a -Wreorder when compiling
1 parent 4683e53 commit aeb172d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ur_robot_driver/src/hardware_interface.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ static const std::bitset<11>
5858
HardwareInterface::HardwareInterface()
5959
: joint_position_command_({ 0, 0, 0, 0, 0, 0 })
6060
, joint_velocity_command_({ 0, 0, 0, 0, 0, 0 })
61-
, cartesian_velocity_command_({ 0, 0, 0, 0, 0, 0 })
62-
, cartesian_pose_command_({ 0, 0, 0, 0, 0, 0 })
6361
, joint_positions_{ { 0, 0, 0, 0, 0, 0 } }
6462
, joint_velocities_{ { 0, 0, 0, 0, 0, 0 } }
6563
, joint_efforts_{ { 0, 0, 0, 0, 0, 0 } }
64+
, cartesian_velocity_command_({ 0, 0, 0, 0, 0, 0 })
65+
, cartesian_pose_command_({ 0, 0, 0, 0, 0, 0 })
6666
, standard_analog_input_{ { 0, 0 } }
6767
, standard_analog_output_{ { 0, 0 } }
6868
, joint_names_(6)

0 commit comments

Comments
 (0)