rail_user_queue_manager

Summary

rail_user_queue_manager
Version:

0.0.2

Description:

Server Side ROS Queue Node

Maintainers:
  • David Kent <davidkent AT wpi DOT edu>
  • Russell Toris <rctoris AT wpi DOT edu>
Licenses:
  • BSD
Urls:
Authors:
  • Peter Mitrano <pdmitrano AT wpi DOT edu>
BuildDepends:
BuildtoolDepends:
 
BuildExportDepends:
 
ExecDepends:

Types

Message types

rail_user_queue_manager/UserStatus
Field:
  • user_id (uint32) –
  • wait_time (duration) –
  • time_left (duration) –
uint32 user_id      # The user ID
duration wait_time  # Estimated wait time
duration time_left  # Time left for active user
rail_user_queue_manager/Queue
Field:
UserStatus[] queue  # The main queue information

Service types

rail_user_queue_manager/UpdateQueue
Field (Request):
 
  • user_id (uint32) –
  • enqueue (bool) –
  • study_time (uint32) –
uint32 user_id     # The user ID
bool enqueue       # True to enqueue, false to dequeue
uint32 study_time  # Time in seconds this user gets if enqueing
---