jaiarobotics / jaiabot

Jaiabot source code
Other
20 stars 2 forks source link

feature/add-web-endpoints-for-hub-status-and-bot-status #837

Closed michael-jaia closed 4 months ago

michael-jaia commented 4 months ago

Description

Add separate endpoints to get hub and bot statuses

Testing

  1. Launch the simulation
  2. Launch the server
  3. Ping the endpoint (localhost:40001/jaia/status-bots)
    1. You should see the statuses for the bots in sim
  4. Ping the endpoint (localhost:40001/jaia/status-hubs)
    1. You should see the status for the hub in sim

      Suggestions

      Open to suggestions regarding endpoint names and wording of the function comments