Robotics & Mechatronics · Coordinates, trajectories and physical execution
Coordinate axis clocks and trajectory phases
Two individually correct axis profiles can make the wrong path if they run at different phases. Compare application clocks and measured traces against one shared task time.
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 chapterAfter reading, you can
Keep a given multi-axis motion coherent when devices sample or apply setpoints at different times.
Start from a supplied coordinated segment
The ideal given task is x(t)=
Suppose y begins 20 ms after x and follows the same speed. For t≥0.020 s, y=
View timing error as a path difference
The plot compares the intended diagonal with the delayed path. Before y starts, x moves alone. Later the path is parallel to the diagonal with a 0.20 mm coordinate difference. For this simple line, perpendicular distance is 0.20/√2≈0.141 mm.
The numbers assume ideal constant speed and exact delay. Actual acceleration and clock uncertainty require the measured curves. A tool’s task error can depend on geometry beyond this two-axis illustration.
Retain the events that establish phase
Constructed aligned-clock test record.
| Event | Axis x / ms | Axis y / ms |
|---|---|---|
| Task staged | −50 | −48 |
| Acceptance confirmed | −40 | −38 |
| Requested apply time | 0 | 0 |
| Observed motion start | 0 | 20 |
Separate staging from actual application
Both devices accepted the task before time zero, yet y started late. This points beyond simple readiness acceptance toward application timing or physical response. Compare applied-setpoint timestamps and observed motion starts to distinguish a delayed command from a slower axis response.
A supported common apply time, buffered profile and synchronised clocks can reduce command skew, but their actual implementation must be tested. If the devices cannot support the needed phase bound, restrict the task or use an appropriate existing interface. Do not assume shared time because two logs display similar numbers.
Retest the path, not just a clock report
After a correction, repeat the same segment and compare simultaneous state with clock uncertainty. Retain worst observed phase/path deviation, start/end transitions and fault behaviour if one axis misses a point. A synchronisation-service status is useful context, not a substitute for robot-task evidence.
Translate a permitted phase error into a conditional time bound
For this ideal segment, coordinate difference is speed×
This is an exact-model allocation, not a complete hardware specification. Calibration, following error, measurement uncertainty and start dynamics also consume the task margin.
Try the reasoning
At t=
0.10 s, what are x and delayed y? Show the answer and reasoning
x=
1.0 mm and y= 0.8 mm under the supplied ideal law. Why not shift the plot until both axes overlap and declare success?
Show the answer and reasoning
That can diagnose timing, but it removes the simultaneous physical path error the task cares about.
How distinguish delayed setpoint from slow physical response?
Show the answer and reasoning
Compare requested/apply timestamps with independent motion-start observations on a supported time basis.
At 20 mm/s, what coordinate difference follows from 5 ms skew?
Show the answer and reasoning
0.10 mm under the ideal constant-speed relation.
What to carry forward
Coordinated motion needs a shared application phase and simultaneous task evidence. Correct individual endpoints do not establish a correct path.
References
Sources supporting this lesson’s explanations and examples.
ros-controls project3 sources
- ros2_control: Different update rates for Hardware Componentsros2_control contributorsOfficial software documentationKilted, displayed October 2026 documentation
- ros2_control: Controller Managerros2_control contributorsOfficial software documentationKilted, displayed October 2026 documentation
- ros2_controllers: Joint Trajectory Controller, Trajectory Representationros2_control contributorsOfficial software documentationKilted, displayed October 2026 documentation