Skip to content

ros2 control support #279

Description

@solonovamax

Feature

Currently, using a ublox gps is done through a dedicated node.

I think it would be useful to be able to have the option of using it with ros2 control via a hardware interface.

hardware interfaces offer a couple of advantages:

  • they are services
    • they have a well defined lifecycle (configure, activate, deactivate, cleanup, shutdown)
    • they can be restarted at runtime without needing to re-launch the entire node
  • enforces separation between reading the data & publishing the data
  • source of truth is the URDF rather than relying on YAML configuration
  • adjust the publish rate in controller manager
  • makes it easier to simulate in gazebo

Describe alternatives you've considered

Not adding a hardware interface.

Additional context

Currently, ros2 control offers a basic GPS Sensor Broadcaster.
However, I believe it would be better to implement your own controller in order to publish all the custom message types.

I am also willing to help contribute these changes if this is something you're interested in

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