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

Getting parsing error with moveit python api #2254

Closed
ZealousGinger opened this issue Jun 28, 2023 · 5 comments
Closed

Getting parsing error with moveit python api #2254

ZealousGinger opened this issue Jun 28, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@ZealousGinger
Copy link

ZealousGinger commented Jun 28, 2023

Description

I get this error when trying to use the moveit python api following this motion planning tutorial

RuntimeError: failed to initialize rcl: Couldn't parse params file: '--params-file Failed to parse params file path from command line arguments. Check that --params-file command line argument is specified.'. Error: Error opening YAML file, at ./src/parser.c:270, at ./src/rcl/arguments.c:406
[ros2run]: Process exited with failure 1

Your environment

ROS Distro: Humble
OS Version: Ubuntu 22.04
Moveit2: 
Source:Main
RMW:cyclone

I am unsure why i get this paring error, even when i followed the tutorial.
I am new to moveit2 and would greatly appreciate any help!

@ZealousGinger ZealousGinger added the bug Something isn't working label Jun 28, 2023
@JafarAbdi
Copy link
Contributor

I think it was introduced by #2223, do you mind testing with that commit reverted? I'll take a look later today

@ZealousGinger
Copy link
Author

ZealousGinger commented Jun 28, 2023

I think it was introduced by #2223, do you mind testing with that commit reverted? I'll take a look later today

Thank you ! I haven't done reverting committing before but i will try it

@ZealousGinger
Copy link
Author

ZealousGinger commented Jun 30, 2023

I think it was introduced by #2223, do you mind testing with that commit reverted? I'll take a look later today

Hey @JafarAbdi , i tried with the reverted code, but its still giving the same error. I also tried using the launch_params_filepath parameter, and still give error. May I know if there is advice for this, thank you !

@ZealousGinger
Copy link
Author

I managed to fix this problem by using the MoveItConfigsBuilder but now i get another error saying

[ERROR] [1688372176.747794913] [moveit.ros_planning_interface.moveit_cpp]: Failed to load any planning pipelines.
[FATAL] [1688372176.747824181] [moveit.ros_planning_interface.moveit_cpp]: Failed to load planning pipelines from parameter server

similar to another issue in
#2014

@RemiFabre
Copy link

I managed to fix this problem by using the MoveItConfigsBuilder but now i get another error saying

[ERROR] [1688372176.747794913] [moveit.ros_planning_interface.moveit_cpp]: Failed to load any planning pipelines.
[FATAL] [1688372176.747824181] [moveit.ros_planning_interface.moveit_cpp]: Failed to load planning pipelines from parameter server

similar to another issue in #2014

Did you fix this issue? I'm having the exact same message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants