Bug #21
Servo mode does not show up correctly in telemetry
Start date:
12/18/2018
Due date:
% Done:
0%
Estimated time:
1.00 h
Description
v2.81 - MSB of servo mode is always 0 in telemetry (correct in subcommutated telemetry)
History
#1 Updated by Igor Lazbin almost 6 years ago
in telemetry_task.c:
servo_status = ((LIN_ENABLE & 0x01) | ((LIN_MODE & 0x3) << 1)
|((SCAN_DIRECTION & 0x01) << 3) | (((KGRAVITY != 0) & 0x01) << 4) | (unit_id << 7)) << 24;
used to be:
servo_status = ((LIN_ENABLE & 0x01) | ((LIN_MODE & 0x11) << 1)
|((SCAN_DIRECTION & 0x01) << 3) | (((KGRAVITY != 0) & 0x01) << 4) | (unit_id << 7)) << 24;
#2 Updated by Igor Lazbin almost 6 years ago
- Status changed from New to In Progress
#3 Updated by Igor Lazbin almost 6 years ago
- Status changed from In Progress to Resolved