Inside of the TelemData application(apps/TelemData/telemData.py), There are functions that return the lat and long of the vehicle. We would like to have some simulated data return from these function when the vehicle is not actually connected to OBC. The simulated lat and lon should be realistic values(able to map) but also recognizable that they are simulated. Maybe some location not at uvic and not at the competition would be appropriate.
Input:
None
Output:
If connected to vehicle:
the latitude and longitude of the the vehicle
If not connected to vehicle:
Some simulated latitude and longitude
Notes
We use the dronekit library and the pymavlink library to get the actual coordinates from the pixhawk on the vehicle. This portion of the program should already be completed.
Inside of the
TelemData
application(apps/TelemData/telemData.py
), There are functions that return the lat and long of the vehicle. We would like to have some simulated data return from these function when the vehicle is not actually connected to OBC. The simulated lat and lon should be realistic values(able to map) but also recognizable that they are simulated. Maybe some location not at uvic and not at the competition would be appropriate.Input:
Output:
Notes
We use the
dronekit
library and the pymavlink library to get the actual coordinates from the pixhawk on the vehicle. This portion of the program should already be completed.