Commit Graph

10660 Commits

Author SHA1 Message Date
Gautier Hattenberger 8af1bdac4e [usb] add usb-storage for apogee SD logger
[usb] fix usb-storage when mounting before starting log
2014-02-06 23:13:32 +01:00
Felix Ruess 6dd439ee07 [rotorcraft] fix hidden bug in ref_quat_float
thanks Antoine
2014-02-05 22:22:36 +01:00
Gautier Hattenberger 4549e75091 [math] some addition to math and filter lib
- generic matrix operation (float)
- cholesky and qr decomposition
- 1st, 2nd and 4th order low pass filter
2014-02-05 18:29:31 +01:00
Gautier Hattenberger 2c700f0d84 [extra_dl] fix extra datalink (typo, doc) 2014-02-05 18:07:42 +01:00
Felix Ruess d58f596f6f [stm32][adc] fix for f1
- update libopencm3 to get adc_set_injected_sequence fix for f1
- set_sample_time_on_all_channels rather than on each channel separately since we use the same sample time for all anyway
- also use some convenience functions instead of directly reading the registers

- since compatibility with old systick was removed in libopencm3 with commit bfc65271c083ad2cd79e61901a769d8c354d863b,
  also update the systick clock source in stm32 sys_time_arch and luftboot
2014-02-01 19:50:08 +01:00
Felix Ruess c075e954a4 [modules] geo_mag cleanup and doc improvements 2014-01-29 10:17:34 +01:00
Christophe De Wagter 5bd2bbacfb [gps_udp] rename + airframe file 2014-01-24 15:45:35 +01:00
Christophe De Wagter 886133e747 [optitrack] Indoor GPS 2014-01-24 15:45:21 +01:00
Gautier Hattenberger 6ff0fc973b [chibios] add chibios-libopencm3 support
Only the realtime scheduler and SDIO driver from ChibiOS is used.
This brings the support of the SD log on Apogee boards. The current
solution is not fully satisfactory and is an intermediate solution
before switching to a 'pure' ChibiOS arch.
Some of the implementations can be cleaned and/or improved, but since it
is not a long term solution, I doubt it is worth the effort here.
Normal bare-metal libopencm3 code is of course still working.
Git submodules:
- chibios: 2.6.2
- fatfs: patched version for chibios+pprz
2014-01-24 12:59:08 +01:00
Gautier Hattenberger daf9408171 [stm32] update libopencm3 and hence also adc injected channel order 2014-01-24 12:58:40 +01:00
Felix Ruess 8c8460ee93 [tools] gen_aircraft: change order of define flags
The change of order in define flags is to prevent that these flag are erased if the firmware use = instead of += (at least the first time),
which is usually the case for test programs.
It should not make any other difference since multiple occurrences of flags are merged at the and anyway.
2014-01-24 12:41:55 +01:00
Gautier Hattenberger 056a618698 [gps] add raw ephemeris data to ubx 2014-01-23 15:20:06 +01:00
Gautier Hattenberger fd2ae6b95c [interrupt] settable int priority level with libopencm3 2014-01-23 15:14:14 +01:00
Christophe De Wagter f7129c69c8 [gcs] deeper zoom level for small area flights 2014-01-23 11:55:31 +01:00
Christophe De Wagter 3bf8f827a3 [ardrone] Cleanup and possible fix for occasional magneto freeze problem 2014-01-23 11:48:02 +01:00
Christophe De Wagter d289a1d287 [bug][udp] size should be passed as a pointer to a variable. Fix no-data return value while we are at it. 2014-01-22 15:26:27 +01:00
Christophe De Wagter a43566a3ad Merge pull request #626 from paparazzi/ardrone_2_4_8_supported
[ardrone] now supports firmware 2.4.8
2014-01-15 12:42:59 -08:00
Christophe De Wagter 4b5423b3a1 [ardrone] now supports firmware 2.4.8 2014-01-15 21:19:05 +01:00
Gautier Hattenberger 655ee8ff12 [uart] fix compilation issue with omap uart driver
not really a nice solution, but at least it should work
2014-01-13 18:19:43 +01:00
Gautier Hattenberger e863bf9ba4 [uart] fix uart speed config on linux based AP 2014-01-13 15:16:52 +01:00
Gautier Hattenberger 505ad70de5 Merge pull request #619 from podhrmic/master
[doxygen] Updated code style guide
2014-01-11 23:57:16 -08:00
Gautier Hattenberger eba60ba1fe [telemetry] make specific flag for periodic telemetry 2014-01-08 10:59:10 +01:00
Felix Ruess 1a8c8d384c [dox] minor Doxyfile update 2014-01-08 00:46:50 +01:00
Felix Ruess 6cecafe777 [airborne] minor DOWNLINK_DEVICE cleanup 2014-01-07 13:57:38 +01:00
Gautier Hattenberger e7574e59cb [abi] remove test_abi program 2014-01-07 11:31:12 +01:00
podhrmic 80d4c822c8 [doxygen] Update code style guide and add Eclipse code style 2014-01-05 17:51:17 -08:00
podhrmic 4221260fdb [doxygen] Updated code style guide
* added example for if/else
* added Eclipse code style
* syncronized all examples with the guide
2014-01-05 17:23:50 -08:00
Felix Ruess b9fac2e710 [conf] remove test_manual from quad example 2014-01-05 23:18:31 +01:00
Felix Ruess f1304117c1 [test] finish test_manual
now RC works (including radio_control type datalink)
2014-01-05 23:06:03 +01:00
Felix Ruess 2de0831914 [test] add preliminary test_manual 2014-01-05 22:09:41 +01:00
Felix Ruess a2e94c36f0 [test progs] start with some cleanup
- add a quick test_actuators_pwm
2014-01-05 22:09:41 +01:00
Felix Ruess 796afc65fe [setup] fix setup_actuators with a workaround
not very nice, but should work...
fixes #359
2014-01-05 01:43:38 +01:00
Gautier Hattenberger 9ee99169aa [tools] improve servo parsing in gen_airframe
separated macros to commit all actuators
servo order in global actuators array is kept from original airframe file
2014-01-04 19:02:45 +01:00
Gautier Hattenberger e00eb11b87 [drotek] add missing endif 2014-01-03 14:17:12 +01:00
Felix Ruess d32d171b94 [imu] drotek_10dof_v2: more defaults according to PERIODIC_FREQUENCY 2013-12-30 22:34:23 +01:00
Felix Ruess 3ef6e852b4 [rotorcraft] send motor_mixing.nb_failure in ROTORCRAFT_STATUS 2013-12-30 02:47:02 +01:00
Gautier Hattenberger 9153c23a9c [catapult] don't use GetPos macros but state interface directly 2013-12-29 23:08:04 +01:00
Gautier Hattenberger 8259716fc3 [nav] GetPosX and GetPosY in nav.h (FW) are in local coordinates
allows to use the macro with sectors detection

fix #602
2013-12-29 15:07:58 +01:00
Felix Ruess 788b887179 [tools] fix typo in get_id of calibration_utils 2013-12-29 06:13:32 +01:00
Felix Ruess 6f22616cf7 [uart] if USE_UARTx instead of defined USE_UARTx 2013-12-29 05:09:28 +01:00
Felix Ruess ad75f15bf6 [fixedwing] settable LOW_BATTERY_KILL_DELAY
should probably be replaced by electrical.bat_critical instead of re-implementing the delay for the critical check there...
closes #610
2013-12-29 01:56:35 +01:00
Gautier Hattenberger 2aa9ed3ff3 use correct word in FP button to circle around a point 2013-12-28 23:52:15 +01:00
Felix Ruess b3556f23bb [conf] use quad_lisa_mx as quad x-configuration example 2013-12-28 23:09:54 +01:00
Felix Ruess 4e2dc86ed7 [tools] calibrate.py: exit with meaningfull error if optimization fails 2013-12-27 20:05:07 +01:00
Felix Ruess 0166f097ad [uart] replace #ifdef USE_UARTx with #if USE_UARTx 2013-12-27 18:59:34 +01:00
Felix Ruess dee2ee53a3 [datalink] add missing macros for UART4 and 6 2013-12-27 18:19:44 +01:00
Felix Ruess daeb58f9bb [conf] add lisa_mx quad example 2013-12-27 18:11:27 +01:00
Piotr Esden-Tempski 505e9f8e85 [boards] Initial support for Lisa/MX
the Cortex-M4 version of Lisa/M
2013-12-27 18:10:53 +01:00
Martin Mueller 89ba697f11 [stm32] fix typo 2013-12-21 00:15:57 +01:00
Christophe De Wagter e285f0221c [ardrone] solved both type1 and type2 spikes: delayed temp versus delayed press 2013-12-20 21:24:46 +01:00