公司代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
840 B

/*
* bsp_steering_engine.h
*
* Created on: Jul 29, 2024
* Author: akeguo
*/
#ifndef INC_MSP_MSP_STEERING_ENGINE_H_
#define INC_MSP_MSP_STEERING_ENGINE_H_
#include <stdio.h>
#include <string.h>
#include "bsp_MB_host.h"
#include "stdio.h"
#include "BSP/bsp_UART.h"
#include "usart.h"
#include "gpio.h"
extern int32_t* Desulfurizer_Steering_Set_Speed;
extern int32_t* Desulfurizer_Steering_Angle;
extern int32_t* Desulfurizer_Steering_Current;
extern int32_t* Desulfurizer_Steering_Real_Angle;
void setSteeringRobotProtectionMode();
void read_steering_Angle();
void steering_set_angle();
//FSUS_STATUS FSUS_ReadData(uint8_t servo_id, uint8_t address, uint8_t *sendbytes, uint8_t *length);
void read_steering_current();
void decode_steering_angle(uint8_t *buffer, uint16_t length);
#endif /* INC_MSP_MSP_STEERING_ENGINE_H_ */