-
Notifications
You must be signed in to change notification settings - Fork 196
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
MGI: Failed to fetch current robot state #587
Comments
@akhilkp777 If you install moveit from apt, you can try the following fix Execute following command
Add "use_sim_time": True, on line after
So final code will be
Save it and try execute the code If you setup moveit from source code, i think this fix is already done, if not you can add this into same file. |
@qboticslabs @akhilkp777 GitHub question, translated into English: @qboticslabs @akhilkp777 I have encountered the same issue, and I have set "use_sim_time": True in both the /opt/ros/humble/lib/python3.10/site-packages/moveit_configs_utils/launches.py file and the moveit.launch.py file. In Rviz, MoveIt can plan and execute, but when using a C++ program, it reports the following error. Could you please provide assistance? Thank you. ros2 launch moveit2_tutorials move_group_interface_tutorial.launch.py |
const moveit::core::JointModelGroup* joint_model_group = log: [move_group_interface_tutorial-1] [INFO] [1680775155.255027553] [moveit_ros.current_state_monitor]: Didn't receive robot state (joint angles) with recent timestamp within 1.000000 seconds. Requested time 1680775154.254896, but latest received state has time 454.390000. |
some additional information added as follows: /gazebo: ros2 param get /gazebo use_sim_time |
I have already resolved this problem, thank you everyone. by adding {"use_sim_time": True} from launch import LaunchDescription def generate_launch_description():
|
@akhilkp777 does |
I've encountered the same issue without simulation in Gazebo involved. Setting |
I tried to add constraint motion in ros2 moveit cpp code, but got the above error. some github solutions are suggested to remap the joint_state topic. But ut doesn't work for me. Anyone know how to solve this issue
The text was updated successfully, but these errors were encountered: