Server

From PaparazziUAV
Revision as of 15:41, 7 July 2014 by Kevin (talk | contribs)
Jump to navigation Jump to search

The server (in sw/ground_segment/tmtc/) is an agent that logs, distributes, and preprocesses messages for the GCS and other agents as described in the system overview.

See DevGuide/Server_GCS_com for the communication between the server and the GCS.

Options

 -b Bus	Default is 127.255.255.255:2010
 -hostname <hostname> Set the address for the http server
 -http Send http: URLs (default is file:)
 -kml Enable KML file updating
 -kml_no_http KML without web server (local files only)
 -kml_port Port for KML files (default is 8889)
 -n Disable log
 -no_md5_check Disable safety matching of live and current configurations
 -replay_old_log Enable aircraft registering on PPRZ_MODE messages
 -help  Display this list of options
 --help  Display this list of options

Export KML to Google Map

It is useful to export Flight information to Google Map. you can show basic flight information in google map cross platform through IP network.

You will need a webserver runing in the GCS computer, for python simpleHTTPServer:

cd ~/paparazzi/

python -m simpleHTTPServer


Then in Paparazzi center, excute a session. Pass some parameters to server agent:

server -kml -kmlport 8000 -hostname 192.168.0.100(replace with you paparazzi center IP address)


It's done. Now in any computer in the network, open browser to access http://192.168.0.100:8000/var/airframes/(you AC name)/ you will see FollowMe.kml file, open it with Google earth. you will be able to see the real time flight information.