Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update abs encoder diagnostic #102

Merged
merged 2 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
cmake_minimum_required(VERSION 3.12)

project(icub_firmware_shared
VERSION 1.41.0)
VERSION 1.41.1)

find_package(YCM 0.11.0 REQUIRED)

Expand Down
6 changes: 3 additions & 3 deletions eth/embobj/plus/comm-v2/icub/EoError.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ const eoerror_valuestring_t eoerror_valuestrings_MC[] =
{eoerror_value_MC_motor_can_generic, "MC: 2FOC CAN generic error. Errors happened in the CAN bus between the EMS and the 2FOC board.", "In par16 = ID of joint."},
{eoerror_value_MC_motor_can_no_answer, "MC: 2FOC CAN no answer. The communication between the EMS and the 2FOC board has been lost for more than 50 ms.", "In par16 = ID of joint."},
{eoerror_value_MC_axis_torque_sens, "MC: torque sensor timeout. The joint is in a compliant interaction mode or torque control mode, and data from torque sensor have been unavailable for more than 100 ms.", "In par16 = ID of joint."},
{eoerror_value_MC_aea_abs_enc_invalid, "MC: AEA encoder invalid data. Hardware problem in the magnetic position sensor of the joint caused invalid position readings.", "In par16 = AEA port (msb) and ID of joint (lsb)."},
{eoerror_value_MC_aea_abs_enc_timeout, "MC: AEA encoder timeout. No answer from the magnetic position sensor of the joint (cable broken?).", "In par16 = AEA port (msb) and ID of joint (lsb)."},
{eoerror_value_MC_aea_abs_enc_spikes, "MC: AEA encoder has spikes. There is impulsive noise in the measures of the magnetic position sensor of the joint.", "In par16 = AEA port (msb) and ID of joint (lsb)."},
{eoerror_value_MC_abs_enc_invalid, "MC: Absolute encoder invalid data. Hardware problem in the magnetic position sensor of the joint caused invalid position readings.", "In par16 = abs encoder port (msb) and ID of joint (lsb)."},
{eoerror_value_MC_abs_enc_timeout, "MC: Absolute encoder timeout. No answer from the magnetic position sensor of the joint (cable broken?).", "In par16 = abs encoder port (msb) and ID of joint (lsb)."},
{eoerror_value_MC_abs_enc_spikes, "MC: Absolute encoder has spikes. There is impulsive noise in the measures of the magnetic position sensor of the joint.", "In par16 = abs encoder port (msb) and ID of joint (lsb)."},
{eoerror_value_MC_motor_qencoder_dirty, "MC: 2FOC quadrature encoder dirty. The number of thicks in a complete revolution of the motor was lower than expected, the optical disks need to be cleaned.", "In par64 0xFF is the mask of raw encoder value. par16 = ID of joint."},
{eoerror_value_MC_motor_qencoder_index, "MC: 2FOC quadrature encoder index broken. The reference special thick was not detected during a complete revolution of the motor, please check motor encoder cables.", "In par64 0xFF is the mask of raw encoder value. par16 = ID of joint."},
{eoerror_value_MC_motor_qencoder_phase, "MC: 2FOC quadrature encoder phase broken. The motor encoder is not counting even if the motor is moving, please check motor encoder cables.", "In par64 0xFF is the mask of raw encoder value. par16 = ID of joint."},
Expand Down
6 changes: 3 additions & 3 deletions eth/embobj/plus/comm-v2/icub/EoError.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ typedef enum
eoerror_value_MC_motor_can_generic = 5,
eoerror_value_MC_motor_can_no_answer = 6,
eoerror_value_MC_axis_torque_sens = 7,
eoerror_value_MC_aea_abs_enc_invalid = 8,
eoerror_value_MC_aea_abs_enc_timeout = 9,
eoerror_value_MC_aea_abs_enc_spikes = 10,
eoerror_value_MC_abs_enc_invalid = 8,
eoerror_value_MC_abs_enc_timeout = 9,
eoerror_value_MC_abs_enc_spikes = 10,

eoerror_value_MC_motor_qencoder_dirty = 11,
eoerror_value_MC_motor_qencoder_index = 12,
Expand Down
Loading