![]() |
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Functions | |
void | nps_flightgear_init (const char *host, unsigned int port, unsigned int port_in, unsigned int time_offset) |
void | nps_flightgear_send (void) |
Send FlightGear GUI packet For visualization of airplane position and attitude only start fgfs with –native-gui=socket... option. | |
void | nps_flightgear_send_fdm (void) |
Send FlightGear FDM packet For visualization with moving surfaces (elevator, propeller etc). | |
|
extern |
Definition at line 52 of file nps_flightgear.c.
References flightgear, foo, nps_flightgear_receive(), th_fg_rx, and time.
Referenced by nps_flight_gear_loop().
Send FlightGear GUI packet For visualization of airplane position and attitude only start fgfs with –native-gui=socket... option.
This is the default option
Definition at line 179 of file nps_flightgear.c.
References LlaCoor_d::alt, fdm, FG_NET_GUI_VERSION, flightgear, foo, LlaCoor_d::lat, NpsFdm::lla_pos, LlaCoor_d::lon, NpsFdm::ltp_to_body_eulers, DoubleEulers::phi, DoubleEulers::psi, DoubleEulers::theta, NpsFdm::time, and FGNetGUI::version.
Referenced by nps_flight_gear_loop().
Send FlightGear FDM packet For visualization with moving surfaces (elevator, propeller etc).
start fgfs with –native-fdm=socket... option
Definition at line 115 of file nps_flightgear.c.
References NpsFdm::agl, LlaCoor_d::alt, NpsFdm::elevator, NpsFdm::eng_state, fdm, FG_NET_FDM_MAX_ENGINES, FG_NET_FDM_VERSION, NpsFdm::flap, flightgear, foo, htond(), htonf(), LlaCoor_d::lat, NpsFdm::left_aileron, NpsFdm::lla_pos, LlaCoor_d::lon, NpsFdm::ltp_to_body_eulers, NpsFdm::num_engines, DoubleEulers::phi, DoubleEulers::psi, NpsFdm::right_aileron, NpsFdm::rpm, NpsFdm::rudder, DoubleEulers::theta, and NpsFdm::time.
Referenced by nps_flight_gear_loop().