Mark Charlebois
180c8b0cb0
Missed another < 0 check
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:41:33 -07:00
Mark Charlebois
b990d9fa7e
Missed a check for < 0
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:41:33 -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
Lorenz Meier
9a67303416
Merge pull request #2231 from jgoppert/lidar_lite_pwm_fix
...
Lidar lite driver fixes.
2015-05-27 10:54:59 -07:00
James Goppert
57f5db544c
Distance sensor log precision fix.
2015-05-27 00:01:24 -04:00
James Goppert
3cc84b1a15
Correct ll40ls param enable length.
2015-05-26 21:20:18 -04:00
James Goppert
cbc169af2f
Merge branch 'll40ls_startup' of https://github.com/mhkabir/Firmware into mhkabir-ll40ls_startup
...
Conflicts:
ROMFS/px4fmu_common/init.d/rc.sensors
2015-05-26 20:08:11 -04:00
James Goppert
6f309ba625
Distance sensor log fix.
2015-05-26 20:03:33 -04:00
Mohammed Kabir
853a22db18
ll40ls : conditional startup param
2015-05-26 21:44:55 +05:30
James Goppert
0b703096e7
Fixed distance sensor log error.
2015-05-26 02:48:24 -04:00
James Goppert
5955773574
Lidar lite driver fixes.
...
Conflicts:
src/modules/uORB/Subscription.cpp
2015-05-25 21:55:03 -04:00
Lorenz Meier
ee39d72747
Gyro sim: Add ringbuffer namespace
2015-05-25 10:00:52 +02:00
Lorenz Meier
e9c2dc563f
Baro sim: Add ringbuffer namespace
2015-05-25 10:00:31 +02:00
Lorenz Meier
5c535845ab
Airspeedsim: Add ringbuffer namespace
2015-05-25 10:00:11 +02:00
Lorenz Meier
2d090ddde4
Accelsim: Add ringbuffer namespace
2015-05-25 09:59:45 +02:00
Lorenz Meier
b399469477
Merge pull request #2240 from TSC21/mavlink_multiadvertise
...
mavlink: added multi advertise for distance_sensor in mavlink receiver
2015-05-26 23:32:50 -07:00
Lorenz Meier
a14b020d63
Merge pull request #2203 from NaterGator/mavlink_usbfix
...
Fix MAVLink USB UART detection
2015-05-26 23:22:27 -07:00
Lorenz Meier
7c5af64580
Merge pull request #2227 from bansiesta/fix_mixer_cli
...
systemcmds: the mixer shuts up now
2015-05-26 23:07:11 -07:00
Lorenz Meier
9fce6dd8ba
Merge pull request #2230 from bansiesta/fix_startup_printfs
...
Cosmetic startup fixes
2015-05-26 23:02:56 -07:00
TSC21
0d1bc2cd0b
mavlink: added multi advertise for distance_sensor in mavlink receiver
2015-05-26 23:35:45 +01:00
Lorenz Meier
69986a23b6
Merge pull request #2228 from bansiesta/fix_geofence_printf
...
navigator: stop complaining about some geofence not cleared
2015-05-26 11:30:18 -07:00
Mark Charlebois
379075d29c
POSIX: Increased number of devmap entries
...
The orb_advertise and/or orb_publish calls were failing because
there were not enough devmap entries allocated for all the orb
topics advertised.
The number of entries was increased from 50 to 100.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-25 23:20:19 -07:00
Ban Siesta
4cf8ce30ba
fw_att_control: another ugly way to prevent a newline
2015-05-25 19:10:05 +01:00
Ban Siesta
d36b65aab5
fw_att_control: whitespace
2015-05-25 19:09:45 +01:00
Ban Siesta
38412993d6
fw_att_control: don't brag about being running
2015-05-25 19:09:28 +01:00
Ban Siesta
c56a9ce965
position_estimator_inav: be a bit more informative about this ominous offs
2015-05-25 19:08:51 +01:00
Ban Siesta
87f41855fb
land_detector: get rid of one dot at a time
2015-05-25 19:01:34 +01:00
Ban Siesta
414f3330b3
px4flow: tell the user which PX4FLOW couldn't be connected
2015-05-25 18:34:31 +01:00
Ban Siesta
165063d5fc
px4_getopt: whitespace
2015-05-25 18:32:55 +01:00
Ban Siesta
198fa8d542
px4_getopt: commented out debug printf
2015-05-25 18:32:32 +01:00
Ban Siesta
40e9c83ed6
mavlink: no need to shout about disabling hardware flow control
2015-05-25 18:28:27 +01:00
Ban Siesta
3c39e85fdf
navigator: stop complaining about some geofence not cleared
2015-05-25 18:09:01 +01:00
Ban Siesta
7bdb3cc228
systemcmds: the mixer shuts up now
2015-05-25 17:01:07 +01:00
Lorenz Meier
c5f14ef785
Merge pull request #2224 from bansiesta/lidarlite_merge
...
Lidarlite merge and bringup
2015-05-24 23:18:52 +02: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
Don Gagne
4206b030bf
Fix opendir failure handling
2015-05-24 10:40:52 -07: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
cf39e8c721
mavlink: adapted to change in distance_sensor msg
2015-05-24 15:58:44 +01:00
Ban Siesta
13a4cdd05e
ekf_att_pos_estimator: adapted to change in distance_sensor msg
2015-05-24 15:58:15 +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