Mohammed Kabir
32a7097018
px4flow : publish sensor limits over uORB
2018-06-09 13:38:04 +02:00
Philipp Oettershagen
f5847a4a7b
Subsystem_info status flags & checks: Switch back to uORB for inter-process communication, handle GPS checks completely inside ekf2, add distance_sensor checks
2018-06-06 18:54:24 +02:00
Philipp Oettershagen
6f1f414b49
Subsystem_info status flags & checks : Initial commit, updating the health flags in a centralized way mostly in commander and the votedSensorsUpdate function.
2018-06-06 18:54:24 +02:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Sugnan Prabhu
a328ba97de
aerofc: Look for px4flow sensor on telemetry port ( #8994 )
...
Signed-off-by: Sugnan Prabhu S <sugnan.prabhu.s@intel.com >
2018-03-30 00:50:14 -04:00
Daniel Agar
5fba1f38b2
drivers start using uORB message print instead of custom
2018-03-28 09:15:41 -04:00
Daniel Agar
d7aaab07fc
delete unused SENSORIOCGQUEUEDEPTH
2017-12-31 09:47:51 -05:00
Daniel Agar
4980b93830
delete unused SENSORIOCGROTATION
2017-12-31 09:47:51 -05:00
Daniel Agar
9c378a7ca1
delete unused SENSORIOCSROTATION
2017-12-31 09:47:51 -05:00
ChristophTobler
a4d37f7120
PX4Flow: add possibility to specify sonar orientation and adapt to new defaults
2017-09-25 08:52:21 +02:00
Daniel Agar
3289fa292b
px4flow fix sign-compare
2017-09-07 10:27:36 +02:00
Julien Lecoeur
41cc679258
PX4Flow: allow restart directly after stop
2017-08-20 19:31:24 +02:00
Julien Lecoeur
7a3a9a75d5
Add command line options to PX4Flow app for I2C address and sampling rate
2017-08-20 19:31:24 +02:00
Beat Küng
546bd2b4d0
drivers: remove the overflow perf counter
...
This was used together with the read() interface, but we don't use that
so the counters are wrong.
2017-03-20 09:11:34 +01:00
Paul Riseborough
3787fafdff
px4flow: update default rotation and documentation
...
The driver performs the rotation from sensor frame to body frame.
The recommended installation default is with the Y sensor axis pointing forward.
2016-12-30 10:39:10 +01:00
Beat Küng
241fd629ce
ERROR macro: get rid of the many 'oddly, ERROR is not defined for c++', use PX4_ERROR
2016-09-30 13:50:51 +02:00
Nicolas de Palezieux
ebce93f338
only advertise range topic of px4flow board if it is the primary range device ( #5390 )
...
this allows selecting another range device such as a lidar by starting that app first
2016-08-26 14:28:46 +02:00
Lorenz Meier
7398164fcc
Updated PX4 use / API of low level GPIO and other hardware-centric system facilities
2016-05-28 14:56:17 +02:00
Daniel Agar
69c1ce1714
WIP logger serialization
2016-05-14 11:27:07 +02:00
Daniel Agar
eb29b33620
use gcc attributes to align and pack
2016-05-14 11:27:07 +02:00
Daniel Agar
76387b1693
uorb autogeneration
2016-05-14 11:27:07 +02:00
Lorenz Meier
6e34e0acaf
Flow: Use shorter perf names
2016-03-28 13:04:53 +02:00
Julian Oes
acf9be488d
Revert "px4flow: disable distance data transmission from px4flow sensor"
...
This reverts commit 47f79a66d1 because it
was just an intermediate debug commit.
2016-03-21 16:06:41 -04:00
Lorenz Meier
3e1f5c232b
Flow driver: Handle rotation parameter if present
2016-03-14 09:29:53 +01:00
bugobliterator
47f79a66d1
px4flow: disable distance data transmission from px4flow sensor
2016-03-13 17:47:56 +01:00
Kabir Mohammed
309212b52b
px4flow : rotate gyro readings as well
2016-03-08 08:52:08 +01:00
David Sidrane
d6c6cb72b2
Support PX4_I2C_BUS_ONBOARD not defined
2015-11-28 09:13:15 +01:00
Kabir Mohammed
792f1747c7
rangefinders : remove annoying gotos
2015-10-28 22:38:38 +01:00
Kabir Mohammed
832780b966
Fix ranger multi-advertise
2015-10-28 22:38:38 +01:00
Lorenz Meier
174464e2cc
PX4 Flow: Fixed code style
2015-10-19 13:17:43 +02:00
Lorenz Meier
f50695c099
Flow: Remove unused perf counters on exit
2015-10-10 16:03:09 +02:00
Mark Charlebois
a589d15c52
Refactored debug() and log() in CDev
...
These functions used vprintf which is not available on all platforms.
They also do not enable line and file debug output.
Changed to macros that preserve the output format. Uses new macro that
can be used to implement per object, runtime selectable logging
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-08-11 12:07:06 -07:00
Lorenz Meier
2a80c80a4a
PX4 FLOW: Silence alarming messages on a normal boot
2015-08-01 17:16:01 +02:00
Simon Laube
7a93348340
implemented retrying the connection to the px4flow sensor before giving up.
2015-06-30 18:28:19 +02:00
Simon Laube
93dfc435a4
change the nested if structure which tries all i2c busses to a loop.
2015-06-30 17:53:19 +02:00
Lorenz Meier
4565f57468
Merged release_v1.0.0 into master
2015-05-27 15:28:41 -07:00
Lorenz Meier
f46cbae012
px4flow driver: update topic names
2015-05-27 15:21:33 -07:00
Lorenz Meier
a2bb8cd766
PX4FLOW driver: Fix use of topic initialization
2015-05-27 15:15:37 -07:00
Mark Charlebois
1ca05aaa64
orb_advert_t changed to void * and checks changed to nullptr
...
The existing orb_advert_t use thoughout the code sometimes tries
to treat it as a file descriptor and there are checks for < 0
and ::close calls on orb_advert_t types which is an invalid use
of an object pointer, which is what orb_advert_t really is.
Initially I had changed the -1 initializations to 0 but it was
suggested that this should be nullptr. That was a good recommendation
but the definition of orb_advert_t had to change to void * because
you cannot initialize a uintptr_t as nullptr.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:42:49 -07:00
Mark Charlebois
a734fc96d1
extensive orb_advert_t fixes
...
The calls to orb_advertise were being mishandled throughout the code.
There were ::close() calls on memory pointers, there were checks
against < 0 when it is a pointer to a object and values larger than
0x7ffffffff are valid. Some places orb_advert_t variables were
being initialized as 0 other places as -1.
The orb_advert_t type was changed to uintptr_t so the pointer value
would not be wrapped as a negative number. This was causing a failure
on ARM.
Tests for < 0 were changed to == 0 since a null pointer is the valid
representation for error, or uninitialized.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:41:33 -07:00
Ban Siesta
1734b97635
px4flow: tell the user which PX4FLOW couldn't be connected
2015-05-26 23:04:09 -07:00
Ban Siesta
414f3330b3
px4flow: tell the user which PX4FLOW couldn't be connected
2015-05-25 18:34:31 +01:00
Ban Siesta
9f314dd191
drivers: corrected log string
2015-05-24 20:56:25 +01:00
Ban Siesta
69cbbd9b5e
distance_sensor: changed all distance sensors to orb_advertise_multi
2015-05-24 19:20:25 +01:00
Ban Siesta
517acd4586
px4flow: publish sonar distance to distance_sensor topic as well
2015-05-24 17:31:16 +01:00
Ban Siesta
362fc205b3
drivers: various whitespace
2015-05-24 10:05:42 +01:00
Ban Siesta
21dfd0243d
drivers: use new ringbuffer namespace everywhere
2015-05-24 10:04:38 +01: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
ebaac07ab2
PX4 flow driver: Let user know we just did not find one
2015-04-27 09:07:53 +02: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