Skip to content

Fix driveonheading driving forward only#29

Merged
andriimaistruk merged 2 commits intohumblefrom
fix_drive_on_heading_driving_forward_only
May 15, 2023
Merged

Fix driveonheading driving forward only#29
andriimaistruk merged 2 commits intohumblefrom
fix_drive_on_heading_driving_forward_only

Conversation

@andriimaistruk
Copy link

removed sign inverting for negative distance

@andriimaistruk andriimaistruk merged commit f99ff22 into humble May 15, 2023
cmd_vel->linear.y = 0.0;
cmd_vel->angular.z = 0.0;
cmd_vel->linear.x = command_x_ < 0 ? -command_speed_ : command_speed_;
cmd_vel->linear.x = command_x_;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved too fast, upstream is: cmd_vel->linear.x = command_speed_;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants