Commit Graph

3340 Commits

Author SHA1 Message Date
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
Lorenz Meier 2bb655c46c mavlink app: Improved mapping to RC input 2015-05-24 20:11:51 +02:00
Lorenz Meier 01fd84e4dc mavlink and commander app: Add support for manual input, either directly or via remote control 2015-05-24 20:11:50 +02:00
Ban Siesta 517acd4586 px4flow: publish sonar distance to distance_sensor topic as well 2015-05-24 17:31:16 +01:00
Ban Siesta 2fb999674b Merge remote-tracking branch 'px4/pr/2200' into lidarlite_merge 2015-05-24 16:30:02 +01:00
TSC21 72e9390985 distance_sensor: minor changes 2015-05-24 16:03:01 +01:00
Ban Siesta a729d6f301 ll40ls: first stab at adapting ll40ls to the new distance_sensor msg 2015-05-24 15:59:29 +01:00
Ban Siesta 0128fef8e0 drivers: more adaptations to changed message 2015-05-24 15:57:42 +01:00
Ban Siesta 103d59e9be distance_sensor: adapted message to float for distance and adapted the drivers 2015-05-24 14:28:19 +01:00
Ban Siesta a0011d2163 Merge remote-tracking branch 'px4/pr/2200' into lidarlite_merge 2015-05-24 13:59:18 +01:00
Ban Siesta 2c4c0ecb32 ll40ls: forgot to remove commented out stuff in PWM driver 2015-05-24 13:00:45 +01:00
Ban Siesta e7f1f3ba28 ll40ls: made PWM driver version functional 2015-05-24 12:47:04 +01:00
Ban Siesta ef658cf926 ll40ls: changed I2C driver to new ringbuffer namespace, and various style stuff 2015-05-24 12:46:23 +01:00
Ban Siesta fbc4ca61ac ll40ls: removed unneeded comments 2015-05-24 12:44:53 +01:00
Ban Siesta 0ab0de5805 ll40ls: adapt the cli interface, so that the commands work with the PWM and I2C driver 2015-05-24 12:42:14 +01:00
Ban Siesta bb3ad64aac pwm_input: get rid of start full and instead start whenever someone reads from the driver, as well as various other small changes 2015-05-24 12:41:19 +01:00
Ban Siesta 4e897bf197 pwm_input: comment style 2015-05-24 12:40:29 +01:00
Ban Siesta 1151996c0b ll40ls: Weffc++ was complaining about 'class LidarLitePWM' has pointer data members, had to disable it 2015-05-24 12:38:22 +01:00
Lorenz Meier ae50328646 Properly define global limits for RC input in driver 2015-05-24 12:48:31 +02:00
Ban Siesta d473b8bddd Merge branch 'fix_ringbuffer' into lidarlite_merge 2015-05-24 10:18:07 +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
Ban Siesta aac276872b ringbuffer: use a namespace for ringbuffer to avoid 'multiple definitions in vtable' bug 2015-05-24 10:02:08 +01:00
Ban Siesta b9ce447cc9 ringbuffer: whitespace 2015-05-24 10:01:28 +01:00
Ban Siesta e67f681935 ll40ls: astyle 2015-05-24 09:44:10 +01:00
Ban Siesta 3efaeabd5b pwm_input: astyle 2015-05-24 09:42:34 +01:00
Ban Siesta bd48ef0386 Merge remote-tracking branch 'px4/pr/2196' into lidar_tests 2015-05-24 09:40:03 +01:00
Ban Siesta 19156ec763 Merge remote-tracking branch 'px4/pr/1949' into lidar_tests 2015-05-24 09:39:58 +01:00
TSC21 98d0204087 distance_sensor: update drivers 2015-05-23 21:06:19 +01:00
TSC21 17bc0979e4 distance_sensor: re-add max number of sonars 2015-05-23 20:47:35 +01:00
TSC21 7e740f262b distance_sensor: removed max number of rangefinders 2015-05-23 17:54:52 +01:00
TSC21 43668cc8c8 distance_sensor: adopt message in both range drivers and on ekf_att_pos_estimator 2015-05-23 17:49:52 +01:00
Mark Charlebois f1f562a94d POSIX: Fixed orb_advertise failure
There were an insufficient number of devmap entries allocated and
when they ran out, new orb_advertise requests would fail.

Also added a new logging macro for the Linux build to show the
calling pthread if enabled.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-21 15:35:11 -07:00
Lorenz Meier 2903ceaacc Merge branch 'release_v1.0.0' 2015-05-20 09:00:57 +02:00
James Goppert e1d2c0c5ad Move more messages to auto-generation, work on C++ code style 2015-05-20 08:57:29 +02:00
Mark Charlebois 30895c2dfd POSIX: fixed printf to use PX4_INFO
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-19 13:37:59 -07:00
Lorenz Meier d906fb8f31 Merged master into linux 2015-05-19 21:00:02 +02:00
Mark Charlebois ffdc9d629c POSIX: Improved logging
The warnx and warn calls map to PX4_WARN.
Calls to errx or err genrtate a compile error.

The px4_log.h file implements a new log format:

For DEBUG and INFO:
<level> <msg>

For ERROR and WARN:
<level> <msg> (file filepath line linenum)

The verbosity can be changed by setting the macro to use
either linux_log or linux_log_verbose in px4_log.h

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-19 09:19:24 -07:00
Max Shvetsov dbe58d6165 [pwm_input] reset feature added
publication to range_finder topic added
2015-05-19 12:40:42 +03:00
Lorenz Meier 2625d3e973 Merge pull request #2175 from Zefz/preflight_gps_check
Preflight: GPS check
2015-05-19 10:10:46 +02:00
Randy Mackay a90caf7b7b l3gd20: faster gyro interrupts 2015-05-19 13:25:42 +09:00
Johan Jansen 680898e6aa GPS: Publish first data after configuring device 2015-05-18 12:48:40 +02:00
Mark Charlebois 36f5d47ed9 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	src/modules/commander/gyro_calibration.cpp
	src/modules/mavlink/mavlink_ftp.cpp
2015-05-16 15:04:38 -07:00
Mark Charlebois 9f391b1867 NuttX: fixes for NuttX build
In the upstream tree ringbuffer.h includes the method implementations
in the header file which causes multiple definitions in the link for
other targets. Changed so ringbuffer.cpp is build separately for other
platforms and is included by ringbuffer.h on NuttX.

uORB changes do not link without uORBTest_UnitTest.cpp enabled for
the NuttX build.

px4_getopt was not exported and wasn't visible in NuttX build.

The makefiles were restored to be as close as possible to upstream
so the NuttX build builtin's work again. The code will have to be
refactored after the merge.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-15 12:56:18 -07:00
nopeppermint 52fca5b7a1 correct comments 2015-05-13 22:24:32 +02: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 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
Mark Charlebois 0ba5305e94 QuRT: satisfy missing deps
There is no ioctl or write. Added stubs.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-07 23:21:24 -07:00
Mark Charlebois 99822038f3 POSIX: Fixed px4_open code to not create a file when opening a device
The code to created a virtual file was preventing the creation of
device nodes.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-07 10:50:23 -07:00