Struct Commands

Struct Documentation

struct Commands

CLI commands.

Public Static Attributes

static constexpr const char *kReadAnalogGpio = {"a"}

Reads an analog GPIO.

static constexpr const char *kReadDigitalGpio = {"d"}

Reads a digital GPIO.

static constexpr const char *kReadEncoders = {"e"}

Reads the encoders tick count values.

static constexpr const char *kResetEncoders = {"r"}

Sets the encoders ticks count to zero.

static constexpr const char *kSetMotorsSpeed = {"m"}

Sets the motors speed [ticks/s].

static constexpr const char *kSetMotorsPwm = {"o"}

Sets the motors PWM value [duty range: 0-255].

static constexpr const char *kSetPidsTuningGains = {"u"}

Sets the PIDs tuning gains [format: “kp:kd:ki:ko”].

static constexpr const char *kGetIsImuConnected = {"h"}

Gets whether there is an IMU sensor connected.

static constexpr const char *kReadEncodersAndImu = {"i"}

Reads the encoders tick count values and IMU sensor data.