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.
robomaster-sdk/include/chassis.h

33 lines
500 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;
#define SET_WHEEL_SPEED_CMD 0x203F
void
set_wheel_speed (
union Request* req,
uint16_t seq,
bool ack,
int16_t w1,
int16_t w2,
int16_t w3,
int16_t w4 );
#define CHASSIS_SPEED_MODE_CMD 0x213F
void
chassis_speed_mode (
union Request* req,
uint16_t seq,
bool ack,
float x,
float y,
float z );