TickTock-
7e621070ca
renamed mission_switch to loiter_switch and assisted_switch to easy_switch
2014-04-22 18:23:27 -07:00
TickTock-
d6e6ee3440
Merge branch 'rc_timeout' of https://github.com/TickTock-/Firmware into rc_merged
2014-04-22 17:43:36 -07:00
Anton Babushkin
a1cf8801bb
sdlog2: add failsafe state logging
2014-04-22 11:36:25 +02:00
Anton Babushkin
e4a4430f9f
Merge branch 'master' into rc_timeout
2014-04-22 11:18:07 +02:00
Anton Babushkin
302233a34f
Merge branch 'master' into mpc_local_pos
2014-04-22 11:13:11 +02:00
Lorenz Meier
aefea1a95d
Merge pull request #850 from PX4/mavlink_startup_cleanup
...
mavlink: Start the same in HIL mode as in normal mode. Requires all HIL ...
2014-04-22 09:57:56 +02:00
Lorenz Meier
f0e28a60ca
Revert "HIL: Increased MAVLink link wait time based on previous experience that this is timing sensitive."
...
This reverts commit 78bf7ed969
.
2014-04-22 09:57:16 +02:00
Lorenz Meier
5481b91ed1
Merge pull request #854 from jean-m-cyr/master
...
Reduce data manager SD card wear and tear
2014-04-22 09:39:13 +02:00
Jean Cyr
bf4558c31b
Reduce data manager SD card wear and tear
...
When the data manager was first designed each file record contained a 2
byte header and an 126 byte data section, resulting in a record length
of 128 bytes. Along the way it was decided to add 2 spare bytes to the
record header, but regrettably the data section was not correspondingly
reduced in size so we end up with a record length of 130 bytes. This is
bad since it does not align with SD card flash sectors and results in
more erase/write flash cycles than necessary thus reducing the SD cards
life.
This update reduced the data section of the data manager to 124,
resulting in an optimal record length of 128 bytes.
In order to avoid the reuse of data previously written data in the old
format, which could result in catastrophic misinterpretation, the data
manager file is checked at startup. If it is found to be in the old
format, it is deleted and recreated with in the new record length. In
this case previously stored data is lost, but that is far safer than the
unpredictable result of using the old file.
2014-04-22 01:19:01 -04:00
Lorenz Meier
af33660351
Merge pull request #853 from PX4/hil_batt_fix
...
commander: Also publish battery status in HIL, since we have a fake batt...
2014-04-22 01:39:12 +02:00
Lorenz Meier
a0c9227044
commander: Also publish battery status in HIL, since we have a fake battery available and the system freaks out without knowing its main supply
2014-04-22 01:38:15 +02:00
Lorenz Meier
20f20d54b0
Merge pull request #848 from PX4/lpos_logfix
...
Lpos logfix
2014-04-22 01:32:11 +02:00
Lorenz Meier
25b64e07ab
Merge pull request #851 from PX4/hil_hotfix
...
HIL: Increased MAVLink link wait time based on previous experience that ...
2014-04-22 01:30:08 +02:00
Lorenz Meier
78bf7ed969
HIL: Increased MAVLink link wait time based on previous experience that this is timing sensitive.
2014-04-22 01:29:39 +02:00
Lorenz Meier
ca77c380b5
sensors: Keep looping in sensors app even if gyros do not update any more. There are lots of other reasons we might want to keep clocking the system. This resolves the RC timeout dependency in HIL.
2014-04-22 01:25:25 +02:00
Lorenz Meier
815e221c1f
mavlink: Start the same in HIL mode as in normal mode. Requires all HIL tools to run sh /etc/init.d/rc.usb now. Improve UART error handling
2014-04-22 01:23:55 +02:00
Lorenz Meier
267b78f072
Fix of errors triggered by more pedantic compile options
2014-04-21 21:31:30 +02:00
Lorenz Meier
27755806d5
More pedantic warnings
2014-04-21 21:30:57 +02:00
Lorenz Meier
5e32ca29d5
Fixed LPOS message in log, added ground flags field
2014-04-21 21:25:54 +02:00
Lorenz Meier
6297b451ba
sdlog2: Fix indendation to expose length better, cut string lengths for excessive strings
2014-04-21 21:00:24 +02:00
Lorenz Meier
65e2062d7b
sdlog2: fix lpos labels string, shorten messages with excessive length
2014-04-21 20:56:02 +02:00
Lorenz Meier
1196fb03c7
Merge pull request #844 from PX4/mavlink_batt_fix
...
mavlink: remaining battery scaling fixed
2014-04-21 12:19:07 +02:00
Anton Babushkin
1f2e972ea6
mavlink: remaining battery scaling fixed
2014-04-21 12:16:45 +02:00
Lorenz Meier
6306644028
airspeed: Let the status check routine handle the initial state
2014-04-20 21:45:42 +02:00
Lorenz Meier
709d104de4
airspeed driver: Do not spam the console on error, report the system change only once
2014-04-20 21:43:18 +02:00
Lorenz Meier
071f9c648b
HMC5883: Do not spam the console on error and make everything worse.
2014-04-20 21:42:10 +02:00
Anton Babushkin
8634780e80
Merge branch 'master' into mpc_rc
2014-04-20 20:10:39 +02:00
Lorenz Meier
f8232fa269
fw_config_fixes
2014-04-20 02:05:20 +02:00
Lorenz Meier
8305058ca3
Merge pull request #827 from PX4/mavlink_range_finder
...
Mavlink range finder
2014-04-20 02:04:33 +02:00
Lorenz Meier
2ea32b315f
Merged master
2014-04-20 02:04:05 +02:00
Anton Babushkin
7372693fb9
attitude_estimator_ekf: added missing include
2014-04-19 22:56:58 +02:00
Anton Babushkin
3b9bfcc7a2
attitude_estimator_ekf: use degrees for ATT_MAG_DECL parameter to be consistent with documentation
2014-04-19 22:46:06 +02:00
TickTock-
86a0862af6
Added rc_map_failsafe to enable use of channels other than throttle for failsafe.
2014-04-19 13:07:09 -07:00
Lorenz Meier
0b85c41cd1
Merge pull request #820 from PX4/filter_nan_guard
...
pauls estimator: Added NaN guard before publishing
2014-04-19 15:14:13 +02:00
Lorenz Meier
2e38423426
Merge pull request #835 from TickTock-/blinkm_fix
...
Blinkm fix
2014-04-19 15:07:56 +02:00
Lorenz Meier
d79b82b946
Merge pull request #829 from PX4/uploader_hotfix
...
Hotfix to PX4IO uploader. There are no known mishaps due to it, but very...
2014-04-19 15:06:51 +02:00
eneadev
e2989bc091
Update drv_hrt.c
...
TIM3 was not working properly with a custom application and I got it work changing TIM3 HRT_TIMER_POWER_BIT from RCC_APB2ENR_TIM3EN to RCC_APB1ENR_TIM3EN because on datasheet TIM3 is on APB1, I think that you should check also the others
2014-04-19 13:08:29 +02:00
Lorenz Meier
12eae1777d
Merge pull request #838 from PX4/fix_mission_topic
...
fix mission topic bug, clearer naming
2014-04-18 12:13:13 +02:00
Julian Oes
a4b10bab30
navigator: wrong mission topic was copied, clearer naming of offboard mission now
2014-04-18 11:15:40 +02:00
TickTock-
967e9b6878
Fixed blinkm state indication (was not properly reporting flight mode). Added flashing orange safety disarmed state indicator and solid blue failsafe indicator. Changed safety on state to solid cyan. Increased LiPo cellcount support to 6.
2014-04-16 21:41:00 -07:00
Lorenz Meier
282f40d162
Hotfix to PX4IO uploader. There are no known mishaps due to it, but very clearly the IO firmware flashing process should be verified after an upload.
2014-04-15 19:25:07 +02:00
Lorenz Meier
c77c5c878b
Merge pull request #828 from PX4/cox_cleanup
...
startup: cleanup of cox mixer files (Thanks Rune)
2014-04-14 22:36:04 +02:00
Julian Oes
9be0dcdab1
startup: cleanup of cox mixer files (Thanks Rune)
2014-04-14 21:44:51 +02:00
Lorenz Meier
df987f3577
Merge pull request #822 from helenol/helen_mavlink_pull
...
Added a -w option to mavlink, added vicon messages to stream.
2014-04-13 23:39:27 +02:00
Lorenz Meier
eb9daf097e
Merged master into mavlink_range_finder
2014-04-13 23:34:25 +02:00
Lorenz Meier
5c08a1aeac
Untangled local pos and distance messages, now sending distance messages only for actual distance measuring devices
2014-04-13 23:32:52 +02:00
Lorenz Meier
6e83fe28a2
Merge pull request #825 from PX4/mavlink_flash
...
mavlink: Change to size optimization
2014-04-13 23:31:26 +02:00
Lorenz Meier
41a34f2ccb
Merge pull request #826 from PX4/mavlink_update
...
mavlink: Updated protocol files
2014-04-13 23:31:05 +02:00
Lorenz Meier
f846690395
Added rangefinder message to MAVLink app
2014-04-13 23:30:09 +02:00
Lorenz Meier
80cd2e6c9b
Added fields to range finder clarifying sensor properties
2014-04-13 23:29:12 +02:00