Mark Charlebois
a209fdc8ef
Added missing lock() unlock() to MuORB
...
The commented out lock and unlock were determined to be needed and added back.
The unit test for VDev was updated. It showed the race between the poll and a
write that only does a poll_notify().
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-29 17:04:30 -07:00
Mark Charlebois
2446dfec16
Fixups after merge from master
...
MuORB was missing the orb_exists() function added to uORB.cpp
gyro_calibration.cpp still had some merge conflicts that had not been resolved.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-28 12:28:10 -07:00
Mark Charlebois
190814bc97
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
src/drivers/rgbled/rgbled.cpp
src/modules/commander/PreflightCheck.cpp
src/modules/commander/airspeed_calibration.cpp
src/modules/commander/calibration_routines.cpp
src/modules/commander/gyro_calibration.cpp
src/modules/commander/mag_calibration.cpp
src/modules/mc_att_control/mc_att_control_main.cpp
2015-04-28 11:48:26 -07:00
Lorenz Meier
28dfb8983a
uORB: Add API to check if a topic exists yet
2015-04-26 14:33:56 +02:00
Mark Charlebois
d913ec8dc9
Changed device::px4_device_handle_t to device::file_t
...
This change allowed the _posix.cpp file changes to be merged
back into the original files.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-24 17:49:35 -07:00
Mark Charlebois
3336fce1f4
QuRT and POSIX changes
...
Partial commit of the changes for QuRT and related changes for POSIX
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-24 00:52:44 -07:00
Mark Charlebois
da29004a26
Sync state_machine_helper_posix to state_machine_helper
...
state_machine_helper_posix.cpp was out of sync with
state_machine_helper_posix.cpp.
Added debug to detect when sensors is started before uorb.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-21 22:04:01 -07:00
Mark Charlebois
ccd18929fc
Linux: changed CDev to VDev for virtual device implementation
...
To avoid confusion when a real device and a virtual device is
being used, changed CDev to VDev for Linux.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 11:34:12 -07:00
Mark Charlebois
dffb8bb62c
MuORB: handle case on no args passed
...
if only uorb is called with no other args it crashes.
Handle the case where no args are passed.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 11:16:26 -07:00
Mark Charlebois
5f3496353c
Linux: added support for sdlog2
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 11:15:12 -07:00
Mark Charlebois
ac0df5c61d
Linux: added HRT test, moved tests to linux/tests
...
Also fixed naming of mavlink files for NuttX build.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 11:07:00 -07:00
Mark Charlebois
7b0783a070
Added MuORB based on virtual CDev implementation
...
uORB module now compiles and runs for Linux using the
virtual CDev implementation.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 11:00:18 -07:00
Mark Charlebois
4016ad2ff5
Revert uORB to previous version
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 11:00:17 -07:00
Mark Charlebois
aeb65702a2
Fixed support for clang 3.5
...
"clang-3.5 -dumpversion" returns 4.2.1 as the GCC version.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 11:00:16 -07:00
Mark Charlebois
9758112e31
Use px4_config.h instead of nuttx/config.h
...
Modified code to use OS independent header file for config settings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:55:41 -07:00
Mark Charlebois
bf429188b4
Reverted: Use OS independent API for task creation/deletion
...
Keep existing API use in code. Bind the use of the OS independent
implementation in the systemlib layer.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:49:44 -07:00
Mark Charlebois
ddb32742eb
Use OS independent API for task creation/deletion
...
Calls to task_delete and task_spawn_cmd are now
px4_task_delete and px4_task_spawn_cmd respectively.
The px4_tasks.h header was added to the affected files
and incusions of nuttx/config.h were removed.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:49:44 -07:00
Roman Bapst
b52d0ed8a2
mc_att_control: implemented anti windup
2015-04-18 11:19:46 +02:00
M.H.Kabir
66e6938c6d
timesync: Add uORB topic, general fixes
2015-04-14 13:14:15 +05:30
Roman Bapst
555e96a37a
fixed publication of mixer limit flags
2015-04-10 20:26:38 +02:00
Daniel Agar
8aae66b893
trivial code style cleanup round 2
2015-03-27 23:38:58 -04:00
Lorenz Meier
8a1cbac683
Sensor combined uORB topic: Temperature for all sensors
2015-03-25 22:58:25 -07:00
Daniel Agar
c2abb0f82a
fix code style if trivial one line difference
2015-03-19 23:49:36 +01:00
Lorenz Meier
d8b64a05d7
Merge pull request #1873 from Zefz/ekf-dead-reckoning-fix
...
AttPosEKF dead reckoning fix
2015-03-07 12:07:28 +01:00
Anton Matosov
3647b75303
Updated @author
2015-03-06 18:57:37 -08:00
Anton Matosov
076180a983
Added missing enum definitions
...
Fixed float equality checks
2015-03-06 18:57:37 -08:00
Johan Jansen
c434a6e097
uORB: Add dead_reckoning flag to global position estimates
2015-03-03 13:27:38 +01:00
Lorenz Meier
6635d4113e
Remove header which is now auto-generated
2015-03-01 11:38:11 +01:00
Thomas Gubler
1c9509c235
move offboard_control_mode topic to msg mode
2015-02-28 18:25:34 +01:00
Matt Beall
220fb19eb7
Removed actuator_control_mode flags...Using pre-existing flags instead
2015-02-28 15:19:16 +01:00
Matt Beall
e2de72b882
Added offboard actuator controls flags to offboard control mode and vehicle control mode to disable controls in att_control apps
2015-02-28 15:19:16 +01:00
Thomas Gubler
2b2f7e9407
introduce offboard control mode topic
...
Replace offboard_control_setpoint with offboard_control_mode
Remove all setpoint data from the topic as it's not used anymore
(setpoint data is directly routed into position/attitude setpoint topics
for some time now)
Remove mode enum and replace with ignore booleans which map better to
the mavlink message
Mavlink: Rework parsing of offboard setpoints
Commander: in offboard mode set control flags based on ignore flags
instead of enum
2015-02-28 15:19:15 +01:00
Lorenz Meier
19811bc73f
Better timing tests
2015-02-28 14:42:28 +01:00
Lorenz Meier
677bfddcb6
uORB: More timing tests.
2015-02-28 14:42:28 +01:00
Lorenz Meier
ec040fa3ac
sensor combined topic: Copy error count field along
2015-02-09 22:56:24 +01:00
Lorenz Meier
d441d38677
Merged master into ros
2015-02-02 21:21:51 +01:00
Lorenz Meier
5d56a1c6a9
Test latency of publication.
2015-02-01 14:13:10 +01:00
Thomas Gubler
84ff3c671d
Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge2_attctrl_posctrl
...
Conflicts:
src/drivers/px4fmu/fmu.cpp
2015-02-01 11:06:47 +01:00
Lorenz Meier
a381ce3732
Fix newline
2015-01-29 16:33:54 +01:00
Lorenz Meier
e532b81ac1
uORB: Remove last remnants of ORB_ID_DOUBLE/TRIPLE and migrate actuator outputs groups to new style interface
2015-01-29 16:33:54 +01:00
Lorenz Meier
95462c5b7c
uORB: Remove duplicate topics
2015-01-29 16:33:53 +01:00
Lorenz Meier
50a58db7e6
uORB: Ensure correct instance initialization, port complete mag API to new interface
2015-01-29 16:33:52 +01:00
Lorenz Meier
4f9a6273cb
uORB: correct pub creation for multi-topics
2015-01-29 16:33:52 +01:00
Lorenz Meier
7932e2eda2
Add top to test build
2015-01-29 16:33:52 +01:00
Lorenz Meier
8de411619a
Initial stab at supporting multiple publications on the same base name and auto-enumeration of additional publications.
2015-01-29 16:33:52 +01:00
Thomas Gubler
c67cb25f9a
port more uorb headers to msg
2015-01-28 16:31:19 +01:00
Thomas Gubler
8da83cfc80
objects common: use separate files
2015-01-25 15:02:06 +01:00
Thomas Gubler
1f0daea665
remove uorb hacks
2015-01-25 15:01:37 +01:00
Thomas Gubler
dcdde8ea88
Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge
...
Conflicts:
src/modules/attitude_estimator_ekf/attitude_estimator_ekf_main.cpp
src/modules/uORB/topics/vehicle_attitude.h
2015-01-21 14:41:03 +01:00
Lorenz Meier
87aaf2a959
uORB: Remove unused function
2015-01-21 11:01:25 +01:00