Skip to content
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

Implement Twist -> steering angle + throttle conversion #27

Open
tckarenchiang opened this issue Jun 3, 2021 · 1 comment
Open

Implement Twist -> steering angle + throttle conversion #27

tckarenchiang opened this issue Jun 3, 2021 · 1 comment
Labels
enhancement New feature or request lua Issues requiring changes/fixes to the Lua code

Comments

@tckarenchiang
Copy link
Contributor

tckarenchiang commented Jun 3, 2021

The steering of a vehicle is not that smooth. Now it's through setting a variable called self.rotatedTime which is the only way we know (so far) how farmsim maps the steering input to the rotation of the wheels.

This seems like a classical "intelligent vehicles" or "autonomous vehicles" situation, where the geometry_msgs/Twist output of a local planner (or controller) needs to be converted to a (steering_angle, throttle) tuple. Many Intelligent Vehicles labs have had the same problem, and they've implemented ROS nodes which perform the conversion.

The Autoware.Auto and Autoware.AI projects also have done this, as part of their vehicle interface .

As this seems like a generic problem with converting linear + angular velocity to throttle+steering_angle, it might be worthwhile to take a look at the mentioned projects and see how they've done this.

@gavanderhoorn gavanderhoorn added enhancement New feature or request lua Issues requiring changes/fixes to the Lua code labels Jun 3, 2021
@tckarenchiang
Copy link
Contributor Author

  • ros_control based implementation for "twist to Ackermann steering"
  1. ackermann_steering_controller.
    Related issue: ros-controls/ros_controllers#412.

  2. another ros_control controller for "steer-and-turn" (which should be the same/similar): steer_drive_controller.

  3. A special ackermann_msgs package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lua Issues requiring changes/fixes to the Lua code
Development

No branches or pull requests

2 participants