Unverified Commit be220d3f authored by Dan Jones's avatar Dan Jones
Browse files

test: update example messages to match new schema

parent 7efb283a
{ {
"message_type": "VehicleMission",
"metadata": { "metadata": {
"source": "ae", "source": "ae",
"destination": "soar.po.ecosub.eco1", "destination": "soar.po.ecosub.eco1",
"delivery_type": "publish", "delivery_type": "publish",
"message_id": "test" "message_id": "test"
}, },
"operator_id": "po", "payload": {
"vehicle_id": "eco1", "message_type": "VehicleMission",
"coordinates": { "operator_id": "po",
"latitude": 59.234, "vehicle_id": "eco1",
"longitude": -10.432, "coordinates": {
"depth": 50, "latitude": 59.234,
"projection": 4326 "longitude": -10.432,
"depth": 50,
"projection": 4326
}
} }
} }
{ {
"message_type": "VehicleMission",
"metadata": { "metadata": {
"source": "ae", "source": "ae",
"destination": "soar.po.ecosub.eco1", "destination": "soar.po.ecosub.eco1",
"delivery_type": "publish", "delivery_type": "publish",
"message_id": "test" "message_id": "test"
}, },
"operator_id": "po", "payload": {
"vehicle_id": "eco1", "message_type": "VehicleMission",
"coordinates": { "operator_id": "po",
"latitude": 59.234, "vehicle_id": "eco1",
"longitude": -10.432, "coordinates": {
"depth": 50, "latitude": 59.234,
"projection": 4326 "longitude": -10.432,
}, "depth": 50,
"actions": [ "projection": 4326
{
"action_type": "GoToWaypoint",
"coordinates": {
"latitude": 59.234,
"longitude": -10.432,
"depth": 50,
"projection": 4326
}
}, },
{ "actions": [
"action_type": "DescendToAltitude", {
"coordinates": { "action_type": "GoToWaypoint",
"latitude": 59.234, "coordinates": {
"longitude": -10.432, "latitude": 59.234,
"altitude": 50, "longitude": -10.432,
"projection": 4326 "depth": 50,
"projection": 4326
}
},
{
"action_type": "DescendToAltitude",
"coordinates": {
"latitude": 59.234,
"longitude": -10.432,
"altitude": 50,
"projection": 4326
}
} }
} ]
] }
} }
{ {
"message_type": "VehicleStatus",
"metadata": { "metadata": {
"source": "ae", "source": "ae",
"destination": "soar.po.ecosub.eco1", "destination": "soar.po.ecosub.eco1",
"delivery_type": "publish", "delivery_type": "publish",
"message_id": "test" "message_id": "test"
}, },
"operator_id": "po", "payload": {
"vehicle_id": "eco1", "message_type": "VehicleStatus",
"coordinates": { "operator_id": "po",
"latitude": 57.234, "vehicle_id": "eco1",
"longitude": -8.432, "coordinates": {
"depth": 50, "latitude": 57.234,
"projection": 4326 "longitude": -8.432,
}, "depth": 50,
"battery_percentage": 64 "projection": 4326
} },
"battery_percentage": 64
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment