-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrevolute.rs
More file actions
22 lines (19 loc) · 1.06 KB
/
revolute.rs
File metadata and controls
22 lines (19 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! Revolute joint module
//!
//! Revolute joints rotate about any child component about their specified axis of rotation.
//! Only the rotation velocity can be controlled. Velocity joints' velocity change respects the
//! specified acceleration limit.
/// The current rotation of the revolute joint, float value, radians.
pub const REG_REVOLUTE_POSITION: u32 = 0;
/// The current rotational velocity of the revolute joint, float value, radians per second.
pub const REG_REVOLUTE_VELOCITY: u32 = 1;
/// The minimum rotational velocity of the revolute joint, float value.
pub const REG_REVOLUTE_VELOCITY_MIN: u32 = 2;
/// The maximum rotational velocity of the revolute joint, float value.
pub const REG_REVOLUTE_VELOCITY_MAX: u32 = 3;
/// The commanded rotational velocity of the revolute joint, float value, radians per second.
pub const REG_REVOLUTE_VELOCITY_CMD: u32 = 4;
/// The lower bound on acceleration, float value.
pub const REG_REVOLUTE_ACCELERATION_LOWER: u32 = 2;
/// The upper bound on acceleration, float value.
pub const REG_REVOLUTE_ACCELERATION_UPPER: u32 = 3;