Skip to content

accel_brake_map_calibrator does not want to calibrate some values #1910

Open
@VRichardJP

Description

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I'm convinced that this is not my fault but a bug.

Description

I have been trying to calibrate accel/brake of my vehicle.

After many painful attempts with a joystick controller (too sensitive), I have implemented a keyboard based controller, with which I am able to send fixed accel/brake command values (from -1.0 to 1.0). Event after 2 hours of calibration on a mostly straight circuit, the calibration map is far from being finished:

IMG_20220920_160519

In particular, I observed the calibrator tool "refuses" to map some specific values. In my case, the 0.3, -0.3, -0.5 and -0.6 rows are extremelly difficult to get data on (the cursor is almost always red). But it is also true for all the remaining blue/grey squares. On the other hands, all the pink squares were super easy to get, and would only require a few minutes for each (or even seconds for the 0.2 row).

How come some cells are nearly impossible to map, while some others are super easy? is there any parameter I should adjust? is it because of the default accel/brake map?

Unfortunatelly, I tested the calibration result in autonomous mode, and autoware is unable to accurately stop at goal position. I have tried to modify the brake_map.csv values by hand and got some improvement, but this is a less than desirable method. At least, it proved me my issue is a calibration issue.

Expected behavior

calibrator tool can map any actuation/speed value

Actual behavior

some actuation/speed values are nearly impossible to calibrate

Steps to reproduce

  1. Have my vehicle? (not a Lexus)

Versions

  • Ubunut 20.04
  • ROS2 galactic
  • main

Possible causes

No response

Additional context

No response

Metadata

Assignees

No one assigned

    Labels

    component:vehicleVehicle-specific implementations, drivers, packages. (auto-assigned)status:staleInactive or outdated issues. (auto-assigned)type:new-featureNew functionalities or additions, feature requests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions