Skip to content

Ros2 Humble - parameter reconfigure for hoverboard_driver_node not working #32

Description

@tomy983

Ros2 Humble, hoverboard driver for all the rest is working fine (thank you!!)

I wanted to try to configure the PID controller, so I enabled it as written in the readme. Obviously the motors started spinning like crazy :-)
I wanted to reconfigure it, but could not. I also could not figure out where and how to set (and pass to the driver) a YAML file for the PID. I've tried in the hoverboard_controllers.yaml like so:

PID:
  ros__parameters:
    f: 10.2
    p: 1.0
    i: 0.1
    d: 1.0
    i_clamp_min: -10.0
    i_clamp_max: 10.0
    antiwindup: false

and also replacing the "PID:" with "hoverboard_driver_node:" but I am still unsuccessful.

The error I am getting when selecting hoverboard_driver_node in rqt parameters reconfigure:
[rqt_reconfigure]: Failed to retrieve parameters from node: asynchronous service call failed: the target node may not be spinning

and also this:

$ ros2 param list /hoverboard_driver_node 
Exception while calling service of node '/hoverboard_driver_node': None

Also I wanted to ask how can I create/pass a config or yaml file for the PID...

Thank you

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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