freeRTOS操作系统机器人实现
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.

79 lines
2.6 KiB

/******************************************************************************
(C), 2018-2099, Radkil
******************************************************************************
: msp_TI5MOTOR.c
: 稿
: radkil
: 202668
:
: TI5电机
:
1. : 202668
: radkil
:
******************************************************************************/
/*----------------------------------------------*
* *
*----------------------------------------------*/
/*----------------------------------------------*
* *
*----------------------------------------------*/
/*----------------------------------------------*
* *
*----------------------------------------------*/
/*----------------------------------------------*
* *
*----------------------------------------------*/
/*----------------------------------------------*
* *
*----------------------------------------------*/
/*----------------------------------------------*
* *
*----------------------------------------------*/
/*----------------------------------------------*
* *
*----------------------------------------------*/
//void Motor_ClearFault(uint8_t id, FDCANHandler *Ti5_Motor_Controller,
// int WaitTime)
//{
// OneByteCommand(id, 0x0B, Ti5_Motor_Controller, WaitTime);
//}
//
//void Motor_GetFaultState(uint8_t id, FDCANHandler *Ti5_Motor_Controller,
//int WaitTime)
//{
// OneByteCommand(id, 0x0A, Ti5_Motor_Controller, WaitTime); // set motor stop mode
//
//}
//
//void GetCSPByCommand(uint8_t id, FDCANHandler *Ti5_Motor_Controller,
// int WaitTime)
//{
// OneByteCommand(id, 0x41, Ti5_Motor_Controller, WaitTime);
//}
//
//void Motor_SetVelocityModeAndTargetVelocity(uint8_t id,
// int32_t targetSpeed,
// FDCANHandler *Ti5_Motor_Controller,
// int WaitTime)
//{
// FiveByteCommand(id, 0x1d, targetSpeed, Ti5_Motor_Controller, WaitTime); //Motor_SetVelocityModeAndTargetVelocity
//}
void TI5MOTOR_Init(void)
{
return;
}