949 Commits

Author SHA1 Message Date
Lorenz Meier
751a95deb8 Commander: Operate blue led on pixracer 2016-01-19 19:27:36 +01:00
Lorenz Meier
f485b60f57 Kill switch: Fix logic to only trigger on on/off state of switch, not on/undefined. Remove debug output. 2016-01-18 11:36:11 +01:00
Mark Whitehorn
8cb472af31 add RC kill switch 2016-01-18 11:36:11 +01:00
Andreas Antener
05b23a8b54 disable pos/vel control during mission in transitions 2016-01-14 16:07:01 +01:00
Lorenz Meier
ecc53488dd Commander: Allow commandline takeoff if already armed 2016-01-11 00:40:40 +01:00
Mark Charlebois
5bc2019fd5 Fixes for qurt build
Added missing functions that were added for other targets but not for qurt.

Added workaround for missing sem_timedwait(). This may have a performance
impact until a sem_timedwait is supported.

std::to_string is not supported by the hexagon compiler

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-01-08 08:49:36 +01:00
Lorenz Meier
ea1439c627 Commander: Support landing through commandline 2015-12-28 16:00:32 +01:00
Andreas Antener
f17c5d8d55 fixing takeoff mission and swtiching to previous flight mode after land/takeoff 2015-12-28 15:21:50 +01:00
Andreas Antener
64349c7a09 ability to switch to land mode 2015-12-28 15:21:50 +01:00
Andreas Antener
bfb862763c switching to prev main state after landing when disarmed 2015-12-28 15:21:50 +01:00
Andreas Antener
fbf42c8949 added auto takeoff support, updated configuration for solo and generalized landing mission items 2015-12-28 15:21:50 +01:00
Andreas Antener
e8e81650dc implemented command ACK 2015-12-28 15:21:50 +01:00
Lorenz Meier
3cbf69cef5 commander: print yaw for home 2015-12-28 15:13:09 +01:00
Lorenz Meier
e9b4946d9f Only update heartbeat timestamp if current 2015-12-21 14:14:17 +01:00
Lorenz Meier
802ce6ae0b Always set home position on takeoff 2015-12-20 20:29:22 +01:00
Lorenz Meier
daf1b764ea RC check: Remove redundant RC cal check 2015-12-09 11:54:26 +01:00
Andreas Antener
756282b195 added auto takeoff sub mode 2015-12-02 13:38:44 +01:00
Andreas Antener
df6fe7f993 transition to auto mission if custom mode param is not set 2015-12-02 13:38:44 +01:00
Nate Weibley
4e4f780ecc Add support for switching to auto modes via SET_MODE 2015-12-02 13:38:44 +01:00
Lorenz Meier
f0a4979da6 Merged master into driver_framework 2015-12-01 12:34:02 +01:00
Lorenz Meier
1feb30fd39 commander: Set process name on all OS 2015-12-01 11:53:59 +01:00
Lorenz Meier
a9fb11829f Commander: Fix scheduling so its not running at higher prio than control apps 2015-11-29 18:50:02 +01:00
Lorenz Meier
65002d279f Commander: Allow setting home position faster 2015-11-29 18:49:58 +01:00
Lorenz Meier
94eff8d9a8 Commander: Fix scheduling so its not running at higher prio than control apps 2015-11-29 17:05:01 +01:00
Roman Bapst
d55ccd96c6 let vtol attitude control module publish attitude setpoint during transition
Conflicts:
	src/modules/commander/commander.cpp
	src/modules/fw_att_control/fw_att_control_main.cpp
	src/modules/mc_pos_control/mc_pos_control_main.cpp
2015-11-25 13:28:21 +01:00
Nate Weibley
483cb11157 Fix comparison error in RC+GPS triggered FTS failsafe check
This bug would cause loss of RC + loss of GPS to trigger a FTS when flying in non-manual modes with a good data link
2015-11-24 23:14:25 +01:00
Lorenz Meier
34f4c57456 commander: Handle takeoff state 2015-11-22 16:03:58 +01:00
Lorenz Meier
1bfde3823c Commander: More efficient printing 2015-11-22 14:00:31 +01:00
Lorenz Meier
81039a2940 Commander: Fix home pos print 2015-11-22 13:59:24 +01:00
Lorenz Meier
65efee0d41 Commander: Be less verbose 2015-11-22 12:43:58 +01:00
Lorenz Meier
e5dc027833 Commander: Fixed takeoff command, made feedback less verbose 2015-11-21 22:20:13 +01:00
Lorenz Meier
a242c0ff6d Commander: Add takeoff command handler. Do not check RC config in SITL RC mode 2015-11-20 11:15:17 +01:00
David Sidrane
d5c89c5392 BUGFIX:Take 2! CLI "commander calibrate acel" resulted in hardfault
Processes: 20 total, 4 running, 16 sleeping
CPU usage: 65.19% tasks, 0.56% sched, 34.24% idle
Uptime: 387.573s total, 135.045s idle

 PID COMMAND                   CPU(ms) CPU(%)  USED/STACK PRIO(BASE) STATE
   0 Idle Task                  135045 34.242     0/    0   0 (  0)  READY
   1 hpwork                       7495  1.693   956/ 1592 192 (192)  w:sig
   2 lpwork                       1576  0.376   572/ 1592  50 ( 50)  w:sig
   3 init                         1655  0.000  1404/ 2496 100 (100)  w:sem
 170 top                             9  0.000  1204/ 1696 100 (100)  RUN
  87 dataman                         1  0.000   652/ 1192  90 ( 90)  w:sem
 105 sensors                     31810  8.090  1644/ 1992 250 (250)  w:sem
 107 gps                          1217  0.000   708/ 1192 220 (220)  w:sem
 109 commander                   49016 17.027  3412/ 3596 215 (215)  w:sig +100 184 head room
 114 mavlink_if0                  2607  0.564  2092/ 2392 100 (100)  READY
 115 mavlink_rcv_if0                27  0.000   804/ 2096 175 (175)  w:sem
 122 sdlog2                        849  0.188  2068/ 2992  70 ( 70)  READY
 125 commander_low_prio           4678  0.000  2740/ 2872  50 ( 50)  w:sem +200 132 head room
 142 attitude_estimator_q        65555 16.933  1956/ 2096 250 (250)  w:sem
 144 position_estimator_inav     23877  6.208  4588/ 4992 250 (250)  w:sem
 148 mc_att_control              31210  7.902  1132/ 1496 250 (250)  w:sem
 150 mc_pos_control               2901  0.658  1044/ 1496 250 (250)  w:sem
 155 navigator                    2219  0.470   828/ 1496 105 (105)  w:sem
 165 mavlink_if1                 21195  5.079  2156/ 2392 100 (100)  w:sig
 167 mavlink_rcv_if1               116  0.000  1236/ 2096 175 (175)  w:sem
2015-11-19 11:44:09 -10:00
Lorenz Meier
7a5391a723 Commander: Fix preflight check reporting and simplify logic 2015-11-19 18:28:16 +01:00
Lorenz Meier
f2b988dcaa Fix error reporting logic 2015-11-19 17:48:39 +01:00
Lorenz Meier
173edcef63 Commander: Fix reporting in presence of no telemetry link 2015-11-19 16:33:56 +01:00
Lorenz Meier
092a51426f Build fix and airspeed console cal 2015-11-17 12:59:45 +01:00
Lorenz Meier
907848452f Commander: Be less verbose during normal flight ops 2015-11-17 09:32:35 +01:00
Lorenz Meier
ff88fc00c0 Commander: Preflight check reporting cleanup, add USB breaker 2015-11-14 15:02:56 +01:00
Lorenz Meier
3aa3bf8f5f Commander: Do not report every new data link 2015-11-14 10:33:20 +01:00
Lorenz Meier
32bbbb0cdc Merge pull request #3171 from mhkabir/commander_prearm
Commander : Effectively track failure reporting and handle hotplug sensors
2015-11-14 10:29:28 +01:00
Kabir Mohammed
5fcfdb759c commander : hotplug sensor support, better failure reporting 2015-11-11 15:53:44 +05:30
Kabir Mohammed
40defeeced commander : fix led reporting 2015-11-11 15:35:55 +05:30
Lorenz Meier
0fe2bb5886 Commander: Read USB status 2015-11-04 18:23:19 +01:00
Lorenz Meier
4076383c49 Commander: Fix PX4_INFO call 2015-11-03 22:53:03 +01:00
Lorenz Meier
c20e7f8424 Commander: Provide console output on autosave 2015-11-03 08:57:30 +01:00
Lorenz Meier
484bd3bd89 Let commander be less verbose 2015-11-02 18:48:53 +01:00
Lorenz Meier
013e346612 Commander: Fix Geofence action access 2015-11-02 11:51:50 +01:00
Roman Bapst
e7ce15ccd5 Merge pull request #3063 from PX4/home_on_takeoff
Home on takeoff
2015-10-31 10:42:51 +01:00
Roman Bapst
2cf9294c68 Merge pull request #3053 from PX4/usb_enforce
Commander: prevent the user from arming the system with USB
2015-10-30 17:51:41 +01:00