15635 Commits

Author SHA1 Message Date
Johan Jansen
f020ad4ba3 Commander: Check if GPS receiver is suffering from jamming noise 2015-05-14 19:29:35 +02:00
Johan Jansen
45f1fd6634 Commander: Add preflight check for missing GPS module 2015-05-14 19:19:30 +02:00
Johan Jansen
c0a9e08a30 ROMFS: Start GPS driver before Commander so that preflight check can be run 2015-05-14 19:18:05 +02:00
Mark Charlebois
a3a0d0612c QuRT: enabled more modules
rgbled is now enabled.

Saving parameters causes a crash so those commands are not enabled.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-14 09:45:03 -07:00
Lorenz Meier
6b285a73bb Merge pull request #2174 from nopeppermint/addusart6_discovery
Add usart 6 to px4-stm32f4discovery board
2015-05-14 18:30:14 +02:00
Lorenz Meier
8a73f91ad6 Commander: Be less verbose about param saves to focus the user attention to relevant output 2015-05-14 17:33:07 +02:00
Mark Charlebois
abe61a3d7e Added missing return on error
When mc_pos_control_main.cpp was ported to posix one error condition
retuned 0 instead of 1.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-14 08:32:51 -07:00
Lorenz Meier
e7c3032218 Mag calibration: Accept less rotation to start the UI, ensure calibration abort does indeed abort. 2015-05-14 17:31:05 +02:00
Lorenz Meier
33338ee2d0 Q attitude estimator: Comment undocumented params 2015-05-14 17:12:31 +02:00
Lorenz Meier
8ac81515ce EKF estimator: Remove unused params 2015-05-14 17:12:31 +02:00
mcharleb
2bdfd8ca1b Merge pull request #11 from tumbili/mc_pos_control
Multicopter position controller port
2015-05-14 06:58:21 -07:00
tumbili
cfa0073c35 build mc_pos_control 2015-05-14 14:58:46 +02:00
tumbili
f6bf6c89ff ported mc_pos_controller 2015-05-14 14:58:23 +02:00
Mark Charlebois
b2c12ff522 QuRT: added stub for inclusion of libdspal.a
libdspal.a is still incomplete and so is not yet used

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-13 18:49:00 -07:00
Mark Charlebois
8e346a06fb QuRT: enable uORB, and simulator
uORB, the simulator and simulated devices now run

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-13 18:03:08 -07:00
Mark Charlebois
884f62878d QuRT: pthread API now working
The use of std::map and static initialization was an issue.

The code was refactored to not use static initialization.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-13 16:21:52 -07:00
Lorenz Meier
a5e69359fc Merge pull request #2167 from PX4/default_I_gains
set default, weak rate I gains for multirotors
2015-05-14 00:40:46 +02:00
Lorenz Meier
ea278ea926 Merge pull request #2169 from PX4/fix_LED
make main LED show low and critical battery status
2015-05-14 00:39:56 +02:00
Lorenz Meier
7d775eb112 Merge pull request #2170 from andrea-nisti/master
mpc parameter INAV_W_Z_VIS_P increased
2015-05-14 00:39:22 +02:00
nopeppermint
169f112f0d change name in board.h 2015-05-13 22:59:30 +02:00
nopeppermint
52fca5b7a1 correct comments 2015-05-13 22:24:32 +02:00
nopeppermint
b0efb24468 add USART6 on PC6(TX) and PC7(RX) to discovery 2015-05-13 22:21:59 +02:00
Lorenz Meier
14b09d6367 Merge pull request #2171 from NaterGator/master
Fix potential null pointer deref in Mavlink dtor if task_main returns error
2015-05-13 19:17:15 +02:00
mcharleb
7115ec3ab6 Merge pull request #10 from tumbili/hil_message
read hil sensor message instead of highres imu message
2015-05-13 09:19:41 -07:00
Nate Weibley
b4e7b041ca Fix potential null pointer deref if Mavlink start fails before task_main loop
LL_APPEND is called just before the loop spins up but various error conditions can cause the task to exit before then.
When that happens Mavlink::start_helper calls delete on the instance which tries to prune it from the global list.
If this is the first Mavlink instance to attempt starting the list head is null and we hardfault in the Mavlink dtor.

Only call LL_DELETE after checking the list head for a null pointer.
2015-05-13 11:33:11 -04:00
Andrea Nistico
16aa03e30a mpc parameter INAV_W_Z_VIS_P increased 2015-05-13 17:22:10 +02:00
Roman Bapst
90c3aec1fd make main LED show low and critical battery status 2015-05-13 16:24:44 +02:00
Lorenz Meier
66b87ac761 Fix state-level HIL. Reported by @s3erjaeh 2015-05-13 16:04:33 +02:00
Lorenz Meier
0dc62633f3 Merge branch 'master' into beta 2015-05-13 15:47:05 +02:00
Lorenz Meier
6f94951050 Fix sdlog2 stopping on param write. Found by Severin Leuenberger 2015-05-13 15:46:35 +02:00
Lorenz Meier
f659e1b647 Merge branch 'master' into beta 2015-05-13 15:34:43 +02:00
Lorenz Meier
890c3af13c multiplatform: Update yaw P param name 2015-05-13 15:34:07 +02:00
Roman Bapst
542dc9f65d added default rate I gain for multicopters. added default gains for FireFly6 in mc mode (from Simon Wilks) 2015-05-13 15:28:02 +02:00
Lorenz Meier
796b2ccd32 Merge branch 'master' into beta 2015-05-13 15:19:51 +02:00
Lorenz Meier
efb60ab779 multiplatform pos controller: Rename params to prevent mixup with MPC params 2015-05-13 15:19:16 +02:00
Lorenz Meier
e400ec586d multiplatform att controller: Rename params to prevent mixup with MC params 2015-05-13 15:18:50 +02:00
Lorenz Meier
164a254214 Merge pull request #2143 from PX4/mc_pos_D_reset
mc_pos_control: always update previous velocity
2015-05-13 13:58:15 +02:00
Roman Bapst
cf27fc59c7 read hil sensor message instead of highres imu message 2015-05-13 10:31:52 +02:00
mcharleb
c1927b7387 Merge pull request #9 from tumbili/send_controls
send pwm outputs to simulator
2015-05-12 15:24:37 -07:00
tumbili
9686f8004e send pwm outputs to simulator 2015-05-12 23:55:32 +02:00
mcharleb
21d7e4f24f Merge pull request #8 from tumbili/serial_device
read serial device to obtain manual control setpoint
2015-05-12 14:36:18 -07:00
tumbili
3a79679e2d get manual control setpoint from PIXHAWK 2015-05-12 23:15:58 +02:00
Mark Charlebois
3db5f3bb3b QuRT: toolchain changes
Reworking toolchain and main.cpp for QuRT to a final link can be
done and the apps.h file is autogenerated.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-12 11:37:28 -07:00
Lorenz Meier
a59102d468 Merge branch 'master' into beta 2015-05-12 11:27:36 +02:00
Mark Charlebois
14cbd240ff QuRT: added qurt_log
Implement as a printf for now

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-11 19:38:03 -07:00
Mark Charlebois
d0bf4ab449 Simulator: refactored mavlink additions
QuRT does not support UDP so moved the mavlink specific code
to a new file that is not built for the qurt target

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-11 19:25:11 -07:00
Mark Charlebois
2f434eb395 POSIX: fixups for px4_log.h change
After merge from qurt branch, fixups for posix build

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-11 16:14:06 -07:00
Mark Charlebois
2d32395bc0 Merge branch 'qurt' into linux 2015-05-11 16:07:53 -07:00
Mark Charlebois
a99f916bdf POSIX: Changed px4_debug.h to px4_log.h
Also changed use of printf to PX4_WARN or PX4_INFO in posix and
qurt tests.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-11 16:04:39 -07:00
mcharleb
11010a648c Merge pull request #7 from tumbili/polling
implemented polling to prevent unnecessary cycling.
2015-05-11 15:00:48 -07:00