Commit Graph

2330 Commits

Author SHA1 Message Date
Lorenz Meier ff753b9e24 Merged master into lockdown_disable 2014-01-30 10:00:01 +01:00
Lorenz Meier 3b31a6b1b9 Merge pull request #620 from pigeonhunter/stack_sizes
Stack sizes
2014-01-30 00:54:55 -08:00
Lorenz Meier 70afb3ca3b Merge pull request #609 from PX4/rc_status
RC status metadata cleanup and extension
2014-01-30 00:53:01 -08:00
Anton Babushkin 655192a7f1 Merge branch 'master' into beta 2014-01-29 22:13:22 +01:00
Anton Babushkin 7d2f2523f8 navigator: reset mission item timer on state and mission item changes 2014-01-29 22:11:38 +01:00
Anton Babushkin 6f559b279e mc_att_control: yaw deadzone increased 2014-01-29 17:59:02 +01:00
Anton Babushkin da77ae8ffd Merge branch 'beta1' into beta 2014-01-29 16:26:10 +01:00
Anton Babushkin b81520cf30 Use NAV_STATE_LAND instead RTL_STATE_LAND 2014-01-29 16:05:09 +01:00
Anton Babushkin 591b355981 setpoint type IDLE added (for AUTO_READY state), LAND mode fixed 2014-01-29 14:39:36 +01:00
Anton Babushkin 48cec50dd3 navigator: handle regaining global position lock while LANDing 2014-01-29 13:12:57 +01:00
Darryl Taylor 44cb4d9617 Merge remote-tracking branch 'origin/master' into memory_tests 2014-01-29 18:00:08 +08:00
Darryl Taylor 1d70a65f40 Stack size reduced to 1280. Max stack size reported as 1020 with UBX GPS with 3d lock. MTK not tested. 2014-01-29 17:52:22 +08:00
Darryl Taylor 0cc311b872 Reduced stack size to 2568. Max stack usage reported as 2052 with MARG + GPS with 3d lock - no px4flow, but should be more than enough buffer to accomodate its addition. 2014-01-29 17:39:35 +08:00
Darryl Taylor 70b1037c2e Stack size reduced to 2408. Max stack usage reported by top in EASY mode at 1924. 2014-01-29 17:35:34 +08:00
Darryl Taylor b0f65bb708 Stack size reduced to 1648. Max stack usage reported top at 1316. 2014-01-29 17:12:16 +08:00
Darryl Taylor 58a1f19d79 Stack size reduced to 1816. Max stack reported by top was 1448 under HIL. 2014-01-29 17:09:05 +08:00
Darryl Taylor 338b753a3c Reduced stack size to 1200. Max stack space used was 956. 2014-01-29 17:00:07 +08:00
Anton Babushkin 23a87f5a52 navigator: add home position check for RTL state 2014-01-28 21:44:46 +01:00
Anton Babushkin 6a1a29f77e global_position topic: added baro_alt, mc_pos_control: SEATBELT mode fixed, use baro/AMSL alt 2014-01-28 20:40:05 +01:00
Anton Babushkin 48f1b7e1c7 mc_pos_control: fill nav_state = NONE when publishing position setpoint triplet 2014-01-28 18:39:55 +01:00
Anton Babushkin 5ffa28b0e9 dlog2: GPSP message fixed 2014-01-28 18:21:37 +01:00
Anton Babushkin 3601b80747 mc_pos_control: avoid global to local projections, work in global frame 2014-01-28 16:57:31 +01:00
Anton Babushkin 33daf84c00 lib/geo: bugs fixed, added function add_vector_to_global_position() 2014-01-28 16:56:53 +01:00
Julian Oes 547080f188 Revert "Navigator: make state names generic so that they can be used by the FSM visualisation tool later"
This reverts commit 984a815b94.
2014-01-28 12:29:30 +01:00
Lorenz Meier c801446088 Merge branch 'master' of github.com:PX4/Firmware 2014-01-28 11:13:43 +01:00
Lorenz Meier 19c3525f58 Hotfix: Fixed telemetry transmission of RC channels - we always sent one set too much - by lieron 2014-01-28 11:13:37 +01:00
Julian Oes 6002819f8f Navigator: FSM bugfix and missing break 2014-01-28 10:21:48 +01:00
Julian Oes 984a815b94 Navigator: make state names generic so that they can be used by the FSM visualisation tool later 2014-01-28 10:08:23 +01:00
Darryl Taylor 0488d5b41c Reduced commander main task stack size to 2088. The high-water-mark measured at 1668 after calibration and flight. 25% safety margin, but commander is fairly complex. There are surely untested code paths here, but each is relatively shallow. 2014-01-28 10:43:33 +08:00
Darryl Taylor d1fb765187 Reduced low priority thread stack size to 1728. Top indicates the high-water-mark is at 1380 during accelerometer calibration. Safety margin ~25% 2014-01-28 10:30:16 +08:00
Darryl Taylor dfaa5a0c7c Reduced stack from 2048 to 1024. Top reports stack usage at 812 under flight conditions. 2014-01-28 09:57:47 +08:00
Anton Babushkin f9b5709e9b sdlog2: NavState moved to GPSP message 2014-01-28 00:23:23 +01:00
Anton Babushkin 3fdb082cb8 mavlink: AUTO states indication fixed 2014-01-28 00:03:29 +01:00
Thomas Gubler fff97da360 Merge remote-tracking branch 'upstream/beta' into beta 2014-01-27 23:46:57 +01:00
Thomas Gubler 3f79057dd1 fw att pos estimator: fix output lat/lon conversion (introduced by changes in 58792c5ca6) 2014-01-27 23:46:02 +01:00
Lorenz Meier 428a90f4ae Merge branch 'master' into beta 2014-01-27 22:12:52 +01:00
Anton Babushkin 7d334ed54f navigator: RTL fix, more informative log message 2014-01-27 21:52:23 +01:00
Anton Babushkin d1508a7813 vehicle_control_mode publication moved to commander, WIP 2014-01-27 20:49:17 +01:00
Anton Babushkin 20108ed95d commander: minor refactoring current_status -> status 2014-01-27 13:18:54 +01:00
Anton Babushkin ad51e0a08a navigator: minor mavlink messages and comments fixes 2014-01-27 12:09:23 +01:00
Anton Babushkin 1e63e8d932 navigator: wait before landing in RTL 2014-01-27 12:07:27 +01:00
Anton Babushkin 4cfff5d8e5 Merge branch 'beta' of https://github.com/PX4/Firmware into beta 2014-01-26 20:13:42 +01:00
Lorenz Meier 1b2273a88b Merge branch 'master' of github.com:PX4/Firmware into beta 2014-01-26 19:58:57 +01:00
Lorenz Meier 0393b2aa12 Build fix for IO control input parsing. 2014-01-26 16:01:39 +01:00
Lorenz Meier 00a3270dc6 Differentiate between failsafe having kicked in (which stops the normal output mixing based on RC outputs and prevents unwanted control commands due to failsafe) and a true loss of the receiver, where we stop outputting RC channel readings downstream on FMU. 2014-01-26 15:52:51 +01:00
Lorenz Meier 2a30c574ce IO status printing improvements / fixes 2014-01-26 15:50:19 +01:00
Anton Babushkin 9e9105048a commander, navigator: failsafe fixes, mavlink messages cleanup 2014-01-26 15:46:14 +01:00
Lorenz Meier d1c934233f Fix S.BUS decoder to return value even if its just failsafe 2014-01-26 15:30:16 +01:00
Lorenz Meier cc68d11353 Add flag to indicate proper RC mapping 2014-01-26 15:26:19 +01:00
Lorenz Meier ac32116f00 Fix docs header 2014-01-26 15:17:01 +01:00
Lorenz Meier b67f7b2c7c Fix printing of IO status 2014-01-26 15:16:43 +01:00
Lorenz Meier ba4cd9604a Merge branch 'master' into rc_status 2014-01-26 15:00:20 +01:00
Lorenz Meier fdc7aa3be2 Merge branch 'master' of github.com:PX4/Firmware 2014-01-26 14:58:34 +01:00
Lorenz Meier 2dc3cf5e43 Remove unneeded header and commented out dead code from MEAS airspeed driver 2014-01-26 14:58:21 +01:00
Lorenz Meier 9cdbbab855 Differentiate between publication and signal receive timestamp, correctly set the rc_lost flag in the frame. Ready for prime-time testing. 2014-01-26 14:52:46 +01:00
Lorenz Meier 731ab465b3 Add support in the IO driver to control the S.Bus / RSSI port. 2014-01-26 14:22:54 +01:00
Lorenz Meier 16eb68f2e9 Allow the setup flags to control the S.BUS / RSSI port instead of doing some wild, likely incorrect, guesses. 2014-01-26 14:13:57 +01:00
Anton Babushkin c841929e3f commander: «home position set» condition fixed, failsafe fixes, navigator: state indication bugfix, control_mode fixes 2014-01-26 14:12:27 +01:00
Lorenz Meier a737a2a406 RSSI and SBUS out config now handled as setup feature flags. 2014-01-26 13:22:26 +01:00
Anton Babushkin b7c69262a7 state_machine_helper: added missed transition to FAILSAFE_STATE_LAND, transition conditions fixed 2014-01-26 11:58:50 +01:00
Anton Babushkin 7d2efe9367 commander, navigator: minor cleanup (refactoring), code style fixed 2014-01-26 11:52:33 +01:00
Anton Babushkin c7f0553938 cammander: state machine can now deny current state (e.g. when position lock lost during EASY mode), added FAILSAFE_STATE_LAND 2014-01-26 11:50:34 +01:00
Lorenz Meier 57d38bc8ce Clean up RC related metadata, put everything into the RC data page. This ensures atomic reads, makes the reads more efficient and allows for some headroom for more RC flags. The IO driver side is updated as well, however, these flags are not published yet. 2014-01-26 00:17:26 +01:00
Lorenz Meier eee2508644 Add additional flags to RC topic, not used yet. 2014-01-26 00:14:19 +01:00
Anton Babushkin 062b64a1e2 navigator: RTL on failsafe bug fixed 2014-01-25 23:49:33 +01:00
Anton Babushkin 92ddf7903b commander: more user-friendly states indication 2014-01-25 23:37:26 +01:00
Anton Babushkin ebc7cb03b7 «flighttermination state» replaced by more general «failsafe state» 2014-01-25 23:24:12 +01:00
Lorenz Meier b06d199129 Fixed year in controls.c comment. 2014-01-25 23:10:48 +01:00
Lorenz Meier aff11d6d86 IO firmware: Use right base reg value - since the wrong one had the same value this hasn’t been an issue, but it would have become one once one of them changed. 2014-01-25 23:06:53 +01:00
Lorenz Meier bafcbd99a6 Stop setting RSSI by cross-reading servo status. 2014-01-25 23:04:16 +01:00
Lorenz Meier f2f94f0f17 IO driver: Variable name and comment cleanup, no binary / functionality changes. 2014-01-25 23:03:21 +01:00
Lorenz Meier 8149bf95fc Merge pull request #603 from PX4/rc_config_cleanup
RC config params set to more useful default values - needs more testing
2014-01-25 13:46:55 -08:00
Lorenz Meier e07d91613b Remove unused field 2014-01-24 18:24:54 +01:00
Lorenz Meier 06227331ea Checking out registers page state from master, as this is clearly a symptom of a bad merge 2014-01-24 18:21:28 +01:00
Lorenz Meier b26c23c5f4 Merge branch 'cleanup' 2014-01-24 18:14:15 +01:00
Lorenz Meier a81cf70460 Merge branch 'cleanup' into beta 2014-01-24 18:11:52 +01:00
Lorenz Meier 29d90a2f84 Merge branch 'sbus2' into beta 2014-01-24 18:11:44 +01:00
Lorenz Meier 8f67307aed Merge pull request #606 from PX4/sbus2
Sbus2
2014-01-24 08:56:26 -08:00
Lorenz Meier 880342b9c1 Missing header for mixer status change. 2014-01-24 17:37:34 +01:00
Lorenz Meier bd15653b17 Use the proper status registers for locking out from mixer updates and return the value of the mixer change. 2014-01-24 17:37:01 +01:00
Lorenz Meier 33688fec9c Make the sensors app less verbose 2014-01-24 17:36:13 +01:00
Lorenz Meier 15f8e5acf1 Make in the comments explicit that we don’t do anything here under normal circumstances to make it less tempting to comment out the helpful debug tools in this section. 2014-01-24 17:35:29 +01:00
Lorenz Meier c5cb3cfd21 Make the IO mixer upload report not only a global success / fail flag, but on transfer basis. Also use a crude lock to avoid updating the mixer while it runs (we have no proper mutexes on IO, and this is a pure read/write locking case with two locks, which should make the execution even with this crude approach thread-safe). 2014-01-24 17:34:42 +01:00
Lorenz Meier 92a6c7d734 Set timeouts back to short, now that we have multiple tries in the uploader. This ensures we try often enough in the 200 ms IO bootloader wait phase to hit it. 2014-01-24 17:33:04 +01:00
Lorenz Meier 73a483c265 Finally fix the timing race between the IO driver, IO uploader and the on-IO firmware by making the uploader tolerant of timing offsets. 2014-01-24 17:30:40 +01:00
Lorenz Meier 1960f7d6c5 Initialize null pointers correctly, always set the pointer to null after deletes. Remove some verbosity from startup and do not try to initialise IO when we just want to reboot it into the bootloader. 2014-01-24 17:29:27 +01:00
Lorenz Meier 2f968357a3 Make the protocol version more descriptive - helps to understand when / how px4io detect fails. 2014-01-24 17:28:04 +01:00
Lorenz Meier 4f78c3e605 Disable PX4IO debug - spams console on comms failure. Each command does report the failure separately, so we get a better feedback level without the spam. 2014-01-24 17:27:28 +01:00
Lorenz Meier 65118f0c2e Disable debug in the airspeed sensor driver - prevents console spam if it fails (and on probing during startup) 2014-01-24 17:26:13 +01:00
Lorenz Meier 7cd2296e1d Merge branch 'master' into sbus2 2014-01-24 14:20:55 +01:00
Andrew Tridgell d8c1131f1e px4io: improved reliability of forceupdate re-starting px4io
this adds a 0.1s delay after update to give px4io time to boot. It
removes the need for the user to reboot after an IO update
2014-01-24 12:35:19 +01:00
Anton Babushkin 58792c5ca6 Use double for lat/lon in vehicle_global_position topic, use filed names lat, lon, alt, vel_n, vel_e, vel_d for global positions 2014-01-24 00:06:10 +01:00
Anton Babushkin b3d98e4a19 Merge branch 'master' into beta 2014-01-23 23:10:05 +01:00
Anton Babushkin 1cffa9d2f7 position_setpoint_triplet refactoring finished 2014-01-23 22:41:26 +01:00
Lorenz Meier 8bdbce5fe2 We do not know all secret S.BUS2 codes yet 2014-01-23 22:27:04 +01:00
Lorenz Meier 0c116e8de5 Implemented S.Bus 2 decoding support 2014-01-23 22:10:03 +01:00
Andrew Tridgell 4524fe3e48 px4fmu: added PWM_SERVO_SET_COUNT API
this allows the balance between PWM channels and GPIOs to be changed
after the main flight code has started, which makes it possible to
change the balance with a parameter in APM
2014-01-23 21:41:07 +01:00
Andrew Tridgell dda50c62bf hmc5883: much faster calibration code with bug fixes
this fixes two bugs in "hmc5883 calibrate" and also makes it much
faster, so it can be run on every boot. It now uses the correct 2.5Ga
range when calibrating, and fixes the expected values for X/Y/Z axes

The basic calibration approach is similar to the APM2 driver, waiting
for 10 good samples after discarding some initial samples. That allows
the calibration to run fast enough that it can be done on every boot
without causing too much boot delay.
2014-01-23 21:40:29 +01:00
Anton Babushkin 6acb8fa66f Replace mission_item_triplet with position_setpoint_triplet, WIP 2014-01-23 12:16:02 +01:00
Lorenz Meier 6a40acdbdc Fixed PPM warning to be only printed with PPM inputs enabled 2014-01-23 09:58:22 +01:00
Lorenz Meier 9e72e72644 Make SBUS switching conditional to be friendly to IO v1 2014-01-23 09:29:59 +01:00
Lorenz Meier c74660fec5 Merge branch 'rssi' of github.com:PX4/Firmware into rssi 2014-01-23 09:18:01 +01:00
Lorenz Meier 2aa76f1a3c Fixes to memory check handling, split out switch handling to allow separate initialization 2014-01-23 09:17:46 +01:00
Lorenz Meier d77a15e94f Last small fixes to IO driver to support updates with and without switch pressed and with and without px4io start call before the forceupdate call 2014-01-23 09:16:40 +01:00
px4dev 0994412cca Fix the initialisation and operation of the PX4IO ADC - now RSSI and VSERVO voltages should be read correctly. 2014-01-22 23:52:06 -08:00
px4dev 1ac8501d95 Clear the screen more properly. 2014-01-22 23:52:06 -08:00
Lorenz Meier 8833f81b48 Do not make PX4IO start mandatory for forceupdate 2014-01-23 08:45:29 +01:00
Lorenz Meier c3e4e4ee68 Build fix, replaced usleep with up_udelay in memory lockdown state 2014-01-23 08:26:53 +01:00
Lorenz Meier 8c8e9a4ff9 Enable the PX4IO self check and debug interfaces. No reason to disable them, since they are runtime-configured (and needed, for the case of memory) 2014-01-23 08:25:37 +01:00
Lorenz Meier 1c40ce968a RC config params set to more useful default values - needs more testing 2014-01-23 08:01:55 +01:00
Lorenz Meier ba19a1ba15 Merge branch 'master' of github.com:PX4/Firmware into rssi 2014-01-23 07:49:18 +01:00
Anton Babushkin c9b82d262e Merge branch 'master' into beta 2014-01-23 00:31:15 +01:00
Lorenz Meier 6c23e2f159 Added Doxygen main page 2014-01-22 17:20:55 +01:00
Anton Babushkin 93e096f63b position_estimator_inav: minor bug fixed, write debug log on crash 2014-01-22 16:17:56 +01:00
Thomas Gubler 30cf4097c5 fw: remove duplicate feedforward 2014-01-22 15:07:49 +01:00
Thomas Gubler 480d31f754 fw: increase invalid airspeed threshold 2014-01-22 14:58:09 +01:00
Anton Babushkin fdef07912c mc_pos_control: altitude setpoint offset limiting fixed 2014-01-22 11:19:00 +01:00
Lorenz Meier 5bc61c3c57 S.BUS output disable cleanup 2014-01-22 08:30:48 +01:00
Anton Babushkin bdf440e375 mc_att_control: reset integrals when disarmed 2014-01-21 19:02:03 +01:00
Anton Babushkin 29759ce092 mc_pos_control: MPC_LAND_TILT_MAX param name is too long, replace with MPC_LAND_TILT 2014-01-21 19:00:06 +01:00
Anton Babushkin eb9fd154fe commander: more robust RC failsafe, but still hotfix, needs to be rewritten 2014-01-21 15:26:51 +01:00
Anton Babushkin 2e472cf918 attitude_estimator_ekf: acc comp bug fixed, estimated gravity vector logging 2014-01-20 23:44:04 +01:00
Anton Babushkin 7956c8b08e position_estimator_inav: default parameters updated 2014-01-20 18:35:06 +01:00
Anton Babushkin a3dbd817dc Merge branch 'master' into beta 2014-01-20 16:48:50 +01:00
Anton Babushkin 0809981800 mc_pos_control: limit tilt when landing 2014-01-20 16:46:39 +01:00
Lorenz Meier f8c5a6cc50 Merged master into logging 2014-01-20 13:19:49 +01:00
Lorenz Meier 13822b35e7 Merge pull request #600 from PX4/sdlog2_timestamp
sdlog2: time in file names
2014-01-20 04:16:14 -08:00
Lorenz Meier 1e6d83fc9e Hotfix for IO battery voltage 2014-01-20 13:10:37 +01:00
Anton Babushkin 0034c9f0e7 mc_att_control: params refactoring 2014-01-20 11:42:12 +01:00
Anton Babushkin 9c6cc7a36b mc_pos_control: AWU fixed 2014-01-20 10:26:43 +01:00
Anton Babushkin f4edb448dd mc_att_control: code style fixed 2014-01-20 10:26:14 +01:00
Anton Babushkin d811b0f0da mc_att_control: ATTRATE_I / YAWRATE_I implemented 2014-01-20 10:17:16 +01:00
Anton Babushkin 8f0cc47372 mc_att_control: task name fixed 2014-01-19 23:26:54 +01:00
Anton Babushkin 01975619c8 Merge branch 'sdlog2_timestamp' into beta 2014-01-19 23:26:21 +01:00
Anton Babushkin 47c226988c sdlog2: code style fixed 2014-01-19 22:56:57 +01:00
Anton Babushkin 5e3c365cd4 rc: use sdlog2 -t option
sdlog2: move all logs and conv.zip to "log" dir, messages cleanup
2014-01-19 22:56:24 +01:00
Anton Babushkin 40a0ac5736 sdlog2: use GPS time for naming log dirs and files, some fixes 2014-01-19 20:59:15 +01:00
Thomas Gubler 1f62cede68 navigator: for FW: on landing, disable switch to NAV_STATE_READY when landing 2014-01-19 16:10:57 +01:00
Anton Babushkin 18b28f0efd Copyright and comments fixes 2014-01-19 13:11:15 +01:00
Thomas Gubler bda44a35cc remove fw_att_control_vector 2014-01-19 11:03:31 +01:00
Anton Babushkin 42f4f45979 mc_att_control_vector renamed to mc_att_control 2014-01-19 10:44:57 +01:00
Anton Babushkin 5b2f3b0b58 navigator: minor refactoring 2014-01-18 15:18:31 +01:00
Anton Babushkin b175937b5f navigator, commander: RTL and RC failsafe fixes 2014-01-18 14:25:24 +01:00
Lorenz Meier d174998b45 RSSI and concurrent S.Bus output handling 2014-01-18 12:00:17 +01:00
Lorenz Meier dd9df7b1b0 RSSI field init 2014-01-18 01:12:38 +01:00
Lorenz Meier 4d7e99fd6c Writing RSSI field not only in servo rail topic 2014-01-18 01:09:58 +01:00
Anton Babushkin 5a1b39a172 RTL on RC failsafe 2014-01-18 00:15:34 +01:00
Anton Babushkin a863b07f8c Merge branch 'autostart_cleanup' into navigator_new_vector 2014-01-17 23:14:24 +01:00
Lorenz Meier 0f30db08c0 Small documentation correction 2014-01-17 15:44:03 +01:00
Anton Babushkin 63b7159cda Merge branch 'navigator_new' into navigator_new_vector 2014-01-17 14:37:48 +01:00
Thomas Gubler 73546b6645 Merge remote-tracking branch 'upstream/master' into navigator_new
Conflicts:
	makefiles/config_px4fmu-v1_backside.mk
	src/modules/commander/commander.cpp
	src/modules/sdlog2/sdlog2.c
2014-01-17 09:50:22 +01:00
Lorenz Meier e691bab71a Cleaned up test output to be more readable 2014-01-16 22:46:55 +01:00
Lorenz Meier 71b11d54e0 Configuring PX4IOv2 led pins 2014-01-16 20:13:35 +01:00
Lorenz Meier 2600c96e92 Configuring PX4IOv1 led pins 2014-01-16 20:13:17 +01:00
Lorenz Meier a0bb6674da Fix FMUs B/E led pin config 2014-01-16 19:03:14 +01:00
Lorenz Meier 62076c0e81 Teach the commander to arm on the commandline 2014-01-16 10:58:05 +01:00
Lorenz Meier 978cfdccce Teach IO driver how to disable lockdown mode 2014-01-16 10:57:09 +01:00
Lorenz Meier ded8cc6e14 Add IOCTLs to disable lockdown of an output port 2014-01-16 10:56:39 +01:00
Lorenz Meier 8ffb9e29c6 Teach IO firmware that arming and lockdown are two different things, clean up arming check 2014-01-16 10:56:15 +01:00
Lorenz Meier c304ea2507 Teached MTD test how to write back 0xFF after destructive test 2014-01-16 08:37:50 +01:00
Andrew Tridgell e5ad3c31e0 mtd: added "mtd readtest" and "mtd rwtest"
this allows for verification of MTD operation on startup
2014-01-16 07:58:45 +01:00
Andrew Tridgell ff59aa9a0f mtd: use new MTDIOC_SETSPEED ioctl
set SPI speed to 10MHz
2014-01-16 07:57:32 +01:00
Lorenz Meier 352dea6754 Remove outdated configs, clean up pwm limit compilation 2014-01-15 20:04:11 +01:00
Lorenz Meier 84ad289e0a Improved test suite, now features a MTD device test 2014-01-15 17:20:36 +01:00
Andrew Tridgell 778cbcb5cc mtd: fixed creation and erase of a single partition 2014-01-15 09:33:58 +01:00
Lorenz Meier f3cd83e804 Merged master into mixer unit tests branch 2014-01-15 07:43:17 +01:00
Lorenz Meier cd72f564ef Merge pull request #593 from PX4/mtd_eeprom
EEPROM supported in MTD interface
2014-01-14 22:38:36 -08:00
Lorenz Meier ac326beaaa Improved config tool to also do device IOCTLs 2014-01-14 16:04:26 +01:00
Lorenz Meier bb8956c84e Fixed return value 2014-01-14 16:04:12 +01:00
Anton Babushkin 7b60761bf5 Merge branch 'master' into autostart_cleanup 2014-01-14 15:52:46 +01:00
Anton Babushkin 8ab3870a0d Merge branch 'navigator_new' into navigator_new_vector 2014-01-14 15:47:33 +01:00
Anton Babushkin 14c0fae175 sdlog2: fixed state logging if navigator not running 2014-01-14 15:47:21 +01:00
Anton Babushkin 97e4522c76 Merge branch 'master' into navigator_new_vector 2014-01-14 15:45:49 +01:00
Lorenz Meier d199710651 Fixed up init sequence of all sensors - we can publish in interrupt context, but not advertise! All advertisements now contain valid data 2014-01-14 15:40:46 +01:00
Lorenz Meier 1f5eda37ab Merge branch 'master' into pubsub_cleanup 2014-01-14 14:14:52 +01:00
Lorenz Meier c4dc310ebd Fixed bogus return value of publication blocking disable 2014-01-14 14:03:57 +01:00
Lorenz Meier 47e0c926a6 Fixed two typos identified by kroimon 2014-01-14 14:02:16 +01:00
Lorenz Meier b529e112b8 Merge pull request #520 from PX4/batt_fixes
Battery sensor fixes
2014-01-14 00:59:26 -08:00
Lorenz Meier 202e89de91 Introducing mtd status command, fixing compile errors for I2C setup 2014-01-14 08:58:58 +01:00
Lorenz Meier 33b84186e3 Patching up MPU6K pin disable defines 2014-01-14 08:58:30 +01:00
Lorenz Meier 993f721210 Deleting old eeprom driver directory 2014-01-14 08:57:52 +01:00
Lorenz Meier ba26fc32c9 Enabled EEPROM as MTD backend device 2014-01-14 07:49:33 +01:00
Lorenz Meier d5d035b9ea Pruned old RAMTRON interface 2014-01-14 07:42:01 +01:00
Lorenz Meier 85ca6e6991 Eliminated magic number 2014-01-14 07:34:35 +01:00
Andrew Tridgell f30ae8c9f3 Added MTD erase command 2014-01-14 07:32:34 +01:00
Anton Babushkin 7bcddd192f Merge branch 'navigator_new' into navigator_new_vector 2014-01-13 13:07:25 +01:00
Anton Babushkin db1ea9bf51 Battery: default parameters updated 2014-01-13 10:11:16 +01:00
Anton Babushkin d042b63657 Merge branch 'master' into batt_fixes 2014-01-13 09:48:27 +01:00
Lorenz Meier 7b38c576e9 Merge branch 'master' into mtd_multi 2014-01-13 08:33:55 +01:00
Lorenz Meier f595b204ea Parameter documentation improvements 2014-01-13 08:33:25 +01:00
Lorenz Meier eb907c03a1 Merge branch 'master' of github.com:PX4/Firmware 2014-01-13 08:32:58 +01:00
Lorenz Meier ea8ab2793a More param command related improvements 2014-01-12 18:52:10 +01:00
Lorenz Meier 1694171435 Compile / bugfixes on MTD commandline tool 2014-01-12 17:40:29 +01:00
Lorenz Meier 3387aa64d4 Enabled MTD partitions, successfully tested params 2014-01-12 16:33:23 +01:00
Lorenz Meier 17a478a190 Merge branch 'mtd' into mtd_multi 2014-01-12 15:53:20 +01:00
Lorenz Meier 8b5adac0d9 Support for better param printing 2014-01-12 15:53:06 +01:00
Lorenz Meier 29e2c841bb Added support for N MTD / ramtron partitions / files 2014-01-12 15:34:05 +01:00
Lorenz Meier 8205afc4e0 Added missing file close on test command 2014-01-12 13:11:01 +01:00
Lorenz Meier dbbe4ab1d5 Header for publication disable 2014-01-12 11:55:16 +01:00
Lorenz Meier e6a67b1deb Support for publication blocking: MS5611, cleaned up device start 2014-01-12 11:54:55 +01:00
Lorenz Meier 7af62bbe9e Support for publication blocking: MPU6000, cleaned up device start 2014-01-12 11:54:38 +01:00
Lorenz Meier a34a14ce86 Support for publication blocking: LSM303D, cleaned up device start 2014-01-12 11:54:25 +01:00
Lorenz Meier 3c7766db6c Support for publication blocking: L3GD20(H) 2014-01-12 11:54:10 +01:00
Lorenz Meier 28a3dc726f Support for publication blocking: HMC5883 2014-01-12 11:53:56 +01:00
Lorenz Meier c7e2841baa BMA180 does not publish if disabled 2014-01-12 11:53:31 +01:00
Lorenz Meier d72c82f66b Airspeed does not publish if disabled 2014-01-12 11:53:15 +01:00
Lorenz Meier 9bf512cac8 Framework to support disabling publications via IOCTL 2014-01-12 11:52:41 +01:00
Lorenz Meier c6e196edca Support disabling GPS output via IOCTL, general cleanup of author and copyright code style 2014-01-12 11:52:19 +01:00
Lorenz Meier b23af61087 System disables all driver publications it can get hold of once entering HIL 2014-01-12 11:47:35 +01:00
Lorenz Meier 4ea92eca7c RGB led cleanup 2014-01-11 20:57:03 +01:00
Lorenz Meier 6011ff9411 HIL cleanup 2014-01-11 20:56:40 +01:00
Lorenz Meier 7e3802297c Added MTD adapter driver 2014-01-11 20:56:28 +01:00
Anton Babushkin 94909e9d8c Merge branch 'master' into autostart_cleanup 2014-01-11 09:26:36 +01:00
Thomas Gubler f224374ed3 Merge remote-tracking branch 'upstream/master' into navigator_new 2014-01-11 00:49:30 +01:00
Thomas Gubler bccd0f8947 fakegps: add command-line option 2014-01-11 00:46:45 +01:00
Thomas Gubler 2ed315480e fakegps: default to 0 m/s speed 2014-01-11 00:20:03 +01:00
Thomas Gubler ac7787e2a2 launchdetection: send warning to qgc every 4s 2014-01-11 00:10:24 +01:00
Thomas Gubler a522c64fee fake gps: gps device is not needed for fake position generation 2014-01-11 00:09:38 +01:00
Thomas Gubler f205c07c08 very simple gps fix fake in gps driver only for development 2014-01-10 22:38:12 +01:00
Anton Babushkin f5501a0508 Merge branch 'master' into autostart_cleanup 2014-01-10 16:23:51 +01:00
Simon Wilks 7265006f3f Adjust the HoTT sensor scheduler priority as well 2014-01-10 08:03:54 +01:00
Simon Wilks a303175c4c Reduce the scheduler priority to a more acceptable value 2014-01-10 07:51:47 +01:00
Lorenz Meier 4fcbe806ce Cleaned up init config and picked a safe bet on FRAM clock speed 2014-01-09 18:05:17 +01:00
Lorenz Meier 6b8c3283a7 Merge branch 'master' of github.com:PX4/Firmware 2014-01-09 16:58:02 +01:00
Anton Babushkin 891cb3f8c2 Merge branch 'checkcrc_nostart' into autostart_cleanup 2014-01-09 11:13:13 +01:00
Lorenz Meier f5dfc24197 Allow to check IO CRC independent of the IO start status (retains the interface status, startet or unstarted 2014-01-09 08:44:57 +01:00
Lorenz Meier c1ecdadd9b Merge branch 'master' of github.com:PX4/Firmware 2014-01-09 08:42:40 +01:00
Lorenz Meier f82656203a Merge branch 'mount_tests' of github.com:PX4/Firmware into mount_tests 2014-01-08 20:20:21 +01:00
Lorenz Meier 4e4e5a0323 Merge branch 'master' into mount_tests 2014-01-08 18:07:08 +01:00
Lorenz Meier 184f4a29eb Improved file test, allowed abortion 2014-01-08 18:06:30 +01:00
Anton Babushkin 8d7620c3cb Merge branch 'master' into navigator_new_vector 2014-01-08 15:44:24 +01:00
Anton Babushkin 255db83e93 mc_pos_control: bug fixed 2014-01-08 15:43:58 +01:00
Lorenz Meier fed5a2daae Better settings for the mount test 2014-01-08 08:41:50 +01:00
Lorenz Meier ab407a82ba Merge branch 'master' into mount_tests 2014-01-07 22:42:09 +01:00
Anton Babushkin 255d91d8d4 hw_ver app added for hardware version checking 2014-01-07 21:56:35 +01:00
Lorenz Meier c463fde0b9 Compiling in new functions 2014-01-07 21:42:51 +01:00
Lorenz Meier 1834a884b2 Added FMU command to read serial 2014-01-07 21:42:39 +01:00
Lorenz Meier 72b9d3a0b1 Added unique ID location 2014-01-07 21:42:17 +01:00
Lorenz Meier ea4552a53d Added functionality to read serial 2014-01-07 21:41:54 +01:00
Lorenz Meier 0ef85c133b OTP return value cleanup 2014-01-07 21:41:07 +01:00
Buzz 4ef7817d96 added otp library 2014-01-07 19:10:25 +01:00
Lorenz Meier 9b711d6a72 Merged origin/master into batt_fixes 2014-01-07 15:34:13 +01:00
Andrew Tridgell 94b539dfdd px4io: enable power on Spektrum connector on init 2014-01-07 09:36:33 +01:00
Andrew Tridgell d6088efd34 ms5611: report P and T in ms5611 info 2014-01-07 09:34:32 +01:00
Andrew Tridgell 1f564a95ee meas_airspeed: avoid trivial dependency on math lib
including the math lib adds a huge amount to flash usage
2014-01-07 09:33:10 +01:00
Andrew Tridgell 1a13e66aab px4iofirmware: make forceupdate more reliable
this schedules a reboot rather than rebooting immediately, which means
the FMU gets an ACK for its reboot operation, preventing it from
timing out waiting for the ACK. That makes the timing of the reboot
more consistent, which makes it more reliable for forceupdate
2014-01-07 09:30:56 +01:00
Lorenz Meier 138b2890c4 Better mount test, still not reproducing failure very well 2014-01-07 08:37:34 +01:00
Lorenz Meier f35e6efbca Check 30 seconds for USB port 2014-01-07 08:37:06 +01:00
Lorenz Meier 9886a384ff Fixed error handling logic, we want to return, not exit 2014-01-07 08:02:47 +01:00
Anton Babushkin 6381590997 attitude_estimator_ekf: acc compensation improvements 2014-01-06 14:33:58 +01:00
Anton Babushkin c094a1a33d Merge branch 'navigator_new' into navigator_new_vector 2014-01-06 09:17:29 +01:00
Anton Babushkin 187c2a4bca sdlog2: Main & Nav state logging fixed 2014-01-06 09:17:08 +01:00
Anton Babushkin 300d891d76 Merge branch 'navigator_new' into navigator_new_vector 2014-01-06 08:08:35 +01:00
Lorenz Meier 7b2f0d758c Merge pull request #578 from kroimon/frsky_telemetry
Add FrSky telemetry support
2014-01-05 09:05:14 -08:00
Lorenz Meier 40196275d0 Compile warning fixes on preflight check 2014-01-05 15:23:54 +01:00
Lorenz Meier d114ff1ac9 Remove unused variable 2014-01-05 15:21:30 +01:00
Lorenz Meier 7ee5f127f2 Compile cleanups on the IO firmware 2014-01-05 15:20:54 +01:00
Lorenz Meier f00e14f749 Merge branch 'navigator_new' of github.com:PX4/Firmware into navigator_new 2014-01-05 15:20:11 +01:00
Lorenz Meier 018e42733a Merge branch 'master' of github.com:PX4/Firmware into navigator_new 2014-01-05 15:19:39 +01:00
Thomas Gubler f387c0ccc3 launchdetection: rename pre takeoff throttle param and fix usage 2014-01-05 14:19:19 +01:00
Thomas Gubler d1e991f1f0 launchdetection: add minimal throttle, fix parameter update 2014-01-05 12:20:25 +01:00
Thomas Gubler 95c20ba9f9 add inflight geofence check, issues warning on gcs for now 2014-01-05 11:29:06 +01:00
Thomas Gubler 26af21619b navigator/geofence: add parameter to disable geofence 2014-01-05 10:49:16 +01:00
Thomas Gubler 819822e172 navigator/geofence: add isEmpty() function and checks 2014-01-04 22:01:31 +01:00
Thomas Gubler 70d4ef480a geofence: do not keep fence in memory 2014-01-04 21:50:12 +01:00
Lorenz Meier 7590d91cf2 Improved mount test 2014-01-04 17:05:52 +01:00
Thomas Gubler 099c2f5a00 geofence: add DMS coordinate format support for textfile 2014-01-04 15:50:49 +01:00
Thomas Gubler 31d1f436ad geofence: add simple vertical check 2014-01-04 15:17:07 +01:00
Thomas Gubler ec60a254d2 navigator: add pre mission geofence check 2014-01-04 15:04:24 +01:00
Thomas Gubler a65de1e0b9 Merge branch 'navigator_new_fw' into navigator_new 2014-01-04 14:28:05 +01:00
Lorenz Meier e7c1e8e94b Added tests for mount / fsync / reboot 2014-01-04 13:53:59 +01:00
Lorenz Meier 4d3a2c824c Merge branch 'ppm_in' 2014-01-04 13:52:24 +01:00
Thomas Gubler a48264d5d4 navigator: load geofence from textfile 2014-01-04 13:37:49 +01:00
Stefan Rado 4508972121 Further data format and code style fixes. 2014-01-03 00:28:46 +01:00
Thomas Gubler 065badf980 Merge pull request #576 from PX4/tecs_climbout
tecs: change pitch on climbout #559
2014-01-02 12:26:07 -08:00
Anton Babushkin dae5c83842 mc_att_control_vector: support for disabled rate controller flag to handle AUTO_READY mode 2014-01-02 22:00:56 +04:00
Anton Babushkin 2dc2c2d28f Merge branch 'navigator_new' into navigator_new_vector 2014-01-02 21:57:33 +04:00
Anton Babushkin 220011914c navigator: AUTO_READY nav state added, RTL implemented properly 2014-01-02 21:57:01 +04:00
Lorenz Meier c11e36ad3d Board config sweep / cleanup. No further functionality-relevant points found 2014-01-02 17:42:01 +01:00
Lorenz Meier 07fa4e3ec8 Removed bogus 50 MHz setting, only relevant for outputs 2014-01-02 17:26:57 +01:00
Lorenz Meier 2fbb854414 Merge branch 'master' of github.com:PX4/Firmware into ppm_in 2014-01-02 17:19:21 +01:00
Lorenz Meier b2ef7f506c HOTFIX: Avoid running out of range on the RC config params 2014-01-02 17:09:59 +01:00
Lorenz Meier 6d08e9f661 HOTFIX: Avoid running out of range on the RC config params 2014-01-02 17:09:33 +01:00
Thomas Gubler 429a11a21d navigator/geofence: move more functions to geofence class (WIP) 2014-01-02 15:01:08 +01:00
Thomas Gubler dca6d97a52 create geofence class and start moving fence functionality to this class 2014-01-02 14:18:02 +01:00
Anton Babushkin c0bdaf4a40 Merge branch 'navigator_new' into navigator_new_vector 2014-01-02 16:44:54 +04:00
Anton Babushkin 911c2bdeee navigator: takeoff fixes 2014-01-02 16:44:31 +04:00
Anton Babushkin fe43a900c7 mc_pos_control: takeoff hack removed 2014-01-02 14:52:49 +04:00
Anton Babushkin 5bedd8c714 Merge branch 'navigator_new' into navigator_new_vector 2014-01-02 14:52:00 +04:00
Anton Babushkin 6a5d5f7136 Merge master into navigator_new 2014-01-02 14:51:48 +04:00
Anton Babushkin 74e2542c07 navigator: takeoff and mission fixes 2014-01-02 14:49:34 +04:00
Thomas Gubler c4c652e9c6 tecs: change pitch on climbout #559 (ported from ardupilot) 2014-01-02 11:22:51 +01:00
Lorenz Meier 445b9b2339 Final pin config for F1 PPM decoding, tested to be operational, pending in-application testing 2014-01-02 10:45:00 +01:00
Lorenz Meier 85651218e2 FMU-inspired PPM config 2014-01-02 10:22:00 +01:00
Lorenz Meier 9612514a3f Testing disarming and rearming as well now, removed magic numbers in favor of constants 2014-01-02 09:50:51 +01:00
Lorenz Meier 9a9a6f3d86 Turned the mixer test into a real test, now also cross checking post mix results 2014-01-02 09:18:36 +01:00
Lorenz Meier a60fcc2535 Fixed pwm limit command to behave as originally designed. The initial hold time produced random values (e.g. 40000 instead of 1500) during the INIT_TIME (0.5s) phase 2014-01-02 09:18:04 +01:00
Julian Oes 1a21dcd34d ESC calib: low PWM value was not set 2014-01-02 08:28:33 +01:00
Stefan Rado 1e7e65717a Only send data packets we really support. 2014-01-02 02:11:52 +01:00
Stefan Rado 8fd909f519 Directly write to the voltage field for better precision. 2014-01-02 02:08:44 +01:00