[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [6154] cleanup whitespaces
From: |
Felix Ruess |
Subject: |
[paparazzi-commits] [6154] cleanup whitespaces |
Date: |
Wed, 13 Oct 2010 19:53:04 +0000 |
Revision: 6154
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=6154
Author: flixr
Date: 2010-10-13 19:53:04 +0000 (Wed, 13 Oct 2010)
Log Message:
-----------
cleanup whitespaces
Modified Paths:
--------------
paparazzi3/trunk/sw/simulator/nps/nps_fdm.h
paparazzi3/trunk/sw/simulator/nps/nps_flightgear.c
Modified: paparazzi3/trunk/sw/simulator/nps/nps_fdm.h
===================================================================
--- paparazzi3/trunk/sw/simulator/nps/nps_fdm.h 2010-10-13 19:52:55 UTC (rev
6153)
+++ paparazzi3/trunk/sw/simulator/nps/nps_fdm.h 2010-10-13 19:53:04 UTC (rev
6154)
@@ -17,7 +17,7 @@
*/
struct NpsFdm {
-
+
double time;
bool_t on_ground;
@@ -35,7 +35,7 @@
struct EcefCoor_d ecef_ecef_accel;
/* velocity and acceleration wrt ecef frame expressed in body frame */
struct DoubleVect3 body_ecef_vel; /* aka UVW */
- struct DoubleVect3 body_ecef_accel;
+ struct DoubleVect3 body_ecef_accel;
/* velocity and acceleration wrt ecef frame expressed in ltp frame */
struct NedCoor_d ltp_ecef_vel;
struct NedCoor_d ltp_ecef_accel;
Modified: paparazzi3/trunk/sw/simulator/nps/nps_flightgear.c
===================================================================
--- paparazzi3/trunk/sw/simulator/nps/nps_flightgear.c 2010-10-13 19:52:55 UTC
(rev 6153)
+++ paparazzi3/trunk/sw/simulator/nps/nps_flightgear.c 2010-10-13 19:53:04 UTC
(rev 6154)
@@ -22,7 +22,7 @@
float phi; // roll (radians)
float theta; // pitch (radians)
float psi; // yaw or true heading (radians)
-
+
// Velocities
float vcas;
float climb_rate; // feet per second
@@ -63,18 +63,18 @@
int so_reuseaddr = 1;
struct protoent * pte = getprotobyname("UDP");
flightgear.socket = socket( PF_INET, SOCK_DGRAM, pte->p_proto);
- setsockopt(flightgear.socket, SOL_SOCKET, SO_REUSEADDR,
- &so_reuseaddr, sizeof(so_reuseaddr));
+ setsockopt(flightgear.socket, SOL_SOCKET, SO_REUSEADDR,
+ &so_reuseaddr, sizeof(so_reuseaddr));
flightgear.addr.sin_family = PF_INET;
flightgear.addr.sin_port = htons(port);
flightgear.addr.sin_addr.s_addr = inet_addr(host);
}
void nps_flightgear_send() {
-
+
struct FGNetGUI gui;
- gui.version = FG_NET_GUI_VERSION;
+ gui.version = FG_NET_GUI_VERSION;
gui.latitude = fdm.lla_pos.lat;
gui.longitude = fdm.lla_pos.lon;
@@ -82,11 +82,11 @@
// printf("%f %f %f\n", gui.latitude, gui.longitude, gui.altitude);
gui.agl = 1.111652;
-
+
gui.phi = fdm.ltp_to_body_eulers.phi;
gui.theta = fdm.ltp_to_body_eulers.theta;
gui.psi = fdm.ltp_to_body_eulers.psi;
-
+
gui.vcas = 0.;
gui.climb_rate = 0.;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [6154] cleanup whitespaces,
Felix Ruess <=