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

Unexpected movement when failed to initialize #7

Open
bsaund opened this issue Dec 31, 2020 · 0 comments
Open

Unexpected movement when failed to initialize #7

bsaund opened this issue Dec 31, 2020 · 0 comments

Comments

@bsaund
Copy link
Contributor

bsaund commented Dec 31, 2020

In a specific failure on startup victor will move to [0,0,0,0,0,0,0] instead of the planned position. This could lead to crashes.

If the joint_state_publisher on realtime crashes, the arm_robots move_group node will fail to "fetch the current robot state". The robot then moves to [0,0,0,0,0,0,0].

I am not sure why, but suspect the robot thinks it is at [0,0,0,0,0,0,0], and thus follow_joint_trajectory thinks it is commanding a small move.

Output from victor.launch after joint_state_publisher has died.

You can start planning now!

[ INFO][/victor/move_group]: Didn't received robot state (joint angles) with recent timestamp within 1 seconds.
Check clock synchronization if your are running ROS across multiple machines!
[ WARN][/victor/move_group]: Failed to fetch current robot state.
[ INFO][/victor/move_group]: Planning request received for MoveGroup action. Forwarding to planning pipeline.
[ INFO][/victor/move_group]: Planner configuration 'right_arm' will use planner 'geometric::RRTConnect'. Additional configuration parameters will be set when the planner is constructed.
[ INFO][/victor/move_group]: right_arm/right_arm: Starting planning with 1 states already in datastructure
[ INFO][/victor/move_group]: right_arm/right_arm: Created 5 states (2 start + 3 goal)
[ INFO][/victor/move_group]: Solution found in 0.020732 seconds
[ INFO][/victor/move_group]: SimpleSetup: Path simplification took 0.049736 seconds and changed from 4 to 2 states

The recommended fix is to detect this error, throw an exception, and shut down the node(s)

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

No branches or pull requests

1 participant