Skip to main content

BaseEventInfo

Message type: fourier_msgs/msg/BaseEventInfo

Description

Describes one navigation event, including its type, message, source component, and timestamp.

Fields

FieldTypeDescription
event_typestringEvent type identifier.
messagestringHuman-readable event description.
sourcestringComponent that emitted the event.
timestampint64Event timestamp.

Event Types

ConstantEvent TypeDescriptionSourceAnnouncement Frequency
SystemEventMapLoopClosuremap_loop_closureA map loop closure was detected.slamOnce
SystemEventObstacleBlockedobstacle_blockedThe path is blocked by an obstacle.collision_monitorOnce
SystemEventNearObstaclenear_obstacleA nearby obstacle was detected.collision_monitorEvery second
SystemEventNearObstacleWhenStationarynear_obstacle_when_stationaryA nearby obstacle was detected while the robot was stationary.collision_monitorEvery second
SystemEventOutOfMapout_of_mapThe robot left the map boundary or entered an unknown area.monitorEvery 5 seconds
SystemEventEnterForbiddenAreaenter_forbidden_areaThe robot entered a forbidden area.monitorEvery 5 seconds
SystemEventEnterDangerousAreaenter_dangerous_areaThe robot entered a speed-restricted area.monitorEvery 5 seconds
SystemEventLeaveForbiddenArealeave_forbidden_areaThe robot left a forbidden area.monitorOnce per transition
SystemEventLeaveDangerousArealeave_dangerous_areaThe robot left a speed-restricted area.monitorOnce per transition
SystemEventGoalInForbiddenAreagoal_in_forbidden_areaThe navigation goal is inside a forbidden area, so navigation is rejected.navigationOnce
SystemEventNavigationRecoveryStartednavigation_recovery_startedThe robot entered recovery mode.navigationOnce

Trigger Behavior

  • enter_forbidden_area and enter_dangerous_area are emitted every 5 seconds while the robot remains inside the corresponding area.
  • leave_forbidden_area and leave_dangerous_area are emitted once when the robot transitions from inside to outside the area.
  • Area entry and exit detection is active in both localization and mapping modes. Localization mode additionally requires odom_status_code == GOOD.
  • Event messages include the area ID, the speed limit for speed-restricted areas, and the robot position.
  • goal_in_forbidden_area is checked while validating a navigate_to_pose goal. Navigation fails immediately when the goal lies inside any forbidden-area polygon.
  • goal_in_forbidden_area validates the requested goal when navigation starts; enter_forbidden_area monitors the robot's current position while navigation is running.

goal_in_forbidden_area Trigger Path

Text
navigate_to_pose BT
-> GoalNotInForbiddenArea (tick)
-> map_manager: get_current_floor
-> map_manager: list_forbidden_areas
-> Goal is inside a forbidden area
-> EventProvider("navigation")
-> Humanoid_nav/component_events
-> events_node aggregation
-> /Humanoid_nav/events

If a map_manager service is unavailable or times out, the condition node conservatively returns SUCCESS and does not block navigation. The event is not published in that case.