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

As a robotics developer, I want to load my robot controller configurations from a YAML file so I can tune my robot parameters #25

Closed
4 tasks
piraka9011 opened this issue Dec 16, 2019 · 0 comments
Assignees

Comments

@piraka9011
Copy link
Contributor

Design Requirements

ROS2 does not have a parameter server per se, however, a node based parameter server can be implemented.
An initial implementation of the parameter server can be found in controller_parameter_server/include/controller_parameter_server/parameter_server.hpp

There is no interface though for the expected format of the YAML file.

  • Parse and sanitize the YAML file to make sure the proper keys are passed in the config file:
<robot_name>:
  <controller_name>:
    type: <controller_type_name>
    joint: <joint_name>
    pid: <parameters_dict>
  • Create a yamlcpp struct to parse the yaml file.
  • Use rcpputils/filesystem_helper for file handling.
  • Namespace the parameters in the yaml file.
destogl pushed a commit to StoglRobotics-forks/ros2_control that referenced this issue Aug 11, 2022
* JTrajectoryController now publishes JTControlerState msgs at state_publish_rate

* Fix dependencies, add tests, style code.
state_publisher: Added above 0 check, removed temporary variable.
changed JTrajControllerStateMsg to ControllerStateMsg
switch state_publish_rate parameter type to double
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

2 participants