🚤 Autonomous boat to DAV network connector
This project lets the code controlling the n3m0 autonomous boat communicate with the DAV network.
Send this to initiate a new charging mission. It sends a need to the network. The connector will negotiate with bidders, and sign a contract with one of them. At this point the status
(see /status
route) should change from need_sent
to ready_to_charge
.
- The new mission id for the new charging mission.
- HTTP response code must be 200 or else the boat should try again in a few seconds
Check the status of a mission/need
need_sent
ready_to_charge
charging
charging_complete
Send this once the charger is ready to receive a boat for charging.
This will change the status from need_sent
to ready_to_charge
.
Send this once the boat has arrived at the charging location and is ready to be taken out of the water / plugged in. This will change the status from ready_to_charge
to charging
.
Send this once the charger has completed charging the boat.
This will change the status from charging
to charging_complete
.