1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! Robot Motion Commands
//!
//! This module provides traits and types for implementing robot motion commands. A *command*
//! is a general implementation of a motion algorithm, and might perform actions like:
//!
//! - Driving to a target position.
//! - Turning to face a direction .
//! - Following a curve or trajectory.
//! - Maintaining a constant velocity.
//!
//! Commands receive a robot's recorded position and motion state via [`TrackingContext`]
//! and produce an output (typically a set of voltages) that are then fed to motors until
//! the command has achieved its goal (whatever that may be).
use crateTrackingContext;
/// A robot motion command that produces control outputs and tracks completion.
/// The output of a [`Command`] update.