feat: add two-floor elevator simulation

This commit is contained in:
2026-10-31 10:35:11 +07:00
commit 6e82c6b35c
181 changed files with 86892 additions and 0 deletions

32
msg/SimElevatorState.msg Normal file
View File

@@ -0,0 +1,32 @@
std_msgs/Header header
uint8 IDLE=0
uint8 CALLING=1
uint8 OPENING=2
uint8 WAITING_BOARDING=3
uint8 CLOSING=4
uint8 MOVING=5
uint8 WAITING_EXIT=6
uint8 FAULT=7
uint8 EMERGENCY_STOP=8
uint8 DOOR_CLOSED=0
uint8 DOOR_OPENING=1
uint8 DOOR_OPEN=2
uint8 DOOR_CLOSING=3
uint8 DOOR_BLOCKED=4
string elevator_id
string car_id
string current_floor
string pickup_floor
string target_floor
string request_id
string reserved_by
string fault_code
uint8 state
uint8 door_state
bool level_aligned
bool busy
bool reserved
bool robot_boarded