Skip to content

Commit

Permalink
Publish z component instead of x
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Jan 14, 2025
1 parent 4cc14b3 commit e5cac6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ign_ros2_control_demos/examples/example_diff_drive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ int main(int argc, char * argv[])
command.linear.y = 0.0;
command.linear.z = 0.0;

command.angular.x = 0.1;
command.angular.x = 0.0;
command.angular.y = 0.0;
command.angular.z = 0.0;
command.angular.z = 0.1;

while (1) {
publisher->publish(command);
Expand Down

0 comments on commit e5cac6e

Please sign in to comment.