初定版本

Dependencies:   mbed Hobbyking_Cheetah FastPWM3

CAN/CAN_com.h

Committer:
qiudehua
Date:
2022-05-10
Revision:
55:d57335792cb7
Parent:
47:e1196a851f76

File content as of revision 55:d57335792cb7:

#ifndef CAN_COM_H
#define CAN_COM_H

#include "../structs.h"
#include "user_config.h"
#include "mbed.h"
#include "../math_ops.h"
#include "motor_config.h"

void pack_reply(CANMessage *msg, float p, float v, float t);
void unpack_cmd(CANMessage msg, ControllerStruct * controller);


#endif