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

mavparam script can't dump parameters to file #559

Closed
srees opened this issue Jun 14, 2016 · 1 comment
Closed

mavparam script can't dump parameters to file #559

srees opened this issue Jun 14, 2016 · 1 comment

Comments

@srees
Copy link

srees commented Jun 14, 2016

Hello,

I've got a running PX4 SITL setup based off the latest masters, and wanted to get a list of parameters available to be set via ros.

I run:
rosrun mavros mavparam dump -f params.txt
I get:

Traceback (most recent call last):
  File "/home/sitl/catkin_ws/src/mavros/mavros/scripts/mavparam", line 103, in <module>
    main()
  File "/home/sitl/catkin_ws/src/mavros/mavros/scripts/mavparam", line 99, in main
    args.func(args)
  File "/home/sitl/catkin_ws/src/mavros/mavros/scripts/mavparam", line 44, in do_dump
    param_received, param_list = param_get_all(args.force)
  File "/home/sitl/catkin_ws/src/mavros/mavros/src/mavros/param.py", line 159, in param_get_all
    raise IOError(str(ex))
IOError: service [/mavros/param/pull] responded with an error: Character [_] is not valid as the first character in Graph Resource Name [_HASH_CHECK].  Valid characters are a-z, A-Z, / and in some cases ~.
@vooon
Copy link
Member

vooon commented Jun 14, 2016

Looks like there problem with rosparam and _HASH_CHECK param from PX4.

I see two possible ways to solve:

  1. Do not use rosparam (more work to do, usage change)
  2. Filter out `_HASH_CHECK'.

Ping @LorenzMeier, @mhkabir.

@vooon vooon closed this as completed in 0f1307e Jun 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants