-
Notifications
You must be signed in to change notification settings - Fork 0
ROS Topics and Services
Jasmine Bae edited this page Feb 27, 2021
·
12 revisions
TODO: Change (or add) request response columns into ros service type.
topic (/ srv type) | description | request | response |
---|---|---|---|
isaacs_server/all_drones_available |
Provides all drones available | N/A | success: True, message: "Successfully sent all available drones to VR", drones_available: {"id": id, "name": name, "type": type, "topics": topics, "services": services} |
isaacs_server/upload_mission |
Uploads waypoints to the specified drone | drone_id, waypoints | "id", "success", "message" |
isaacs_server/set_speed |
Calls the set speed service | drone_id, "data": speed | "id", "success", "message" |
isaacs_server/control_drone |
Commands the drone to do something | "id": drone id, "control_task": "start_mission" or "pause_mission" or "resume_mission" or "land_drone" or "fly_home" | "id", "success", "message" |
isaacs_server/query_topics |
Gets available topics at the specified id | id: 0 generic, non 0 specific device | all_topics:[{"name", "type"}, ...], |
isaacs_server/register_drone |
Registers a new drone | "drone_name", "drone_type" | "success": True, "drone_id", "message": "Drone registered" |
isaacs_server/save_drone_topics 'isaacs_server/type_to_topic' |
Adds topics to a particular drone. This should be called by the drone's client | "publishes":[{"name": topic name, "type": topic type},...], "id": drone to add topics to | "success": valid drone id, "message" |
isaacs_server/shutdown_drone 'isaacs_server/type_to_topic' |
Shutdowns the drone | "id": id of the drone to shutdown, "publishes": all the topics it publishes so we can remove them. | "success", "message" |
isaacs_server/register_sensor |
Registers a sensor, providing an ID. Parent drone MUST be instantiated first | "sensor_name", "sensor_type", "parent_drone_name" | "success", "sensor_id", "message" |
isaacs_server/save_sensor_topics 'isaacs_server/type_to_topic' |
Adds topics to a particular sensor. This should be called by the sensor's client | "publishes":[{"name": topic name, "type": topic type},...], "id": sensor to add topics to | "success", "message" |
isaacs_server/shutdown_drone 'isaacs_server/type_to_topic' |
Shutdowns the drone | "id": id of the sensor to shutdown, "publishes": all the topics it publishes so we can remove them. | "success", "message" |