Skip to content

[MSA] Add additional parameters to Controller definitions - #1408

Merged
mikeferguson merged 5 commits into
moveit:mainfrom
DLu:fix1392
Jun 30, 2022
Merged

mikeferguson merged 5 commits into
moveit:mainfrom
DLu:fix1392

Conversation

@DLu

@DLu DLu commented Jun 29, 2022

Copy link
Copy Markdown
Contributor

Description

Fixes #1392

Maybe a bit overengineered, but adds the action_ns and default parameters to moveit_controllers.yaml.

Also, changed one thing about outputting the joints. I couldn't find any code to support reading a single value for the joint parameter so I removed that. I also deleted the gains parameter output.

Checklist

  • Required by CI: Code is auto formatted using clang-format
  • Extend the tutorials / documentation reference
  • Document API changes relevant to the user in the MIGRATION.md notes
  • Create tests, which fail without this PR reference
  • Include a screenshot if changing a GUI
  • While waiting for someone to review your request, please help review another open pull request to support the maintainers

@DLu
DLu requested a review from mikeferguson June 29, 2022 17:24
@DLu

DLu commented Jun 29, 2022

Copy link
Copy Markdown
Contributor Author

(Alternative to #1404 )

@codecov

codecov Bot commented Jun 29, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #1408 (1f0e161) into main (da9b731) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1408      +/-   ##
==========================================
+ Coverage   61.56%   61.57%   +0.01%     
==========================================
  Files         274      274              
  Lines       24982    24982              
==========================================
+ Hits        15378    15379       +1     
+ Misses       9604     9603       -1     
Impacted Files Coverage Δ
...dl_kinematics_plugin/src/kdl_kinematics_plugin.cpp 75.36% <0.00%> (-1.07%) ⬇️
...nning_scene_monitor/src/planning_scene_monitor.cpp 45.73% <0.00%> (+0.44%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update da9b731...1f0e161. Read the comment docs.

@mikeferguson

Copy link
Copy Markdown
Contributor

Tested locally: one issue I found (but I can't quite see how it is happening):

  • Change the action_ns and save your files (in my case, I edit: gripper_cmd -> command)
  • If I restart MSA and reload my config, and export again (without looking at the controller config), the value is preserved (I am sure of this, because I can delete the moveit_controllers.yaml while MSA is running and hit "generate package" and I get my custom action_ns) - so the "loading from yaml" looks to work right.
  • HOWEVER, if I go back to "edit" the controller, it still shows the default gripper_cmd in the textbox

@DLu

DLu commented Jun 30, 2022

Copy link
Copy Markdown
Contributor Author

Good catch. The saved values of parameters_ should be loaded into the gui properly now.

@mikeferguson
mikeferguson merged commit 8ee767a into moveit:main Jun 30, 2022
@mikeferguson

Copy link
Copy Markdown
Contributor

Works great now - thanks!

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

Successfully merging this pull request may close these issues.

[MSA] Add configuration for action_ns in moveit controllers

2 participants