6713 Commits

Author SHA1 Message Date
jwilson
75fad09263 Fixed problem causing a failure to obtain the shared memory lock on the AppsProc. 2016-02-19 16:59:49 +01:00
jwilson
4adfea7fa9 Resolved shared memory parameter problems and removed additional debug code. 2016-02-19 16:59:49 +01:00
jwilson
d84639f8c4 This code is flyable, but a few problems exist which cause values in the .config files to be overwritten by the defaults in the .XML file. 2016-02-19 16:59:49 +01:00
jwilson
8cc37db595 Removing unneeded debug statements. 2016-02-19 16:59:49 +01:00
jwilson
9f173b5659 Debug statements included in the code. 2016-02-19 16:59:49 +01:00
jwilson
80a2eb9dff Adding additional warnings to indicate that the secondary and tertiary gyros are unavailable. 2016-02-19 16:59:49 +01:00
jwilson
9a97140ad8 Removing test code. 2016-02-19 16:59:49 +01:00
jwilson
b31472af0c Cherry-picked i22438c8
Original description:
Modified the sensor module to prevent the selection of an invalid
secondary/tertiary gyro if the primary gyro times out
2016-02-19 16:59:49 +01:00
jwilson
39daea103b Removing unneeded debug statements. 2016-02-19 16:59:49 +01:00
jwilson
2b4b9aa103 Debug statements included in the code. 2016-02-19 16:59:49 +01:00
Julian Oes
2dd2c9143a uORB: astyle 2016-02-19 16:59:48 +01:00
Julian Oes
fcf98d07e0 sensors: astyle 2016-02-19 16:59:48 +01:00
Julian Oes
51ff00b786 muorb: astyle 2016-02-19 16:59:48 +01:00
Julian Oes
028f5b3392 attitude_estimator_q: astyle 2016-02-19 16:59:48 +01:00
Julian Oes
4e4f22428e sensors: use QURT ifdefs instead of commenting out 2016-02-19 16:59:48 +01:00
Julian Oes
3a8feaf617 muorb: clean up of forgotton merge conflict 2016-02-19 16:59:48 +01:00
Julian Oes
d3fc3b6c23 muorb: merge leftover in Makefile 2016-02-19 16:59:48 +01:00
Julian Oes
341004f460 commander: added some comments 2016-02-19 16:59:48 +01:00
Julian Oes
951b97baac commander: small comment fix 2016-02-19 16:59:48 +01:00
Julian Oes
0c37716c18 sensors: remove merge leftover 2016-02-19 16:59:47 +01:00
Julian Oes
0d615c80b4 attitude_estimator_q: no mavlink_log for QURT
Don't try to open the mavlink_fd on QURT because the px4_ioctl leads to
timeouts of the attitude_estimator_q loop.
2016-02-19 16:59:47 +01:00
Julian Oes
e57d936d8b attitude_estimator_q: be specific about the error 2016-02-19 16:59:47 +01:00
Julian Oes
8794aacf59 sensors: HACK to stop init calls for sensors 2016-02-19 16:59:47 +01:00
Julian Oes
160400c611 sensors: don't just blindly switch to another gyro
Failover is good but failover to garbage doesn't help.
2016-02-19 16:59:47 +01:00
Julian Oes
e8402f0f78 uORB: fix off-by-one bug in topic count 2016-02-19 16:59:47 +01:00
Julian Oes
9c18c9aea4 sensors: header comment changes 2016-02-19 16:59:46 +01:00
Julian Oes
e4398bc87c muorb: don't start muorb with stop command
Previously using 'muorb stop' would in fact start at least part of the
muorb which is not what it's expected to do.
2016-02-19 16:59:46 +01:00
Julian Oes
8fd4b80eed uORB: improve console output and status 2016-02-19 16:59:46 +01:00
Julian Oes
4b2be9c9d4 param_shmem: remove debug noise 2016-02-19 16:59:46 +01:00
Mark Charlebois
791ec37f43 Code formatter fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:46 +01:00
Mark Charlebois
caa94d58a6 Manually integrated Jim's changes from integrate2_jim branch
Signed-off-by: Jim Wilson <jywilson99@hotmail.com>
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:46 +01:00
Mark Charlebois
bd76042de2 Added muorb to posix eagle build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois
f5211030dc Changes to improve performance
The work queue processing was causing too much overhead so a more
efficient check was implemented.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois
dab1f835c7 Code cleanup and ifdefs required for qurt build
Code that was previously out of tree that was #if 0, is now #ifdef __PX4_QURT.
These changes were required for flight using the qurt build.

Changes include code cleanup for shmem_posix.c.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois
267158751e Reverted change to src/modules/mc_pos_control/mc_pos_control_main.cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois
4c7ec2b0ff Reverted change to src/modules/simulator/simulator_mavlink.cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois
ae0d0e67cc Added rpcmem.a to posix_eagle_release build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois
8b22bde071 Code format fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois
3dbb4fb34f Backed out change to uORBDevices_posix.cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois
d56459bd17 Backed out bad merge change in commander.cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois
3c700dfca3 Backed out change to attitude_estimator_q_main.cpp introduced in merge
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois
3e2555f590 Backed out commented out line
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois
94a1332cfa Removed extraneous ifdef __PX4_QURT
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois
0637437d8d Backed out added code from bad merge
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois
473fe773b4 Provide impelmentation of px4muorb_KraitRpcWrapper
The Terminate function is not properly implemented yet.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois
42baeeb999 Merge fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois
8c4064e346 Removed bad integration changes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois
4c9492e10f Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois
9f1aca90b3 Removed bad integration changes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois
014f15d8b0 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00