Commit Graph
196 Commits
Author SHA1 Message Date
tumbili 5f40094685 fixed bug which lead to direct yaw control in stabilized mode 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
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 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
Andreas Antener ff57c809b8 updated default wheel params after first test 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 ea884b34f0 use and reset the new yaw control method 2015-11-17 22:28:07 +01:00
tumbili f43d50fbc9 implemented runway takeoff for fw 2015-11-17 22:28:07 +01:00
Youssef Demitri 069c6a82cb Merge branch 'master' of github.com:wingtra/Firmware into control_state 2015-10-16 15:50:29 +02:00
Lorenz Meier ee77ff4830 FW Att control: Avoid no symbols warnings 2015-10-14 22:36:01 +02:00
Youssef Demitri c22c678b7d Merge branch 'master' of github.com:PX4/Firmware into control_state 2015-10-14 11:02:23 +02:00
Youssef Demitri e72e72cd65 removed vehicle_attitude subscription from fw_att_control 2015-10-14 10:53:19 +02:00
Youssef Demitri 5092bcae70 fully ported control state attitude into fw_att_control 2015-10-14 09:57:41 +02:00
Lorenz Meier fb1af08234 FW att control: Remove excessive stack allocation 2015-10-10 22:23:35 +02:00
Youssef Demitri 8d756055b8 integrated control state in fw_att_control 2015-10-09 08:59:05 +02:00
Lorenz Meier fa5071b3c5 Remove module.mk files to prevent confusion of adopters upgrading 2015-10-06 11:23:20 +02:00
James Goppert 1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
tumbili b4839731ad use correct syntax for polling 2015-09-01 09:36:27 +02:00
Lorenz Meier a508330bdf Fix attitude controller braces 2015-08-23 17:41:45 +02:00
devbharat 8257f3d2fd Replaced exits with return 2015-08-23 14:39:33 +02:00
devbharat 20d71870ec Minor changes to get fixed wing control apps running for posix 2015-08-23 14:39:25 +02:00
Lorenz Meier 62269004c8 FW control: Remove unused parameters 2015-08-19 10:43:35 +02:00
tumbili 04f55ce784 vtol fixes:
- mc pos control: publish attitude setpoint when vtol is in trans mode
- fw att control: do not publish attitude setpoint when in transition mode
- introduce flag in_transition_mode in vehicle status message for vtol
- improve tiltrotor code based on flight testing
2015-08-12 20:33:17 +02:00
Simon Wilks 809b6591c3 Bring back the ability to transition plus a partial cleanup of tiltrotor support and firefly6 config updates. 2015-08-05 16:16:03 +02:00
Lorenz Meier 4cf51beb4b FW Att control: Fix merge fail for attitude setpoint 2015-08-04 17:44:54 +02:00
Lorenz Meier 420acb9748 Merge branch 'beta' 2015-08-04 10:56:53 +02:00
Lorenz Meier 5b3449e75b FW Att control: Crank up pitch default gains 2015-08-02 16:07:32 +02:00
Lorenz Meier 4e1faafc9b Remove unused variables 2015-08-02 16:07:32 +02:00
Lorenz Meier fbc1b78b38 Attitude control: Enforce rate limits by default to prevent jittery control outputs / steps 2015-08-02 16:07:32 +02:00
Lorenz Meier ea7ae7d019 Merged beta into master 2015-08-01 16:58:02 +02:00
Lorenz Meier 06c45aadfb FW attitude control: Increase default integrator gains to compensate common airframe trim issues 2015-07-19 16:03:08 +02:00
Lorenz Meier d1f8edb346 Merged beta into master 2015-07-04 23:02:47 +02:00
Lorenz Meier 939d475ef2 Output flaps in all flight modes 2015-07-04 11:59:10 +02:00
Lorenz Meier ec85918e40 Set better defaults for fixed wing attitude controllers 2015-07-04 11:39:12 +02:00
Lorenz Meier 454becdae5 Merged release_v1.0.0 branch into master 2015-06-25 21:45:17 +02:00
tumbili 4e9fd5b2a4 rotate attitude for fw mode only if VTOL is a tailsitter 2015-06-19 09:25:16 +02:00
Lorenz Meier c9fefe236b Merged release into master 2015-06-13 11:06:01 +02:00
Lorenz Meier 8838b18da7 FW attitude control: Run attitude controller as fast as we can to minimize latency 2015-06-12 16:10:20 +02:00
Lorenz Meier 90362a9889 FW attitude controller: Fix usage of trim parameters to apply only to the final outputs 2015-06-09 14:16:37 +02:00
Lorenz Meier 46d969772c Fixed wing heading hold: Engage only after wings got close to level already 2015-06-05 22:45:07 +02:00
Lorenz Meier 21fde4b3f6 fw att control: Code style fixes 2015-06-05 22:45:06 +02:00
Lorenz Meier 5197be67a7 FW control: Add skeleton for distinct altitude control and position control flight modes
Conflicts:
	src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp
2015-06-05 22:45:05 +02:00
tumbili 134c7d87b8 do not run fw attitude controller when in rotary wing mode (VTOL) 2015-05-30 15:39:37 +02:00
Mark Charlebois 1ca05aaa64 orb_advert_t changed to void * and checks changed to nullptr
The existing orb_advert_t use thoughout the code sometimes tries
to treat it as a file descriptor and there are checks for < 0
and ::close calls on orb_advert_t types which is an invalid use
of an object pointer, which is what orb_advert_t really is.

Initially I had changed the -1 initializations to 0 but it was
suggested that this should be nullptr. That was a good recommendation
but the definition of orb_advert_t had to change to void * because
you cannot initialize a uintptr_t as nullptr.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:42:49 -07:00
Mark Charlebois a734fc96d1 extensive orb_advert_t fixes
The calls to orb_advertise were being mishandled throughout the code.
There were ::close() calls on memory pointers, there were checks
against < 0 when it is a pointer to a object and values larger than
0x7ffffffff are valid. Some places orb_advert_t variables were
being initialized as 0 other places as -1.

The orb_advert_t type was changed to uintptr_t so the pointer value
would not be wrapped as a negative number. This was causing a failure
on ARM.

Tests for < 0 were changed to == 0 since a null pointer is the valid
representation for error, or uninitialized.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:41:33 -07:00
Ban Siesta 96bfe85ceb fw_att_control: another ugly way to prevent a newline 2015-05-26 23:05:26 -07:00