GLOBAL KNOWLEDGE ARK

Robotics & Mechatronics · Coordinates, trajectories and physical execution

Handle a rejected motion and re-establish position assumptions

A rejected or interrupted motion leaves a requested pose and an actual pose that can differ. Recovery begins with the actual supported state, not with the destination that failed.

All numerical tables, scenarios and records are original constructed teaching data unless a specific external dataset is named. No physical experiment is claimed. A worked simulation model is distinguished from an executed simulator.

Lesson preparation and course links

Use the local explanations and supplied units, diagrams, tables and examples; advanced chapters build on the named local chapters. External links are point-of-need depth, not a requirement to finish an entire map.

Back to the Robotics chapter

After reading, you can

Respond to an out-of-range or interrupted motion without treating the requested pose as the reached pose.

01

Read the command and state separately

Fictional axis range 0–80 mm. Receiver and device times are aligned in this supplied log.

Read the command and state separately
Time / sRequest/eventObserved state
0.00Accepted destination 40 mmx=20 mm; reference valid
0.50New destination 90 mm rejectedx=30 mm; old task response retained
0.80Normal stop requestedx=36 mm; moving
1.00Observed stopx=37 mm; reference valid
1.20Device resetReference unknown; displayed 37 mm is cached
02

Rejection does not mean arrival or automatic clipping

The 90 mm request is 10 mm beyond the declared range. Its rejection establishes no movement to 90 mm. The device’s documented policy determines whether the previous command continues, holds or changes state. In this supplied record, the earlier task continues until the explicit stop.

Retain the rejection reason, previous accepted command, applied output and observed response. Replacing the rejected request with 80 mm without recording a new accepted command creates a fictional history.

03

Reference loss changes the recovery question

At 1.00 s, the valid observed position is 37 mm. After reset, a cached 37 mm display is not a current referenced observation. Reconnection and new data age must be checked, and reference continuity either established or restored using the configured procedure.

A recovery motion can only be planned from supported current state within the actual module and task constraints. This lesson uses supplied records rather than prescribing a physical homing or escape procedure. General path planning remains with the AI owner.

04

Build a bounded recovery record

A separate supplied recovery case has the reference re-established before a new task.

Build a bounded recovery record
StepRetained evidence
Fault/rejection preservedOriginal 90 mm request and reason retained
Current state establishedReference R4; independently checked x=35 mm
New task chosenDestination 40 mm=0.040 m; explicit new identity
Prediction+5 mm displacement under R4
RetestObserved 39.9 mm; task-specific endpoint rule applied
05

Do not erase the interrupted task

The original task is interrupted or failed according to its requirement, even if recovery later succeeds. Report both outcomes. Recovery demonstrates a new controlled transition and restored task evidence; it does not retroactively make the rejected command valid.

Compute recovery from the established state

A new supported state of 35 mm and destination 40 mm imply+5 mm travel. Using the old requested 90 mm would imply−50 mm and the wrong direction. Using the cached 37 mm would imply+3 mm without supported reference.

The supplied final 39.9 mm gives−0.1 mm endpoint difference from 40 mm. That is an indication comparison for the new R4 test, not proof of absolute accuracy or qualification of the interrupted path.

Try the reasoning

  1. Does rejecting 90 mm prove the axis stopped immediately?

    Show the answer and reasoning

    No. Its documented rejection/previous-command policy and observed response determine that.

  2. Why is a cached 37 mm after reset insufficient?

    Show the answer and reasoning

    Its reference and current acquisition validity are unknown.

  3. What new command corresponds to 40 mm at a metre interface?

    Show the answer and reasoning

    0.040 m, with explicit new task identity and supported state.

  4. Should recovery overwrite the failed original task result?

    Show the answer and reasoning

    No. Preserve the failure and the separate recovered-task evidence.

What to carry forward

Recover from observed, referenced state and an explicit new task. Preserve rejection and interruption as part of the record.

References

Sources supporting this lesson’s explanations and examples.

  1. ros-controls project2 sources
    1. ros2_control: Lifecycle of a Hardware Componentros2_control contributorsOfficial software documentationKilted, displayed October 2026 documentationcontrol.ros.orgRead source
    2. ros2_controllers: Joint Trajectory Controller, Trajectory Representationros2_control contributorsOfficial software documentationKilted, displayed October 2026 documentationcontrol.ros.orgRead source
  2. Robotic Manipulation, Chapter 2: Let's get you a robotRuss TedrakeUniversity course working notes2020–2026 working notesmanipulation.mit.eduRead source