Global Positioning System

Global Positioning System

The Global Positioning System (GPS), originally Navstar GPS, is a space-based radionavigation system owned by the United States government and operated by the United States Air Force. It is a global navigation satellite system that provides geolocation and time information to a GPS receiver anywhere on or near the Earth where there is an unobstructed line of sight to four or more GPS satellites. Wikipedia

Global Positioning System :: Simulator

In Terminal 1

user@workstation:~$ dronekit-sitl copter --home=20.654754,-103.391519,30,0

In Terminal 2

user@workstation:~$ mavproxy.py --master=tcp:127.0.0.1:5760 --out=udpout:127.0.0.1:14550 --out=udpout:127.0.0.1:14560
user@workstation:~$ ./QGroundControl.AppImage 
Settings location "/home/user/.config/QGroundControl.org/QGroundControl.ini" Is writable?: true
Filter rules "qt.network.ssl.warning=false\n*Log.debug=false\n"
QGeoPositionInfoSourceGeoclueMaster(0x2b55c50)
MAVLinkLogManagerLog: MAVLink logs directory: "/home/user/Documents/QGroundControl/Logs"
Map Cache in: "/home/user/.cache/QGCMapCache300" / "qgcMapCache.db"
No Internet Access
Temp log "/tmp/FlightData041610.mavlink"
libpng warning: iCCP: known incorrect sRGB profile

In Terminal 3

user@workstation:~$ sudo service gpsd stop
user@workstation:~$ cd Bitol/VirtualDroneSolution/Features/GlobalPositioningSystem/
user@workstation:~/Bitol/VirtualDroneSolution/Features/GlobalPositioningSystem$ gpsfake -c 1 FakeGpsData.log

In Terminal 4

user@workstation:~/Bitol/VirtualDroneSolution/Features/GlobalPositioningSystem$ python FollowMe.py --connect "127.0.0.1:14551"

Last updated