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

joint angle: position and range #8

Open
fjp opened this issue Mar 9, 2020 · 0 comments
Open

joint angle: position and range #8

fjp opened this issue Mar 9, 2020 · 0 comments

Comments

@fjp
Copy link

fjp commented Mar 9, 2020

Hi, I have some more questions, regarding the joint angles (position):

  1. The documentation states that diff_drive_controller works with wheel joints through a velocity interface. However, in your my_robot_hw_interface.h you read a position (angle) from the continuous wheel joints.
pos[0] += ang_distance_left;

Do you know why we need to provide the angle of the joints? I am asking because the mentioned documentation for diff_drive_controller is unclear to me. It seems to use only a velocity interface and no position interface.

  1. What's the range that you put the angles in? [0, 2*pi[, [-pi, pi[ or something else? I am asking for a range because I found out that the angles get wrapped according to this github issue on ros_controllers. This means it shouldn't really matter if the angle increases but I would like to avoid an overflow, which might cause trouble?

Thanks for your time and help

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

No branches or pull requests

1 participant