-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# NMEA Position Publisher | ||
|
||
This example shows how one can use the blueye.sdk to forward position messages from the drone as NMEA 0183 messages, eg. to use in a chart plotter on a boat, etc. | ||
|
||
The script performs the following steps: | ||
|
||
1. **UDP Configuration**: Sets up the UDP IP and port for sending NMEA messages. If your receiver expects to receive data on a different port you need to change it here | ||
2. **Drone Connection**: Establishes a connection to the Blueye drone. | ||
3. **Callback Registration**: Registers a callback function to handle position estimate telemetry messages. | ||
4. **Main Loop**: Keeps the script running to continuously receive and send messages. | ||
|
||
{{code_from_file("../examples/nmea_publisher.py", "python")}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters