Commit Graph

10944 Commits

Author SHA1 Message Date
dewagter 291f62015a [ardrone_vision] Vision Submodule 2014-04-16 17:44:42 +02:00
Felix Ruess d390a5ef7c update changelog 2014-04-16 15:08:00 +02:00
Felix Ruess 4cada50a07 [fixedwing] add NavSetAltitudeReferenceHere 2014-04-16 09:56:14 +02:00
Felix Ruess 55ffe32735 [modules] nav_survey_poly_osam: remove unused functions 2014-04-16 00:47:01 +02:00
Felix Ruess 2b24984f05 fix path to var/aircrafts/<ac_name> in various tools
especially path to flight_plan.xml and settings.xml files copied to var/aircrafts/<ac_name>
2014-04-15 21:57:58 +02:00
Felix Ruess af728fb92b [modules] nav_drop: more configurable
should close #695
2014-04-15 17:13:00 +02:00
Gautier Hattenberger 2024b5277c [sim] fix sim launcher 2014-04-14 15:47:53 +02:00
Felix Ruess 8f107409cd update changelog 2014-04-14 15:19:37 +02:00
dewagter ccfad25a82 [radio_control][sbus_dual] Remove double code 2014-04-14 15:18:04 +02:00
dewagter 51eb4d1431 [radio_control][sbus] Dual receiver setup 2014-04-14 13:52:50 +02:00
dewagter a24cc71290 [radio] SBus Radio 2014-04-14 13:50:11 +02:00
Felix Ruess 8a3e8a57e6 update changelog 2014-04-14 13:44:25 +02:00
Felix Ruess 401dd2a9ef [build] build in var/aircrafts/<ac_name> instead of var/<ac_name>
closes #649
2014-04-14 13:07:05 +02:00
Gautier Hattenberger 90a47320c1 [gcs] change GCS icon size on zoom change event 2014-04-14 10:46:30 +02:00
Gautier Hattenberger d97ef3a89a [gcs] adapt home icon to zoom level (#679)
not tested yet, I don't have a gps to test with gpsd2ivy
2014-04-14 10:46:30 +02:00
Gautier Hattenberger f1ee63da39 update changelog 2014-04-13 23:25:43 +02:00
Felix Ruess 4993247ce9 update CHANGELOG 2014-04-13 18:43:03 +02:00
Felix Ruess 6c440f2549 Merge pull request #512 from paparazzi/nav_modules
Fixedwing extra navigation routines as modules

<subsystem name="nav" type="extra"/> doesn't exist anymore, instead load only the desired navigation routine as module:
<modules>
  <load name="nav_survey_polygon.xml"/>
</modules>

nav function names have been harmonized:
- nav_foo_setup(x, y) is usually called once to set the parameters (previously mostly called init)
- nav_foo_run() is the function to be called every time until the routine is done
2014-04-13 18:21:42 +02:00
Felix Ruess 048f67ca5f [tmtc] fix FLIGHT_PARAM in gpsd2ivy 2014-04-13 17:31:44 +02:00
Felix Ruess bd51144fa6 Merge branch 'stm32_i2c_watchdog' 2014-04-13 16:17:21 +02:00
Felix Ruess 14e221d403 Merge pull request #683 from paparazzi/multiproc_compilation
[build] parallel build for firmwares

- by passing J=AUTO from toplevel make it will auto-detect the number of CPUs
- umber of processes can also be explicitly set with e.g. J=4
- calling make without a J variable is the same as J=1 (serial compilation)

e.g. ```make AIRCRAFT=Quad_LisaM_2 ap.compile J=AUTO```
2014-04-12 14:57:07 +02:00
Felix Ruess 88c4a10905 [rotorcraft] add comment about nav_periodic_task 2014-04-11 22:44:05 +02:00
Felix Ruess 75164875c4 [build] make sure gcc version is printed at the beginning 2014-04-11 20:04:20 +02:00
Felix Ruess bd00beb101 [build] only build firmware in parallel with J=AUTO
by passing J=AUTO from toplevel make it will auto-detect the number of CPUs
Number of processes can also be explicitly set with e.g. J=4
Calling make without a J variable is the same as J=1 (serial compilation)
2014-04-11 20:04:20 +02:00
Felix Ruess e0f80abb32 [build] parallel build for firmwares
on OSX using sysctl seems to be faster than using system_profile and also more robust
(output is not named differently)
2014-04-11 19:31:18 +02:00
Felix Ruess d41af456ee [rotorcraft] move compute_dist2_to_home and ground_alt 2014-04-11 18:54:47 +02:00
Felix Ruess 610e2e34a9 [conf] minor improvements to nav_modules flightplan 2014-04-11 18:00:12 +02:00
Felix Ruess 86ff79f872 [ins] morse sensible default INS_BARO_ID
if USE_BARO_BOARD, then use that baro for INS
otherwise take an ABI message from any baro
2014-04-11 12:00:53 +02:00
Gautier Hattenberger ce77d4a531 [flight_plan] remove nav_line from basic FP
basic flight plan only uses standard routines, nav_line is now in
versatile and other custom flight plans
2014-04-11 09:52:38 +02:00
Felix Ruess 6752071841 [lib/ocaml] attempt to properly deal with leap seconds 2014-04-11 09:30:09 +02:00
Felix Ruess 33c5740653 Merge pull request #562 from paparazzi/rotorcraft_home_mode
[rotorcraft] add a HOME mode

similar to the fixedwing home mode:
- will go into HOME mode if too_far_from_home
- with <define name="UNLOCKED_HOME_MODE" value="TRUE"/> you can get out of HOME mode if you have valid RC and are not too_far_from_home
- if you get really too far from HOME (FAILSAFE_MODE_DISTANCE with default 1.5 * MAX_DIST_FROM_HOME)
  - go into FAILSAFE_MODE_TOO_FAR_FROM_HOME (defaults to AP_MODE_FAILSAFE)

- FAILSAFE descent speed is configurable with FAILSAFE_DESCENT_SPEED (default now 1.5 m/s)
- RC_LOST_MODE now configurable (default is same as before: AP_MODE_FAILSAFE)
2014-04-10 23:56:05 +02:00
Felix Ruess 7728a1f6d1 [rotorcraft] add RC_LOST_MODE and stricter rc loss check 2014-04-10 23:49:44 +02:00
Felix Ruess 2b57e3ad03 Merge pull request #663 from paparazzi/ref_quat_scale
stabilization attitude: reference quaternion scale

Fix scale of angle in 2nd order model, since error quaternion contains the half-angles we get 2*omega^2*err

This means that you should halve your REF_OMEGA_[PQR] parameters to get nearly the same as before.
2014-04-10 23:45:25 +02:00
Felix Ruess a2448b2268 [stm32][i2c] use some libopencm3 API functions instead of direct registers
closes #686
2014-04-10 19:59:23 +02:00
Felix Ruess b0b1502037 [stm32] remove sys plugs, works with gcc-arm-embedded 2014-04-10 12:37:15 +02:00
Felix Ruess 7d5dd6cacb [fixedwing] fix RCLost macro 2014-04-10 01:06:44 +02:00
Gautier Hattenberger 30a9639616 [failsafe] settable failsafe mode
- failsafe mode when aircraft is really to far can be set
- descent speed in failsafe mode can be set
- choose more realistic values for max_dist_from_home in default FP
2014-04-09 22:51:15 +02:00
Gautier Hattenberger 5c28c13c84 [gcs] connect the 'back to nav' strip button
also remove some warnings since it seems to be more confusing than
inactive buttons in the strip
2014-04-09 22:51:15 +02:00
Felix Ruess 426a83cf58 [rotorcraft] add UNLOCKED_HOME_MODE 2014-04-09 22:51:15 +02:00
Felix Ruess d6c6a36b12 [rotorcraft] go to FAILSAFE mode after 1.5*MAX_DIST_FROM_HOME
In failsafe the rotorcraft should perform a landing which makes more sense than KILL.
You can still set KILL_AS_FAILSAFE to kill instead.
2014-04-09 22:51:15 +02:00
Felix Ruess 72597a9a37 [rotorcraft] add a HOME mode
similar to HOME mode in fixedwing firmware.
2014-04-09 22:51:15 +02:00
Felix Ruess 8ab5e34170 [ext] update luftboot to get libopencm3 include fixes 2014-04-09 19:42:14 +02:00
Felix Ruess d63c10e224 [stm32] update libopencm3 includes
don't explicitly include f1 headers, rather just the generic stm32 ones which will then include the correct ones depending on which familiy is defined
2014-04-09 17:47:02 +02:00
Felix Ruess 02b990009b [ext] update libopencm3 2014-04-09 17:01:06 +02:00
Gautier Hattenberger 684187a2c9 [mission] add support for global coordinates in mission module 2014-04-08 18:45:10 +02:00
kadir4172 f4b8517ed5 [rotorcraft] rc setpoint handling refactored
closes #684 which partially solves #599
2014-04-08 16:40:47 +02:00
Gautier Hattenberger 1f0d1c9c65 [server] change again airspeed field position
for compatibility with PPRZonDroid beta version
2014-04-08 16:00:14 +02:00
Gautier Hattenberger 7b8b32c641 [server] send negative value if no airspeed available
on a second thought it is safer to tell that there is no airspeed data,
ground speed is already available in the message anyway
2014-04-08 14:43:55 +02:00
Gautier Hattenberger 3a75f6a41e [server] add airspeed data in FLIGHT_PARAM message 2014-04-08 13:59:04 +02:00
Felix Ruess 3269ccf8d5 [airborne] remove unused agl and alt_vfilter
alt_vfilter is basically the same as ins/vf_float
2014-04-08 11:05:13 +02:00