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
Lorenz Meier
75e962ee7c
Merged master into driver_framework
2015-11-20 09:14:37 +01:00
Lorenz Meier
71320ac0fe
Commander: Add decimal hints
2015-11-20 09:01:15 +01:00
Mark Charlebois
34410e7ce4
Changes for updated DriverFramework
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-11-19 19:03:10 -08: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
David Sidrane
2ffccc5c9f
BUGFIX:CLI "commander calibrate acel" resulted in hardfault
2015-11-19 07:50:45 -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
ca125bccbd
Update error message
2015-11-19 16:03:36 +01:00
Lorenz Meier
c77c0f927b
Gyro cal: be more forgiving in calibration offset
2015-11-19 15:54:57 +01:00
Lorenz Meier
8b70bd2487
Commander: Increase stack for commandline calibration
2015-11-19 15:53:32 +01:00
Lorenz Meier
020844e9e9
Gyro: also output to console
2015-11-19 15:53:08 +01:00
Mark Charlebois
52957ab0cc
Don't add DriverFramework dir for NuttX
...
I am unable to get the nuttx build dependencies set up so that
it builds the export dir before it builds df_driver_framework.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-11-18 20:14:48 -08:00
Mark Charlebois
af155b8e59
Fixed SITL build
...
The SITL build seems to run correctly now
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-11-18 13:02:39 -08:00
Mark Charlebois
b8c40ecb6b
Enabled DriverFramework drivers for SITL build
...
The code here works only for SITL at the present time.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-11-18 11:58:21 -08:00
Lorenz Meier
092a51426f
Build fix and airspeed console cal
2015-11-17 12:59:45 +01:00
Lorenz Meier
0509a5a9ea
Enforce airspeed check for VTOLs
2015-11-17 12:35:24 +01:00
Lorenz Meier
e070f671ae
Preflight: better reporting
2015-11-17 12:24:51 +01:00
Lorenz Meier
907848452f
Commander: Be less verbose during normal flight ops
2015-11-17 09:32:35 +01:00
Mark Charlebois
618626103f
Use DevMgr::getNextDevicePath()
...
Also, a fix for number of args passed for accelsim.
Updated to newest version of DriverFramework.
DF drvices show up now in list_devices
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-11-16 16:57:57 -08:00
Mark Charlebois
dbe3b0e52b
Re-enabling code to handle DF framework
...
Updated to latest DriverFramework and changed ioctl args to
unsigned int from void *.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-11-16 13:51:39 -08: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
Lorenz Meier
cc8f159bcc
REVERT THIS COMMIT LATER: Temporarily disable the device listing
2015-11-12 15:31:38 +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
Mark Charlebois
efd9995a10
Ported more simulated sensors to DriverFramework
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-11-10 07:45:13 -08:00
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
Lorenz Meier
35d8e0bc55
Raise frame size
2015-10-31 20:32:58 +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
tumbili
4e87ac6014
run preflight checks after mode switch has changed
2015-10-30 16:29:28 +01:00
tumbili
a71164ea11
added parameter to disable auto disarming when landed
2015-10-29 23:00:17 +01:00
Lorenz Meier
29db75fe56
Commander: Disarm after 5 seconds on the ground.
2015-10-29 23:00:17 +01:00
Eddy
5cbb5a76a1
Fixed variable naming to match current master
2015-10-28 16:01:18 -04:00
Eddy Scott
72c339a7ac
Added else if switch for ACRO/RATTITUDE Handeling to be proper
2015-10-28 08:37:12 -04:00
Eddy Scott
c4a82d78c8
Added commander support for rattitude mode. Still need to incorporate attitude/rate switching in multicopter control
2015-10-28 08:37:12 -04:00
Lorenz Meier
3f4a8bf76d
Commander: Set yaw on takeoff and use it as yaw during descend phase of RTL
2015-10-27 09:58:54 +01:00
Lorenz Meier
b7f3c96d4a
Set home on arming and on takeoff
2015-10-27 09:36:09 +01:00
Lorenz Meier
8d0e10e830
Commander: Set home on takeoff
2015-10-27 09:30:54 +01:00