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
Lorenz Meier
5c44146c1b
sensors app: Be less verbose
2015-04-20 09:14:13 +02:00
Lorenz Meier
1c8e79cbf1
sensors app: Always set a valid rotation, even if sensor is unconfigured
2015-04-18 20:34:18 +02:00
Daniel Agar
2e824bbeea
fix incorrect argc < 1 check for no arguments
...
-requiring arguments should be argc < 2
2015-04-18 12:02:58 +02:00
Don Gagne
07853fbb58
Fixed warnx messages to show correct sensor #
2015-03-28 13:09:07 -07:00
Lorenz Meier
81546e8f84
sensors app: Log all temperature
2015-03-25 22:58:54 -07:00
Lorenz Meier
675b86550f
Sensors: Clear old mag rotation param once new values is present
2015-02-28 20:49:54 +01:00
Lorenz Meier
e4830eb53f
mag detection (sensors / commander): Default all sensors to internal, set the ones which have been found explicitely to zero if they were -1.
2015-02-28 04:01:10 +01:00
Lorenz Meier
2e4c0c3156
sensors app: Comment handling of old param values properly
2015-02-15 19:52:02 +01:00
Lorenz Meier
6fd89aa2bd
Rsensors app: Programming style: rely on logical orr for failed evalution.
2015-02-15 19:52:02 +01:00
Lorenz Meier
4740568446
sensors: Update param name
2015-02-15 19:52:02 +01:00
Lorenz Meier
162814c33e
sensors: Set up mag rotation parameters correctly
2015-02-15 19:52:02 +01:00
Lorenz Meier
bed3eaafa1
Sensor app: Formatting, documentation and cleanup
2015-02-15 19:52:01 +01:00
Lorenz Meier
12ae984198
sensors app: Use -1 in rotation parameter to indicate that a sensor cannot be rotated as it is internal.
2015-02-15 19:52:01 +01:00
Lorenz Meier
3d195bc7cc
Proper mag rotation handling
2015-02-15 19:52:01 +01:00
Lorenz Meier
81c9b9fd95
Get secondary mag to work, but only if internal
2015-02-10 22:01:31 +01:00
Lorenz Meier
df2ad183e3
Initialize error counts high enough
2015-02-09 22:56:26 +01:00
Lorenz Meier
3a43649850
sensors app: Fix loading of calibration params
2015-02-09 22:56:25 +01:00
Lorenz Meier
bd90700f59
Sensors app: Improve sensor config handling
2015-02-09 22:56:24 +01:00
Lorenz Meier
ddb7d49354
Sensors: Move to 0 based indices
2015-02-09 22:56:23 +01:00
Lorenz Meier
dc46736ead
Merge ROS into master
2015-02-03 20:07:55 +01:00
Thomas Gubler
2252a9696d
fix codestyle in sensors.cpp
2015-02-03 18:13:01 +01:00
Thomas Gubler
f53aa5628e
sensors: init accel and gyro with default rates
2015-02-03 18:13:01 +01:00
Lorenz Meier
23e7823b51
sensors app: Use indexed param names
2015-02-03 08:55:16 +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
9190d59791
Move sensors app to multi pub/sub
2015-01-29 16:33:53 +01:00
Lorenz Meier
c3eb10560b
Move sensors to new mag interface
2015-01-29 16:33:53 +01:00
Thomas Gubler
2d124852c1
propagate uorb contants change through all modules/drivers
2015-01-28 16:31:41 +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
9a40fe4ede
Sensors: Fix corner case on FD leak (not a real leak)
2015-01-21 08:58:47 +01:00
Thomas Gubler
f960bbf529
bring back switch_pos_t
2015-01-08 10:54:09 +01:00
Thomas Gubler
7507e4a4b5
sensors: argument is not an enum anymore
2015-01-05 15:31:28 +01:00
Thomas Gubler
88a498d8f8
sensor: fix variable names
2015-01-05 15:23:49 +01:00
Thomas Gubler
16b9f666e7
Merge remote-tracking branch 'upstream/master' into dev_ros
...
Conflicts:
src/lib/mathlib/math/Matrix.hpp
src/modules/mc_att_control/mc_att_control_main.cpp
src/modules/uORB/topics/vehicle_status.h
src/platforms/px4_includes.h
2015-01-05 10:02:07 +01:00
Lorenz Meier
f3e3565d1b
sensors app: Decent error handling / reporting
2015-01-03 17:54:48 +01:00
Lorenz Meier
1f81a8bd61
2nd baro support for common topics
2015-01-02 12:28:23 +01:00
Lorenz Meier
a0e1255e28
Merge pull request #1543 from thomasgubler/rcparamtune
...
RC param tune
2015-01-01 18:15:28 +01:00
Thomas Gubler
ef8abfbf14
rc2param: min and max values
2014-12-28 22:55:04 +01:00
Thomas Gubler
e9b41528dc
prototype for changing params by rc
2014-12-28 22:26:39 +01:00
M.H.Kabir
d40168dc4b
Add support for rotations of PX4flow
2014-12-27 23:01:31 +05:30
Thomas Gubler
b3600e5ee6
manual_control_setpoint as msg
2014-12-08 11:06:56 +01:00
Thomas Gubler
e28e8c11bb
make default apps compatible with autogenerated attitude and rc_channels message
2014-12-02 12:19:24 +01:00
Lorenz Meier
127948f32f
Remove absolute pressure field as its not useful and confusing anywary
2014-08-24 11:49:45 +02:00
Thomas Gubler
f7dbc34027
sensors: remove warnx
2014-08-21 12:43:34 +02:00
Thomas Gubler
86ae2e489f
sensors: do not exit task on error
2014-08-17 15:21:50 +02:00
Thomas Gubler
91d8cb2edc
sensors: move close to correct position
2014-08-17 13:45:51 +02:00
Thomas Gubler
1913ae19f1
add param for qnh
2014-08-17 10:45:30 +02:00
Lorenz Meier
b6bac2c88d
sensors: Support for up to three sensors of the IMU types
2014-07-15 23:22:04 +02:00