Skip to content

Commit

Permalink
#448 Corrected motor test variances
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed Jul 30, 2019
1 parent 3603b76 commit 996b1fd
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/modules/src/stabilizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -533,9 +533,14 @@ PARAM_ADD(PARAM_UINT8, controller, &controllerType)
PARAM_GROUP_STOP(stabilizer)

LOG_GROUP_START(health)
LOG_ADD(LOG_FLOAT, motorVarX, &accVarX)
LOG_ADD(LOG_FLOAT, motorVarY, &accVarY)
LOG_ADD(LOG_FLOAT, motorVarZ, &accVarZ)
LOG_ADD(LOG_FLOAT, motorVarXM1, &accVarX[0])
LOG_ADD(LOG_FLOAT, motorVarYM1, &accVarY[0])
LOG_ADD(LOG_FLOAT, motorVarXM2, &accVarX[1])
LOG_ADD(LOG_FLOAT, motorVarYM2, &accVarY[1])
LOG_ADD(LOG_FLOAT, motorVarXM3, &accVarX[2])
LOG_ADD(LOG_FLOAT, motorVarYM3, &accVarY[2])
LOG_ADD(LOG_FLOAT, motorVarXM4, &accVarX[3])
LOG_ADD(LOG_FLOAT, motorVarYM4, &accVarY[3])
LOG_ADD(LOG_UINT8, motorPass, &motorPass)
LOG_GROUP_STOP(health)

Expand Down

0 comments on commit 996b1fd

Please sign in to comment.