Commit Graph

13526 Commits

Author SHA1 Message Date
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
Lorenz Meier a0f2075d5a navigator: Decide feasibility of mission based on current position, not home 2015-06-05 22:44:00 +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 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 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 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 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 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
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 7950167bc5 Added assertion on allocation failure for parameter change storage, removed magic numbers 2015-06-03 22:49:57 +02:00
Lorenz Meier 9882b78383 Merge pull request #2248 from mcharleb/gyrosim-fix
Gyrosim: Fixed constant looping
2015-06-02 01:40:49 -07:00
Lorenz Meier 9ad9dd13d2 Merge pull request #2252 from UAVenture/param_meta_fix
Fix group for posctl_th
2015-06-02 01:36:25 -07:00
Lorenz Meier 00fc4b5f13 Merge pull request #2256 from mcharleb/fixes-for-gcc
Fixes for gcc 4.8
2015-06-02 01:35:20 -07:00
Roman 7331ea32ef make navigator work for posix 2015-06-01 23:40:20 +02:00
Roman b688e3b97c remove unnecessary parenthesis 2015-06-01 11:17:40 +02:00
Roman 9ff89ffe5c use PX4_ISFINITE 2015-06-01 11:16:32 +02:00
Roman 64e8419ab0 remove suffix for double 2015-06-01 11:15:56 +02:00
Roman 6bc0d4d03b add definition of MAX_RAND 2015-06-01 11:14:45 +02:00
Lorenz Meier db3ac5f3ac commander: Compile fix 2015-05-30 19:06:05 -07:00
Lorenz Meier 164a1178b8 commander: Be more verbose about low battery warnings, do not trigger low battery warning sound in HIL 2015-05-30 18:43:25 -07: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 ca88251124 Fixes for gcc 4.8
The use of a non-static function without a declaration generates a
warning for gcc 4.8.

Clang-3.4 does not work when compiling for gprof. The executable always
generates a segv.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-29 12:38:51 -07:00
Andreas Antener 27f0b4edd7 fix group for posctl_th 2015-05-29 10:04:38 +02:00
Lorenz Meier d8aebc805f MAVLink app: Further improvements on simulated RC scaling 2015-05-28 18:49:02 -07:00
Lorenz Meier c62ae87c69 Merge release_v1.0.0 into master 2015-05-28 18:08:31 -07:00
Lorenz Meier aab379cde9 MAVLink app: Fix yaw scaling for joystick input 2015-05-28 17:41:03 -07:00
Lorenz Meier 5ac5fae020 MAVLink app: better yaw scaling 2015-05-28 11:50:18 -07:00
Lorenz Meier d39db2eba8 MAVLink app: better yaw scaling 2015-05-28 11:49:57 -07:00
Mark Charlebois 2d85578599 Gyrosim: Fixed constant looping
Gyrosim would call measure continuously because the write_checked_reg
was failing. There is no need to check faked reg writes in the
simulator so that code was removed.

The delay that was added to the simulator to pace the gyrosim reads
was also removed now that the source of the problem was determined.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-28 11:20:30 -07:00
Lorenz Meier d7547d388f Remove auto-generated airspeed topic 2015-05-27 15:21:34 -07:00
Lorenz Meier 1c6127b192 MAVLink app: Update command struct 2015-05-27 15:21:34 -07:00
Lorenz Meier 17adf552ef TECS: Update logging struct 2015-05-27 15:21:34 -07:00
Lorenz Meier c18210b163 commander: Update command names 2015-05-27 15:21:33 -07:00
Lorenz Meier c5bf6765d2 bottle_drop: Update command names 2015-05-27 15:21:33 -07:00