Commit Graph

4982 Commits

Author SHA1 Message Date
Lorenz Meier d39db2eba8 MAVLink app: better yaw scaling 2015-05-28 11:49:57 -07:00
Lorenz Meier 5fd4056c4a uORB: Fix missing objects_common entries 2015-05-27 21:16:43 +02:00
Lorenz Meier 68d723e26c dataman: add missing include of px4_defines header 2015-05-27 21:10:48 +02:00
Lorenz Meier 1a9d402feb mavlink receiver: fix topic handle initialization of manual control topic 2015-05-27 15:36:05 -07:00
Lorenz Meier 4565f57468 Merged release_v1.0.0 into master 2015-05-27 15:28:41 -07:00
Lorenz Meier d7547d388f Remove auto-generated airspeed topic 2015-05-27 15:21:34 -07:00
Lorenz Meier 1c6127b192 MAVLink app: Update command struct 2015-05-27 15:21:34 -07:00
Lorenz Meier 17adf552ef TECS: Update logging struct 2015-05-27 15:21:34 -07:00
Lorenz Meier c18210b163 commander: Update command names 2015-05-27 15:21:33 -07:00
Lorenz Meier c5bf6765d2 bottle_drop: Update command names 2015-05-27 15:21:33 -07:00
Lorenz Meier 3da7da9466 uORB: Moved wind_estimate and vtol_vehicle_status topics to generated topics. 2015-05-27 15:21:33 -07:00
Lorenz Meier a75c0d8eb1 uORB: Moved vehicle_vicon_position to generated topics 2015-05-27 15:21:33 -07:00
Lorenz Meier 411e0b2f84 uORB: Moved vehicle_land_detected topic to generated topics 2015-05-27 15:21:33 -07:00
Lorenz Meier 5d62fa419a uORB: Moved vehicle_command to generated topics 2015-05-27 15:21:33 -07:00
Lorenz Meier 7fb5812918 uORB: Moved time_offset topic to generated topics 2015-05-27 15:21:33 -07:00
Lorenz Meier 38c0a1a251 uORB: Moved test_motor to generated topics 2015-05-27 15:21:32 -07:00
Lorenz Meier b36fe0232f uORB: Moved tecs_status to generated topics 2015-05-27 15:21:32 -07:00
Lorenz Meier 520d830cec uORB: Moved subsystem_info to generated topics 2015-05-27 15:21:32 -07:00
Lorenz Meier f1d038efc0 uORB: Moved subsystem_info to generated topics 2015-05-27 15:21:32 -07:00
Lorenz Meier f7563816d4 uORB: Moved servorail_status to generated topics 2015-05-27 15:21:32 -07:00
Lorenz Meier 44aa18bdd6 Remove unused vehicle_control_debug topic 2015-05-27 15:21:32 -07:00
Lorenz Meier 17108af3e6 uORB: Remove unused bodyframe setpoint 2015-05-27 15:21:32 -07:00
Lorenz Meier 33cf01f09b Remove unused omnidirectional_flow topic 2015-05-27 15:21:32 -07:00
Lorenz Meier 7b90746a7f uORB: Update objects_common.cpp with newly generated topics 2015-05-27 15:21:32 -07:00
Lorenz Meier e87dc29811 sdlog2: Update with new topic changes 2015-05-27 15:21:32 -07:00
Lorenz Meier 2f5e40e6d0 Update MAVLink app with topic updates 2015-05-27 15:21:32 -07:00
Lorenz Meier 0e51092eab Move geofence_result to generated topics 2015-05-27 15:21:32 -07:00
Lorenz Meier a994e58267 Move encoders to generated topics 2015-05-27 15:21:31 -07:00
Lorenz Meier d400643738 Move battery status to generated topics 2015-05-27 15:21:31 -07:00
Lorenz Meier 06ba8d924a Move estimator_status to generated topics 2015-05-27 15:21:31 -07:00
Lorenz Meier a190d01ade Move differential pressure to generated topics 2015-05-27 15:21:31 -07:00
Lorenz Meier 961b6b7802 Move vision position estimate to generated topics 2015-05-27 15:21:31 -07:00
Lorenz Meier 01d72adca5 Move debug_key_value to generated topics 2015-05-27 15:21:31 -07:00
Lorenz Meier c9e8af8e9b Update navigator to reflect topic updates. 2015-05-27 15:21:31 -07:00
Lorenz Meier f5ce8e4826 Update dataman to reflect topic updates 2015-05-27 15:21:31 -07:00
Lorenz Meier 6ce097546c Move fence to generated topics 2015-05-27 15:21:31 -07:00
Lorenz Meier e07731de7a Move esc_status to generated topics 2015-05-27 15:21:31 -07:00
Lorenz Meier f7c9e918b1 Update airspeed topic to use message generation 2015-05-27 15:21:31 -07:00
Lorenz Meier f5670c8ad6 Update actuator_direct topic to use message generation 2015-05-27 15:21:31 -07:00
Lorenz Meier b980e34c3c Update uavcan app for generated actuator_outputs topic 2015-05-27 15:21:31 -07:00
Lorenz Meier 465ea8abe3 Move actuator_outputs topic into message generation 2015-05-27 15:21:30 -07:00
Mark Charlebois 31923c3add On more fixup for orb_advert_t changed to void *
Reviewed all changes in pull request and made sure all cpp files
check orb_advert_t types against nullptr and c files check against
NULL.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:42:49 -07:00
Mark Charlebois a452478ef9 More fixups for orb_advert_t changed to void *
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:42:49 -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 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
Ban Siesta 96bfe85ceb fw_att_control: another ugly way to prevent a newline 2015-05-26 23:05:26 -07:00
Ban Siesta d3fe6fd256 fw_att_control: whitespace 2015-05-26 23:05:18 -07:00
Ban Siesta e2277bbe2d fw_att_control: don't brag about being running 2015-05-26 23:05:11 -07:00