-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Add AckermannDriveStamped control to steering library #1563
base: master
Are you sure you want to change the base?
Conversation
The tests on HEAD are currently broken, but I wanted to get this PR out in order to track progress. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why WIP?
Please fix the failing jobs, start with the pre-commit and clang job.
The tests on the master branch are green.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please use the new convert_steering_angle_to_angular_velocity
method in the existing parts of the code, where the same formula is used?
* \brief Calculates angular velocity from the desired steering angle | ||
* \param v_bx Desired linear velocity of the robot in x_b-axis direction | ||
* \param phi Desired steering angle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* \brief Calculates angular velocity from the desired steering angle | |
* \param v_bx Desired linear velocity of the robot in x_b-axis direction | |
* \param phi Desired steering angle | |
* \brief Calculates angular velocity from the steering angle and linear velocity | |
* \param v_bx Linear velocity of the robot in x_b-axis direction | |
* \param phi Steering angle |
can be used for odometry as well
This PR adds the option to use steering angle and linear velocity for controllers that inherit from the steering library.
To send us a pull request, please:
colcon test
andpre-commit run
(requires you to install pre-commit bypip3 install pre-commit
)