Skip to content

Understanding rbcar response in Gazebo #12

@prasgane

Description

@prasgane

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions