38 Commits

Author SHA1 Message Date
Lorenz Meier
454becdae5 Merged release_v1.0.0 branch into master 2015-06-25 21:45:17 +02:00
Lorenz Meier
b5a79bbc0b commander: Use distinct tunes for home set and mission ok / failed 2015-06-15 17:28:05 +02:00
Lorenz Meier
a4b2389460 Commander: Support new mission status 2015-06-15 17:28:05 +02:00
Lorenz Meier
e5fad077df Merge master into linux 2015-05-18 23:28:57 +02:00
Lorenz Meier
83fdb9931a commander / mavlink: Add battery status to output BATTERY_STATUS MAVLink message 2015-05-17 17:44:51 +02:00
Mark Charlebois
190814bc97 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	src/drivers/rgbled/rgbled.cpp
	src/modules/commander/PreflightCheck.cpp
	src/modules/commander/airspeed_calibration.cpp
	src/modules/commander/calibration_routines.cpp
	src/modules/commander/gyro_calibration.cpp
	src/modules/commander/mag_calibration.cpp
	src/modules/mc_att_control/mc_att_control_main.cpp
2015-04-28 11:48:26 -07:00
Roman Bapst
bd1c3363df added new vtol mav types 2015-04-27 22:22:52 +02:00
Mark Charlebois
f63ab3d5e3 Merge branch 'master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	makefiles/firmware.mk
2015-04-22 10:38:46 -07:00
Roman Bapst
5b772e5720 update vehicle status before doing preflight checks 2015-04-22 13:32:09 +02:00
Mark Charlebois
694427e4ba Converted commander to use px4_posix calls
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:37:50 -07:00
Mark Charlebois
bba26c3430 Linux: enabled commander module
The commander module now compiles for Linux.

state_machine_helper_linux.cpp iterates over the virtual devices vs
all devices under /dev as per NuttX when disabling publishing.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:37:50 -07:00
Lorenz Meier
8ebf9755e4 commander: Fix battery config 2015-03-28 13:54:05 -07:00
Lorenz Meier
49b3906b78 commander: Fix status checks for leds and adjust stack size based on actual use 2015-03-15 14:33:22 +01:00
Johan Jansen
dc522f217f Commander: Fix GPS loss not handled properly 2015-02-11 16:42:01 +01:00
Lorenz Meier
807cf7bd16 Commander: Implement calibration routines for multi-sensor setups 2015-02-09 22:56:23 +01:00
Thomas Gubler
2d124852c1 propagate uorb contants change through all modules/drivers 2015-01-28 16:31:41 +01:00
Lorenz Meier
c95de36d3a commander: Add missing parameter definition 2014-07-20 19:42:31 +02:00
Lorenz Meier
264fe884a2 Fixed load voltage calculation 2014-07-20 16:28:44 +02:00
Lorenz Meier
3935540c7d Set full voltage correctly to ensure percentage range fits. Force all users to new value by param renaming. Since this will tend to show batteries as more drained than before, this is a change in a safe direction and will not trigger unnoticed discharges. 2014-07-20 16:23:43 +02:00
Lorenz Meier
3a0fc36c67 Consider the throttle load for battery voltage calculation 2014-07-19 14:12:33 +02:00
Lorenz Meier
afc8908d38 commander: More docs-only changes in headers. 2014-07-13 11:45:32 +02:00
Lorenz Meier
b1f223b468 commander: Default all leds to off 2014-06-24 22:22:56 +02:00
Ash Charles
e5508a1aa0 Add Gumstix AeroCore device
Based on the work of Andrew Smith [1], add board configuration and device
drivers to support the Gumstix AeroCore (previously Aerodroid) board [2]. The
AeroCore is an autopilot board based on a STM32F427 similar to the FMUv2.

[1] https://github.com/smithandrewc/Firmware
[2] https://store.gumstix.com/index.php/products/585/

Signed-off-by: Ash Charles <ashcharles@gmail.com>
2014-05-13 09:41:41 -07:00
Anton Babushkin
349809f535 sensors, commander: code style fixed 2014-05-11 13:36:51 +02:00
Lorenz Meier
1dfa2f100e commander: Stop mixing board support and high level code - just accept that non-mandatory leds may or may not be there 2014-04-30 15:33:47 +02:00
Anton Babushkin
0ead560059 commander: tunes cleanup and fixes 2014-02-11 18:24:20 +01:00
Anton Babushkin
855944fb2e commander: beeps and blinks cleanup 2014-02-11 16:35:05 +01:00
Anton Babushkin
6631ecf04a commander: reset blink_msg_end when blink message completed to set normal LED status immediately 2014-02-11 16:35:05 +01:00
Lorenz Meier
c1d1d67534 Improved RC calibration behaviour, fully supported setting trim offsets 2014-02-01 13:22:52 +01:00
Anton Babushkin
714f5ea634 Track raw battery voltage and filtered battery voltage separately. Estimate remaining battery as min(voltage_estimate, discharged_estimate). Battery voltage LPF time increased. 2013-11-11 22:02:55 +04:00
Anton Babushkin
6b085e8ced Use discharged current to estimate remaining battery charge if capacity is known 2013-11-08 21:30:10 +04:00
Anton Babushkin
2362041dc1 commander: state indication changed, 3 green blinks = succsess, 3 white blinks = neutral, 3 red blinks = reject 2013-09-19 19:58:41 +02:00
Randy Mackay
1a641b791d tone_alarm: more device paths replaced with #define 2013-09-16 07:21:16 +02:00
Jean Cyr
efca6f2cb1 Remove unused tones and save about 6K flash space
- Comment out unused tones
- Create symbolic tone numbers rather than hardcoded
2013-08-30 20:12:35 -04:00
Julian Oes
451adf2aa0 Added part of RGBLED stuff to commander 2013-08-16 18:05:59 +02:00
Julian Oes
d75c3c4e73 Try to open RGBLEDs in commander (WIP) 2013-08-15 17:48:28 +02:00
Anton Babushkin
02d4480e8e commander rewrite almost completed, WIP 2013-07-31 20:58:27 +04:00
Lorenz Meier
68ab69de01 moved commander to C++, preparation for better gyro scale calibration respecting the current attitude for more accurate results 2013-07-20 13:47:51 +02:00