-
Notifications
You must be signed in to change notification settings - Fork 532
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
moveit_py -> use_sim_time: True fetching Error rclcpp::exceptions::InvalidParameterValueException #2940
Comments
This issue is being labeled as stale because it has been open 45 days with no activity. It will be automatically closed after another 45 days without follow-ups. |
Facing the same issue |
this helped me config_dict = moveit_config.to_dict()
config_dict.update({'use_sim_time':True}) |
@ron007d |
alright. i used to directly run the script inside console. I don't understand why |
Ah! Found one better solution. When i'm using the launch file, i notice the argument passed to the script: The logic writes either So i compare two files, and found the one major difference is that the node_name at the root, the one from launch file is moveit_config.update({"use_sim_time": True})
file = create_params_file_from_dict(moveit_config, "/**")
arm = MoveItPy(
node_name=node_name,
launch_params_filepaths=[file],
) And it worked, just simple as that. but idk why node name causes this to happen... |
Description
Using panda_moveit_config from moveit resources,
added another launch file to launch the robot in gazebo.
Overview of your issue here.
Your environment
Steps to reproduce
git clone https://github.com/moveit/moveit_resources
ALSO add this gazebo ros controller added urdf in the config directory as
panda.gazebo.urdf
https://justpaste.it/fc7xe
ros2 launch moveit_resources_panda_moveit_config demo_gazebo.launch.py
Expected behaviour
Robot moving to extented position
Actual behaviour
python code error, kernel crash in jupyter notebook
Console output
The text was updated successfully, but these errors were encountered: