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

Understanding rbcar response in Gazebo #12

Open
prasgane opened this issue Jan 3, 2019 · 0 comments
Open

Understanding rbcar response in Gazebo #12

prasgane opened this issue Jan 3, 2019 · 0 comments

Comments

@prasgane
Copy link

prasgane commented Jan 3, 2019

I am analysing the response to rbcar in Gazebo by giving an open loop velocity commands and comparing it with the actual velocity of rbcar using the /gazebo/model_states topic and I am noticing a a steady state error in the said response (refer to plot below). I naturally tried to change the gains in rbcar.yaml but that doesn't seem change the response that much.
command_response
My questions are:

  1. In rbcar_robot_control, the velocity for each wheel is computed using ref_speed_joint = 2.0 * v_ref_ / RBCAR_WHEEL_DIAMETER. Could you help me understand the math behind this?
  2. Could you also help me understand how you arrived at the gains in rbcar_control.yaml? Can I interpret these gains as an abstraction of how the actual rbcar hardware converts the velocity commands to AC motor voltages and so on?
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