Commit Graph

10218 Commits

Author SHA1 Message Date
Felix Ruess 54c14aef3b [tests] fix test_baro 2013-09-06 16:14:39 +02:00
Felix Ruess 5e4f494806 [baro] some ms5611 cleanup
- move ms5611 baro board wrappers to boards dir
- no defaults devices for baro_board_ms5611_x wrappers
- rename MS5611_SLAVE_DEV to MS5611_SLAVE_IDX
2013-09-05 22:01:28 +02:00
Felix Ruess 1e50aacf20 [rotorcraft] add nav_move_waypoint_lla function
and use it in MOVE_WP in nps and datalink
2013-09-05 19:17:15 +02:00
Felix Ruess 4eced1b096 [ins] clean ins_ardrone2 2013-09-05 19:17:10 +02:00
Felix Ruess 0845b6f533 [conf] fix nps settings file 2013-09-05 19:15:50 +02:00
Felix Ruess 9deae5e673 [baro] fix baro_board ms5611 wrappers 2013-09-05 17:39:52 +02:00
Felix Ruess ddb2e04cb6 [conf] baro_board makefile for both fw and rotorcraft 2013-09-05 17:38:45 +02:00
Felix Ruess 3aada5265d [nps] sim_overwrite_ins updates 2013-09-05 16:47:02 +02:00
Felix Ruess 577df9089e Merge branch 'master' into baro_abi
get latest stuff from master, especially NPS updates
2013-09-05 16:19:02 +02:00
Felix Ruess cecb952aca Merge pull request #516 from paparazzi/nps_fixedwing
NPS improvements and basics for fixedwing simulation

Also:
- configurable jsbsim model and initial conditions from flight plan
  - If NPS_JSBSIM_MODEL is not defined, it defaults to the AIRCRAFT_NAME (previous behavior).
  - If NPS_JSBSIM_INIT is defined, that ic file is used, otherwise uses flight plan location.
  - NPS_INITIAL_CONDITITONS is not used anymore.
-configurable joystick buttons/axes
2013-09-05 07:08:11 -07:00
Felix Ruess c659d7d8d6 [nps] include common_flight_plan.h on ivy_common 2013-09-05 16:05:41 +02:00
Felix Ruess 15027d5e4d [conf] fix conditional in ins_xsens makefile 2013-09-05 15:52:50 +02:00
Felix Ruess 95e063f8aa [fixedwing] fix missing #endif 2013-09-05 15:52:25 +02:00
Felix Ruess 280f97111e [conf] nps: replace INITIAL_CONDITITONS by JSBSIM_INIT 2013-09-05 15:36:28 +02:00
Felix Ruess 2d87a6a5f0 [ins] some cleanup and refactoring
- ins_int and ins_int_extended combinded to avoid code duplication
- ins_impl struct
- american spelling: x_initialised -> x_initialzed
- vff is mandatory for ins_int (if needed rather make a new simple gps_passthrough ins with ned coordinates)
2013-09-05 15:05:22 +02:00
Felix Ruess 077ea34208 Merge branch 'master' into nps_fixedwing
merge for further testing and resolve some conflicts
2013-09-04 22:16:25 +02:00
Felix Ruess 5a6f4cff17 [nps] add nps_bypass_ins option 2013-09-04 21:36:14 +02:00
Felix Ruess c459bb0f30 [ins] fix ins_baro_alt, ned frame, z-down! 2013-09-04 19:17:09 +02:00
Felix Ruess dadd73eb79 [messages] INS_REF: baro_qfe in float 2013-09-04 19:01:52 +02:00
Felix Ruess a7eeb48810 [nps] sim proper baro pressure in pascal 2013-09-04 19:01:28 +02:00
fvantienen 15c6424d37 [conf] update some TUDelft airframe
- Fix automatic kill and tuned ChouChou
- Walkera heli reference model updated
2013-09-04 17:23:13 +02:00
fvantienen 3f27a93308 [superbitrf] Fixed timing 2013-09-04 17:11:51 +02:00
Felix Ruess 6fb80641d6 Merge pull request #469 from flixr/in_flight_heuristic
[rotorcraft] improve in_flight detection heuristic and fix takeoff-land-takeoff in nav
2013-09-04 07:06:25 -07:00
Felix Ruess 6e6dd7ae82 [tools] calibrate.py: make automatic noise threshold an option 2013-09-03 17:56:05 +02:00
Felix Ruess c5c8772458 [rotorcraft] ups, fix wrong endif 2013-09-03 17:30:01 +02:00
Felix Ruess 07a1dc6908 [rotorcraft] by default always reset attitude stab on mode change again
To only reset (psi setpoint to current value, reset ref, reset integrators) the attitude stabilization
if the previous mode was not using it, define NO_ATTITUDE_RESET_ON_MODE_CHANGE
2013-09-03 17:23:42 +02:00
Felix Ruess 5e2647eb81 [rotorcraft] AUTOPILOT_IN_FLIGHT_MIN_THRUST defaults to 500 (~5%) 2013-09-03 15:49:26 +02:00
Felix Ruess 10be9996b6 Merge pull request #524 from benlaurie/fix
ARDrone2: Don't use failed reads. Add debugging.
2013-09-03 06:40:53 -07:00
Felix Ruess ec3218cdb5 [stabilization] attitude quat: fix psi angle 2013-09-02 18:13:57 +02:00
Gautier Hattenberger 6f15edbb10 [message] fix message format for BARO_RAW 2013-09-02 17:44:27 +02:00
Gautier Hattenberger d5322dd73e Merge pull request #522 from flixr/guidance_h_ref_fixes
[rotorcraft] refactor guidance_h_ref and fix route_ref
2013-09-02 08:42:26 -07:00
Gautier Hattenberger 93cf55b07f [baro] fix baro ABI for sim target with amsys sensor 2013-09-02 17:38:17 +02:00
Felix Ruess 51aeb9bd48 [guidance_h_ref] split up and fix ref max accel/speed calculation 2013-09-02 16:18:47 +02:00
Christophe De Wagter 7261368214 [ArDrone] FlipFlop reset timing slowed down 2013-09-02 13:54:17 +02:00
Christophe De Wagter 2df238b28c [ArDrone] Radio Control LED 2013-09-02 13:54:17 +02:00
Christophe De Wagter d1a872fe45 [ArDrone] Able to takeoff without joystick 2013-09-02 13:54:17 +02:00
Christophe De Wagter ac31df5252 [ArDrone] SYS_LED 2013-09-02 13:54:16 +02:00
Felix Ruess 29da4ede96 [rotorcraft] also call stabilization_attitude_enter if previous mode was GUIDANCE_H_MODE_KILL 2013-09-02 13:45:40 +02:00
Ben Laurie 55e3d9d791 Don't use failed reads. Add debugging. 2013-09-02 11:11:05 +01:00
Gautier Hattenberger 4dd6772565 [ins] conver alt_float ins to ABI for baro 2013-09-02 11:48:00 +02:00
Gautier Hattenberger 175e51a7e3 [baro] convert new boards to ABI for baro 2013-09-02 11:47:39 +02:00
Gautier Hattenberger 0896232488 Merge remote-tracking branch 'paparazzi/master' into baro_abi
Conflicts:
	sw/airborne/boards/ardrone/baro_board.c
	sw/airborne/modules/sensors/baro_ms5611_spi.h
2013-09-02 11:16:31 +02:00
Christophe De Wagter 529c676123 Merge pull request #520 from fvantienen/master
[ardrone2] GPIO hack removed, Safety added and LED's redirected to motor controllers
2013-09-02 01:20:36 -07:00
Christophe De Wagter 2782e11ad9 [airframes] CDW 2013-09-02 10:13:46 +02:00
softsr d44b40255f Krooz imu fix 2013-09-01 22:45:47 -07:00
Gautier Hattenberger d1d1a7e57d [baro] convert baro modules to ABI 2013-09-01 23:25:08 +02:00
Christophe De Wagter 6d33e8553d [ArDrone] Extra Safety 2013-09-01 23:06:07 +02:00
Christophe De Wagter 21df20cae8 [ArDrone] Default LEDS 2013-09-01 22:59:13 +02:00
Felix Ruess 8c8049722f Merge pull request #494 'guidance_h_quat'
Don't pretend that the commands from guidance_h are actually real euler angles.
Compose a roll/pitch quaternion from simultaneous rotation of roll/pitch,
then rotate around resulting body z-axis to align the heading.

This should "fix" the setpoint passed to the attitude stabilization if in HOVER or NAV
at large angles and in cases of where heading_sp != current heading.
2013-09-01 17:06:40 +02:00
Felix Ruess 9489857f01 [rotorcraft] add FAILSAFE_ON_BAT_CRITICAL
set FAILSAFE_ON_BAT_CRITICAL to TRUE if you want to go into FAILSAFE mode (neutral attitude, slowly descend)
if battery status is critical (vsupply voltage below CRITIC_BAT_LEVEL for a while)
2013-09-01 17:00:45 +02:00