fix: set txconf.Identifier from tx_id before CANTransmit, enable motor task
- DM motor send functions now fill txconf.Identifier from tx_id before CANTransmit (MIT=tid, PosVel=tid+0x100, Velocity=tid+0x200, SetMode=tid) - Enable motor task with stack size 1024 1000Hz - Increase FDCAN1 StdFiltersNbr from 1 to 14 - Comment out INS temperature log, DM error handling and PID for testing - Remove test_robot_cmd.c
This commit is contained in:
@@ -32,12 +32,12 @@ void OSTaskInit()
|
||||
};
|
||||
insTaskHandle = osThreadNew(StartINSTASK, NULL, &insTask_attr);
|
||||
|
||||
// const osThreadAttr_t motorTask_attr = {
|
||||
// .name = "motortask",
|
||||
// .priority = osPriorityNormal,
|
||||
// .stack_size = 256,
|
||||
// };
|
||||
// motorTaskHandle = osThreadNew(StartMOTORTASK, NULL, &motorTask_attr);
|
||||
const osThreadAttr_t motorTask_attr = {
|
||||
.name = "motortask",
|
||||
.priority = osPriorityNormal,
|
||||
.stack_size = 1024,
|
||||
};
|
||||
motorTaskHandle = osThreadNew(StartMOTORTASK, NULL, &motorTask_attr);
|
||||
|
||||
const osThreadAttr_t daemonTask_attr = {
|
||||
.name = "daemontask",
|
||||
|
||||
Reference in New Issue
Block a user