Commit Graph

25 Commits

Author SHA1 Message Date
Freek van Tienen 6a50e314bb [ardrone2] Implemented sonar 2014-02-28 00:01:35 +01:00
Felix Ruess 08e17ee731 [conf] add simple x-mode quad jsbsim models 2013-12-20 15:02:28 +01:00
Felix Ruess e96095d930 [conf] ardrone2_raw: only one IMU section 2013-12-18 18:06:31 +01:00
Felix Ruess bc7510d963 [conf] ardrone2_raw: remove wrong NPS_JSBSIM_MODEL
We are still missing a JSBSim model for a quadrotor in X configuration (like the ARDrone2).
The "simple_quad" model is for + configuration.

Now you will get an error starting the NPS sim
(JSBSim failed to open the configuration file: foo/paparazzi/conf/simulator/jsbsim/aircraft/ardrone2_raw.xml).
But IMHO that is better than NPS just not working for no obvious reason.
2013-11-23 23:17:24 +01:00
Felix Ruess affc62ee41 [conf] remove unneeded USE_BAROMETER for rotorcraft airframes 2013-11-18 23:34:42 +01:00
Felix Ruess cd712fc907 [modules] move sending of IMU_MAG_CURRENT_CALIBRATION to a module 2013-11-06 18:57:14 +01:00
Felix Ruess 91fd8ef88c [conf][nps] same simple_quad JSBSim model for most quadrotors 2013-10-22 19:44:21 +02:00
Felix Ruess cd86acde78 [conf] remove obsolete RC_CLIMB_COEF and RC_CLIMB_DEAD_BAND 2013-10-15 17:18:40 +02:00
Felix Ruess f9a3c2f18d Merge pull request #525 baro_abi
Baro event handling using ABI interface

Main benefits:

less crappy handler functions in main.c files
possibility to use multiple sources of sensors (integrated to the board or not)
the filters don't need to know who is sending the raw values (not completely true with the old alt_float filter yet)

the pressure are now standardized in Pascal and the standard atmosphere model is used

The INS_BARO_SENS is hence not needed anymore.
onboard baros are automatically available in fixedwing firmware as well (use same code as rotorcraft now)

disable onboard baro with <configure name="USE_BARO_BOARD" value="FALSE"/>
Some stuff to do before using: find the default conversion factor to convert ADC values to Pascal
(mostly older boards/baro, recent digital sensors can output pressure in Pascal already)

Also all baro_board implementations use the same BARO_BOARD_SENDER_ID,
since there can only be one baro_board at the same time and this provides a good default for INS_BARO_ID.
So if you want to use an onboard baro the INS_BARO_ID is already ok (also if you have additional baro modules).
To use a baro module for INS: <define name="INS_BARO_ID" value="BARO_x_SENDER_ID"/>

closes #525
2013-10-11 15:25:14 +02:00
Felix Ruess 50a8ae9634 [airframes] ardrone_raw: RC_CLIMB defines still needed here
Can only be removed once pull request #539 is merged
2013-09-28 20:17:48 +02:00
Christophe De Wagter 9add5d1c31 [Ardrone][Raw] More general airframe 2013-09-26 09:05:01 +02:00
Felix Ruess aa4bb5c283 [conf] remove all INS_BARO_SENS
this is not needed anymore.
Instead every baro sensor has to output pressure in Pascal.
2013-09-06 17:26:10 +02:00
Felix Ruess 280f97111e [conf] nps: replace INITIAL_CONDITITONS by JSBSIM_INIT 2013-09-05 15:36:28 +02:00
Christophe De Wagter d1a872fe45 [ArDrone] Able to takeoff without joystick 2013-09-02 13:54:17 +02:00
Christophe De Wagter e6ae39d9d9 [Ardrone] Takeoff without joystick is possible 2013-08-30 19:47:30 +02:00
Christophe De Wagter 029264bdc2 [Ardrone] Full Auto2 Flight in RAW Mode 2013-08-28 18:06:07 +02:00
Christophe De Wagter 5ebb391b03 [ardrone] INS 200Hz progation, extended ins with baro alt0 estimation based on GPS 2013-08-28 16:06:11 +02:00
Christophe De Wagter 17fa58d265 [ardrone] Default IMU calibration in header file 2013-08-27 17:17:42 +02:00
fvantienen b895ded49c [ardrone2] Magneto axis correction and calibration 2013-08-27 12:43:34 +02:00
Christophe De Wagter 9a864d8927 [ardrone] Fixed Baro 2013-08-21 17:54:52 +02:00
Dino Hensen 8e84c8ecbd [ardrone] Barometer bmp180 implementation added.
Also fixed a bug in the navdata driver, where cropping was done twice.
Baro still needs to be tested, because sometimes unexpected things happen.
2013-08-21 17:54:26 +02:00
Felix Ruess b96785b36f [conf] update some airframe examples to GUIDANCE_V_ADAPT changes 2013-08-13 14:22:30 +02:00
Dino Hensen 87abc4475d Renamed wifi to udp and started using PprzTransport again 2013-06-09 23:27:10 +02:00
Dino Hensen e42e2ddf24 Enabled usage of magnetometer again and changed back SP_MAX_R to 90 deg/s 2013-06-08 01:13:38 +02:00
Felix Ruess e1df2e5d71 [ardrone2] merge remaining ardrone2 support
closes #396
2013-06-03 15:08:50 +02:00