You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
446 B
C
29 lines
446 B
C
#pragma once
|
|
|
|
#include "message.h"
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
static const uint8_t CHASSIS_HOST = 3;
|
|
static const uint8_t CHASSIS_INDEX = 6;
|
|
|
|
static const uint16_t SET_WHEEL_SPEED_CMD = 0x203F;
|
|
|
|
void
|
|
set_wheel_speed (
|
|
Client session,
|
|
int16_t w1,
|
|
int16_t w2,
|
|
int16_t w3,
|
|
int16_t w4 );
|
|
|
|
static const uint16_t CHASSIS_SPEED_MODE_CMD = 0x213F;
|
|
|
|
void
|
|
chassis_speed_mode (
|
|
Client session,
|
|
float x,
|
|
float y,
|
|
float z );
|