Skip to content

Commit

Permalink
Added MotionNotReady code for major alarm to differentiate from minor…
Browse files Browse the repository at this point in the history
… alarms
  • Loading branch information
jimmy-mcelwain committed Sep 4, 2024
1 parent ab69496 commit b6d1db7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/ErrorHandling.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ const char* const Ros_ErrorHandling_MotionNotReadyCode_ToString(MotionNotReadyCo
return motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_OTHER_TRAJ_MODE_ACTIVE_STR;
case MOTION_NOT_READY_NOT_CONT_CYCLE_MODE:
return motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_NOT_CONT_CYCLE_MODE_STR;
case MOTION_NOT_READY_MAJOR_ALARM:
return motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM_STR;

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM_STR' undeclared (first use in this function)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, galactic)

(Each undeclared identifier is reported only once

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, galactic)

for each function it appears in.)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM_STR' undeclared (first use in this function)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, humble)

(Each undeclared identifier is reported only once

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, humble)

for each function it appears in.)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM_STR' undeclared (first use in this function)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, foxy)

(Each undeclared identifier is reported only once

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, foxy)

for each function it appears in.)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM_STR' undeclared (first use in this function)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, galactic)

(Each undeclared identifier is reported only once

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, galactic)

for each function it appears in.)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM_STR' undeclared (first use in this function)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, humble)

(Each undeclared identifier is reported only once

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, humble)

for each function it appears in.)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM_STR' undeclared (first use in this function)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, foxy)

(Each undeclared identifier is reported only once

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, foxy)

for each function it appears in.)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM_STR' undeclared (first use in this function)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, humble)

(Each undeclared identifier is reported only once

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, humble)

for each function it appears in.)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM_STR' undeclared (first use in this function)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, foxy)

(Each undeclared identifier is reported only once

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, foxy)

for each function it appears in.)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM_STR' undeclared (first use in this function)

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, galactic)

(Each undeclared identifier is reported only once

Check failure on line 75 in src/ErrorHandling.c

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, galactic)

for each function it appears in.)
default:
return motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_UNSPECIFIED_STR;
}
Expand Down
1 change: 1 addition & 0 deletions src/ErrorHandling.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ typedef enum
MOTION_NOT_READY_OTHER_PROGRAM_RUNNING = motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_OTHER_PROGRAM_RUNNING,
MOTION_NOT_READY_OTHER_TRAJ_MODE_ACTIVE = motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_OTHER_TRAJ_MODE_ACTIVE,
MOTION_NOT_READY_NOT_CONT_CYCLE_MODE = motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_NOT_CONT_CYCLE_MODE,
MOTION_NOT_READY_MAJOR_ALARM = motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM,

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000u, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, humble)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (yrc1000, 20240710, foxy)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)

Check failure on line 35 in src/ErrorHandling.h

View workflow job for this annotation

GitHub Actions / msbuild (dx200, 20240710, galactic)

'motoros2_interfaces__msg__MotionReadyEnum__NOT_READY_MAJOR_ALARM' undeclared here (not in a function)
} MotionNotReadyCode;

typedef enum
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceResetError.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void Ros_ServiceResetError_Trigger(const void* request_msg, void* response_msg)
if (g_Ros_Controller.ioStatus[IO_ROBOTSTATUS_ALARM_MAJOR] != 0)
{
rosidl_runtime_c__String__assign(&response->message, "Major alarm active. Cannot be reset. Check teach pendant");
response->result_code.value = MOTION_NOT_READY_ALARM;
response->result_code.value = MOTION_NOT_READY_MAJOR_ALARM;
goto DONE;
}
else if ((g_Ros_Controller.ioStatus[IO_ROBOTSTATUS_ALARM_MINOR] != 0)
Expand Down

0 comments on commit b6d1db7

Please sign in to comment.