tue_robocup icon indicating copy to clipboard operation
tue_robocup copied to clipboard

Inspect not robust

Open MatthijsBurgh opened this issue 8 years ago • 2 comments
trafficstars

When a new nav goal is given during the navigate state of the inspect, the object is still fitted. Because the robot can be anywhere, the object can be fitted anywhere in the map.

MatthijsBurgh avatar Mar 13 '17 15:03 MatthijsBurgh

A possible cause:

  1. state_machine sends a navgoal A
  2. You give a navgoal B, which preempts A
  3. State_machine still continues to next state, which is Inspect.

If this really is what happens, there ate 2 potential problems:

  1. State_machine also continues to next state even when goal is preempted
  2. preempted goal is not communicated to state_machine

LoyVanBeek avatar Mar 13 '17 15:03 LoyVanBeek

Preemption of the executing a plan is not passed through to higher levels. https://github.com/tue-robotics/tue_robocup/blob/master/robot_smach_states/src/robot_smach_states/navigation/navigation.py#L260

MatthijsBurgh avatar Apr 09 '17 09:04 MatthijsBurgh