Commit Graph

28679 Commits

Author SHA1 Message Date
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
Mark Charlebois 238db8c6d7 Moved IOCTL definitions to DevIOCTL.h in DriverFramework
Removed sched.h from platform/qurt since it is now in DSPAL.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-17 19:30:51 -08:00
tumbili 154fa07a46 fixes after review 2015-11-17 22:28:09 +01:00
Roman c989c21269 fixed geo functions 2015-11-17 22:28:09 +01:00
Roman e48cf53ce8 fix code style 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
Roman 2719789b2e use matrix lib to enable building for posix 2015-11-17 22:28:09 +01:00
Roman 4abff89be0 updated terrain estimator and runway takeoff libs to cmake build system 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 896dff40cf added geo functions to create new waypoints from given setting 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
Andreas Antener 36df3a0499 fixed minor things from review 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 f5f61e42af replaced magic values with parameters, renamed internal representations 2015-11-17 22:28:08 +01:00
Andreas Antener 9c70eb0b63 reduce wheel control speed scaling 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 178ec7f4fc stay out of climbout once height has been reached, don't mix navigator roll with fixed heading 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 0c875dd6d1 calculate shortest yaw error 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
Andreas Antener 059e40f780 - fixed throttle ramp-up
- added parameter to specify which heading to keep on runway
- validate terrain alt before using it
2015-11-17 22:28:07 +01:00
tumbili f43d50fbc9 implemented runway takeoff for fw 2015-11-17 22:28:07 +01:00
tumbili ee4249f30f extended ecl yaw controller for yaw tracking with rudder 2015-11-17 22:28:07 +01:00
ChristophTobler 8044c5aaf6 remove unnecessary lines 2015-11-17 16:59:44 +01:00
ChristophTobler b0515ef07d added a disabling flag for mocap when using fake gps 2015-11-17 16:47:32 +01:00
ChristophTobler dfdf7dce4d new mode for fake gps 2015-11-17 16:38:11 +01:00