Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
jsbsim_hw.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright (C) 2009 Enac
4  *
5  * This file is part of paparazzi.
6  *
7  * paparazzi is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2, or (at your option)
10  * any later version.
11  *
12  * paparazzi is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with paparazzi; see the file COPYING. If not, write to
19  * the Free Software Foundation, 59 Temple Place - Suite 330,
20  * Boston, MA 02111-1307, USA.
21  *
22  */
23 
27 #ifndef JSBSIM_HW_H
28 #define JSBSIM_HW_H
29 
30 #include <inttypes.h>
31 #include "std.h"
32 #include "inter_mcu.h"
34 #include "subsystems/gps.h"
36 #include "generated/flight_plan.h"
37 #include "generated/airframe.h"
38 #include "generated/settings.h"
43 #include "subsystems/commands.h"
46 #include "sim_uart.h"
48 
49 
50 void sim_use_gps_pos(double lat, double lon, double alt, double course, double gspeed, double climb, double time);
51 void sim_update_sv(void);
52 
53 void set_ir(double roll, double pitch);
54 void provide_attitude_and_rates(float phi, float theta, float psi, float p, float q, float r);
55 
56 void update_bat(double bat);
57 
58 void parse_dl_ping(char* argv[]);
59 void parse_dl_acinfo(char* argv[]);
60 void parse_dl_setting(char* argv[]);
61 void parse_dl_get_setting(char* argv[]);
62 void parse_dl_block(char* argv[]);
63 void parse_dl_move_wp(char* argv[]);
64 
65 #endif
void parse_dl_move_wp(char *argv[])
void parse_dl_setting(char *argv[])
void set_ir(double roll, double pitch)
Definition: jsbsim_ir.c:18
AP ( AutoPilot ) process API.
Simulation of uart transmission on an Unix pipe.
void sim_use_gps_pos(double lat, double lon, double alt, double course, double gspeed, double climb, double time)
From airborne/autopilot/.
Definition: jsbsim_gps.c:19
Fixed wing horizontal control.
void update_bat(double bat)
Definition: jsbsim_hw.c:29
Vertical control for fixed wing vehicles.
Device independent GPS code (interface)
void parse_dl_block(char *argv[])
void parse_dl_get_setting(char *argv[])
Hardware independent code for commands handling.
void parse_dl_ping(char *argv[])
void sim_update_sv(void)
Space vehicle info simulation.
Definition: jsbsim_gps.c:47
void provide_attitude_and_rates(float phi, float theta, float psi, float p, float q, float r)
Definition: jsbsim_ahrs.c:20
void parse_dl_acinfo(char *argv[])
static float p[2][2]
float alt
in meters above WGS84 reference ellipsoid
Information relative to the other aircrafts.
Fixedwing autopilot modes.