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
444 B
C
29 lines
444 B
C
2 years ago
|
#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 uint8_t SET_WHEEL_SPEED_CMDID = 0x20;
|
||
|
|
||
|
void
|
||
|
set_wheel_speed (
|
||
|
Client session,
|
||
|
int16_t w1,
|
||
|
int16_t w2,
|
||
|
int16_t w3,
|
||
|
int16_t w4 );
|
||
|
|
||
|
static const uint8_t CHASSIS_SPEED_MODE_CMDID = 0x21;
|
||
|
|
||
|
void
|
||
|
chassis_speed_mode (
|
||
|
Client session,
|
||
|
float x,
|
||
|
float y,
|
||
|
float z );
|