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

fix steering angle #2

Open
wants to merge 1 commit into
base: hunter_2_ros
Choose a base branch
from

Conversation

borongyuan
Copy link

根据我们的理解和测试,下发的转向角应为steering_angle,而非angular_vel。在hunter_2_ros中,steering_angle由angular_vel经ConvertCentralAngleToInner转换得到,但未被使用。而steering_angle的范围应大于HunterMotionCmd::max_steering_angle当前值,故暂时注释掉。范围判断已在hunter_2_ros中做过,且底盘驱动中应该也有。
修改后可以看到转向角命令和反馈不再出现偏差。

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.

1 participant