feat: add two-floor elevator simulation
This commit is contained in:
14
srv/DoorCommand.srv
Normal file
14
srv/DoorCommand.srv
Normal file
@@ -0,0 +1,14 @@
|
||||
uint8 OPEN=0
|
||||
uint8 CLOSE=1
|
||||
uint8 HOLD_OPEN=2
|
||||
uint8 RELEASE_HOLD=3
|
||||
|
||||
string elevator_id
|
||||
string car_id
|
||||
uint8 command
|
||||
float32 lease_seconds
|
||||
string request_id
|
||||
---
|
||||
bool accepted
|
||||
uint8 door_state
|
||||
string message
|
||||
Reference in New Issue
Block a user