Commit Graph

15166 Commits

Author SHA1 Message Date
Lorenz Meier ad9b875aea Pos control: Update symbol name 2015-06-05 22:45:06 +02:00
Lorenz Meier 4594945d57 commander: Forbid override in stabilized mode 2015-06-05 22:45:06 +02:00
Lorenz Meier 126ad2247e PX4IO: Code style fixes 2015-06-05 22:45:06 +02:00
Roman 032484bd31 added takeoff protection in altitude controlled modes, code duplication cleanup 2015-06-05 22:45:06 +02:00
Roman 629002738b define new mode for altitude 2015-06-05 22:45:06 +02:00
tumbili 8b6593495c reset waypoints when switching to fw pos_ctrl mode 2015-06-05 22:45:05 +02:00
Lorenz Meier 0e11f1632c MAVLink app: send out right mode flags for new stabilized mode 2015-06-05 22:45:05 +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
Lorenz Meier 8e935e6fa6 Add new stabilize mode 2015-06-05 22:45:05 +02:00
Simon Wilks 2f80ddd11a Correct the yaw gains to flyable values. 2015-06-05 22:44:50 +02:00
Lorenz Meier c92655b850 Merge pull request #2288 from UAVenture/qu4d_tuning
Correct the QU4D yaw gains to flyable values.
2015-06-05 22:44:41 +02:00
Lorenz Meier a0f2075d5a navigator: Decide feasibility of mission based on current position, not home 2015-06-05 22:44:00 +02:00
Lorenz Meier e6b97321df Merge branch 'release_v1.0.0' into beta 2015-06-05 22:42:27 +02:00
Simon Wilks f3e28bb361 Correct the yaw gains to flyable values. 2015-06-05 21:45:34 +02:00
David Sidrane 68276ff345 Back Port from Master - Changes to build on latest uavcan master with FW upload and Node ID 2015-06-05 06:43:10 -10:00
Lorenz Meier bd3fbd5fa2 Fixed wing HIL: More suitable tuning gains by default 2015-06-05 10:15:37 +02:00
Lorenz Meier 363a482165 Move navigation_capabilities uORB topic to generated message set 2015-06-05 10:14:58 +02:00
Lorenz Meier b1e462383d Merge pull request #2270 from PX4/uavcan_next
Changes to build on latest uavcan master with FW upload and Node ID
2015-06-05 01:39:25 +02:00
Lorenz Meier b0ed795ba8 Caipirinha: Improve default parameters based on Wing-Wing params 2015-06-05 01:12:10 +02:00
Lorenz Meier b9e8fd550a Merge pull request #2258 from tumbili/VTOL_fix
do not run fw attitude controller when in rotary wing mode (VTOL)
2015-06-04 21:08:58 +02:00
Lorenz Meier 0c0500f8da IO Firmware: Do not build ADC code if there is no ADC input for RSSI 2015-06-04 19:08:28 +02:00
Lorenz Meier 75ad5875cb Low-pass analog RSSI stronger 2015-06-04 18:45:45 +02:00
Lorenz Meier 9a16d9ebfa IO Firmware: Code style fix, fix RSSI ADC lowpass 2015-06-04 18:44:05 +02:00
David Sidrane 2d796f408d Ran Astyle 2015-06-04 03:27:40 -10:00
David Sidrane 3f56892950 Merge branch 'uavcan_next' of https://github.com/PX4/Firmware into uavcan_next 2015-06-04 03:25:43 -10:00
David Sidrane 6155a1557f Changes to build on latest uavcan master with FW upload and Node ID allocation 2015-06-04 02:37:59 -10:00
Lorenz Meier 44cf402c6f FX79: Set better default values for airspeed and loiter radius 2015-06-04 13:46:39 +02:00
Lorenz Meier 1d58190bf9 Default altitude mode to first order hold (line between waypoints) and allow missions to be further away to still successfully start them 2015-06-04 13:31:12 +02:00
Lorenz Meier 75082f90ec Final touchup on caipi mixer 2015-06-04 13:28:31 +02:00
Lorenz Meier 61a8e2e270 Caipi mixer improvements 2015-06-04 13:06:03 +02:00
Lorenz Meier 9ce7fe483a Merge pull request #2272 from mcharleb/mavlink-cleanup
Removed unused file mavlink_main_posix.cpp
2015-06-04 08:43:46 +02:00
Lorenz Meier 39b0100138 Merge pull request #2271 from mcharleb/param-union-fix
remove long long from union param_value_u
2015-06-04 08:43:14 +02:00
Lorenz Meier fe82b412f6 Merge pull request #2269 from mcharleb/uorb-posix-fix
Created px4_access to handle check of virtual files
2015-06-04 08:39:56 +02:00
Mark Charlebois 4d8061b22c Removed unused file mavlink_main_posix.cpp
The posix and nuttx changed were re-integrated back into mavlink_main.cpp

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-03 21:05:03 -07:00
Mark Charlebois 7c00bf11fd remove long long from union param_value_u
The long long was mistakenly added when debugging an alignment issue
on x86_64.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-03 21:00:40 -07:00
David Sidrane d720a42a35 Changes to build on latest uavcan master with FW upload and Node ID allocation 2015-06-03 13:47:36 -10:00
Mark Charlebois f985a48fbc Created px4_access to handle check of virtual files
uORBManager_posix.cpp did a stat to see if a file exists but the
file is actually a virtual file. Using stat was incorrect because
it required a stat buffer that was never used. The POSIX access
function is a better choice so I created a px4_access version to
handle virtual files.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-03 16:22:14 -07:00
Lorenz Meier 3dbd48fbad param style fix 2015-06-03 22:51:02 +02:00
David Sidrane 03bdf1e5f2 Allow allocation of changed paramaters to fail, then all param functions will return PARAM_INVALID or a count of 0 2015-06-03 22:49:57 +02:00
David Sidrane bcb3529490 Added confitional definition 2015-06-03 22:49:57 +02:00
David Sidrane 9d055ef95b Added ASSERT macro that mimic Nuttx but uses the system assert 2015-06-03 22:49:57 +02:00
David Sidrane 7950167bc5 Added assertion on allocation failure for parameter change storage, removed magic numbers 2015-06-03 22:49:57 +02:00
Lorenz Meier cf2d66bd81 Merge pull request #2268 from mcharleb/hrt_queue-fixes
Hrt queue fixes
2015-06-03 21:48:04 +02:00
Mark Charlebois f763c4cc0e POSIX: fixed type used in USEC2TICKS
The macro was using a constant defined as a long instead on an
unsigned long. Made corresponsing changes to barosim.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-03 11:49:28 -07:00
Mark Charlebois 122c52c731 POSIX: Fixes for ARMv7 build
uint64_t needs to use PRIu64 in printf.
Clang-3.5 found an error is variable types for a compare.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-02 16:55:39 +00:00
Mark Charlebois 325e063f18 POSIX: fixes for gcc
GCC complains about strict prototypes.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-02 16:55:39 +00:00
Mark Charlebois af45954690 POSIX: hrt_work_lock.h to hrt_work.h
The header file now contains all hrt workqueue related prototypes.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-02 16:55:38 +00:00
Mark Charlebois 6fd612a218 POSIX: fixed function prototype
Function was changed to be void but prototype was not updated

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-02 16:55:38 +00:00
Mark Charlebois b4152f3daa POSIX: Fixed output for list_topics, list_devices, etc
Removed extra carriage returns in output strings

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-02 16:55:37 +00:00
Mark Charlebois 5e95b83eff POSIX: Fixes for HRT implementation of simulated HW clock polling
There is a race condition for the accel and mag polling rates.
Whichever one gets set first, the other will be uninitialized.

Set the mag polling rate to 1ms if uninitilized.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-02 16:55:34 +00:00