Commit Graph

13526 Commits

Author SHA1 Message Date
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
Roman Bapst b156519468 Merge pull request #3210 from PX4/tailsitter_gazebo
Tailsitter gazebo
2015-11-18 17:39:14 +01:00
tumbili 354e623318 support for vtol simulation 2015-11-18 16:11:10 +01:00
Lorenz Meier 2e632cb84a Merge pull request #3143 from PX4/takeoff_landing
Takeoff landing
2015-11-18 12:42:36 +01:00
Lorenz Meier 090fef8ea3 Merge pull request #3203 from ChristophTobler/master
changes needed for fake gps
2015-11-18 10:29:18 +01:00
Lorenz Meier e045ab131e Merge pull request #3192 from PX4/uavcan-fix-3190
Removed an excessive template disambiguator
2015-11-18 10:09:04 +01:00
Mark Charlebois d2cacb9bc6 Added changes to sensors.cpp for DriverFramework
This only works for DF based builds (not NuttX).
NuttX is not yet ported to DF.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-17 23:17:52 -08:00
tumbili 154fa07a46 fixes after review 2015-11-17 22:28:09 +01:00
Roman 120fd9d522 use control state topic for attitude and airspeed 2015-11-17 22:28:09 +01:00
Andreas Antener d97ead81aa set talt timeout to 10sec 2015-11-17 22:28:09 +01:00
Andreas Antener 5b1c7321e7 reverted navigation on landing back to old heading hold 2015-11-17 22:28:09 +01:00
Roman 6f4c8d45ff during flare control pitch setpoint based on distance to ground 2015-11-17 22:28:09 +01:00
Roman 7f0c3a9b71 use virtual setpoint for landing line tracking 2015-11-17 22:28:09 +01:00
Roman 3d3398e330 added code handling aborting landings 2015-11-17 22:28:09 +01:00
tumbili 5f40094685 fixed bug which lead to direct yaw control in stabilized mode 2015-11-17 22:28:09 +01:00
tumbili 0bd23dd7c5 only go into heading hold mode after flaring 2015-11-17 22:28:09 +01:00
tumbili 73b1c18698 do not stick to terrain estimate if it's not valid 2015-11-17 22:28:09 +01:00
Andreas Antener 4e22d65325 don't use virtual line anymore for takeoff but use correct starting point to navigate, updated default parameters for wheel controller 2015-11-17 22:28:09 +01:00
Andreas Antener 5949b6615d don't reset the yaw integrator on takeoff 2015-11-17 22:28:09 +01:00
tumbili 11c6ee2b5a make terrain estimate invalid after range sensor timeout 2015-11-17 22:28:08 +01:00
tumbili 1ae7221593 make flaps and flaperons continuous 2015-11-17 22:28:08 +01:00
tumbili b30091be00 minor fixes 2015-11-17 22:28:08 +01:00
tumbili f3e0d91f24 added airspeed scale parameter for takeoff and landing 2015-11-17 22:28:08 +01:00
tumbili 42d03cb076 activate wheel controller as soon as plane flares 2015-11-17 22:28:08 +01:00
tumbili 7fc97ed147 implemented use of flaps for auto landings 2015-11-17 22:28:08 +01:00
Andreas Antener b16e6249e4 more correct groundspeed scaling for wheel controller 2015-11-17 22:28:08 +01:00
tumbili 3b865624f1 added library for terrain_estimation
Conflicts:
	makefiles/nuttx/config_aerocore_default.mk
	makefiles/nuttx/config_px4fmu-v1_default.mk
	makefiles/nuttx/config_px4fmu-v2_default.mk
	makefiles/nuttx/config_px4fmu-v2_multiplatform.mk
	makefiles/posix/config_posix_sitl.mk
2015-11-17 22:28:08 +01:00
Andreas Antener e0cdf65fb4 use navigator to hold heading 2015-11-17 22:28:08 +01:00
Andreas Antener d015fbd678 added startup config for Maja and new generic mixer that uses channel 5 for wheel steering 2015-11-17 22:28:08 +01:00
Andreas Antener ff57c809b8 updated default wheel params after first test 2015-11-17 22:28:08 +01:00
Andreas Antener 0769ec5345 added max pitch parameter for climbout phase 2015-11-17 22:28:08 +01:00
Andreas Antener e987082292 split takeoff into 2 phases, reseting integrators when still on runway 2015-11-17 22:28:08 +01:00
Andreas Antener 234a200e60 renamed heading controller to wheel controller, added groundspeed dependency and separate parameters 2015-11-17 22:28:08 +01:00
Andreas Antener 6c31421889 extracted heading controller 2015-11-17 22:28:08 +01:00
Andreas Antener 51ef854173 extracted runway takeoff logic into external class 2015-11-17 22:28:08 +01:00
Andreas Antener 1f8ebb71f5 fix comment 2015-11-17 22:28:08 +01:00
Andreas Antener b93f34c99b use separate heading parameter beacause the other one gets reset in auto 2015-11-17 22:28:08 +01:00
Andreas Antener 24179a0d93 consitent parameter naming for runway takeoff, added parameters for important values 2015-11-17 22:28:08 +01:00
Andreas Antener ea884b34f0 use and reset the new yaw control method 2015-11-17 22:28:07 +01:00