Four wheels omnidirectional drive#
#include "navground/core/kinematics.h"
Four Omni-differential wheels (e.g., a Robomaster)
Warning
We assume that the distance between front and back wheel centers is the same as the lateral distance.
Public Functions
Constructs a new instance.
- Parameters:
max_speed – [in] The maximal wheel speed
wheel_axis – [in] The wheel axis (i.e., the distance between the wheels)
Gets the wheel axis.
- Returns:
The axis.
Sets the wheel axis.
- Parameters:
value – [in] A positive value
Returns the degrees of freedom.
- Returns:
3
-
- Parameters:
speeds – [in] The wheel speeds in the order {front left, rear left, rear right, rear left}
- Returns:
The corresponding twist
See WheeledKinematics::wheel_speeds.
- Parameters:
twist – [in] The twist
- Returns:
The corresponding wheel speeds in the order {front left, rear left, rear right, rear left}
See WheeledKinematics::feasible_wheel_speeds.
- Parameters:
twist – [in] The twist
- Returns:
The corresponding wheel speeds in the order {front left, rear left, rear right, rear left}