Daniel Agar
76387b1693
uorb autogeneration
2016-05-14 11:27:07 +02:00
Lorenz Meier
9e34124210
mkblctrl: Fixed code style
2015-10-19 13:17:00 +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
4565f57468
Merged release_v1.0.0 into master
2015-05-27 15:28:41 -07:00
Lorenz Meier
e07731de7a
Move esc_status to generated topics
2015-05-27 15:21:31 -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
Mark Charlebois
c5237f7f6f
Removed extra abstracton layer in systemlib
...
The calls to task_spawn_cmd, kill_all, and systemreset were wrappers
around the px4_{task_spawn_cmd|kill_all|systemreset} implementations.
Removed the wrappers and changed all calls to the px4_ equivalents.
NuttX specific code was moved into px4_tasks.h
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-06 14:43:11 -07: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
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
Roman Bapst
555e96a37a
fixed publication of mixer limit flags
2015-04-10 20:26:38 +02:00
NosDE
3de63dee6c
interface for min and max rc added
2015-02-28 20:29:03 +01:00
NosDE
e4ad2f8e48
cmd switch for min_rc and max_rc added
2015-02-23 07:17:31 +01:00
NosDE
3f45f51d7a
mkblctrl - rework and bugfix - test ok
2015-02-18 16:55:17 +01:00
NosDE
5fddb89c3e
mkblctrl - rework and bugfix
2015-02-18 16:55:05 +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
d9d9a59ce4
MKBL: Move to topic groups
2015-01-29 16:33:54 +01:00
Thomas Gubler
14aa5f9441
add topic header includes
2015-01-25 15:00:35 +01:00
Pavel Kirienko
1bf4270e3e
Update ORB topic 'esc_status'
2014-10-13 17:01:34 +04:00
Don Gagne
92adbe9216
Fix compiler warnings
2014-06-29 17:47:24 -07:00
Don Gagne
367613a1b5
Fix tabbing
2014-06-29 13:32:58 -07:00
Don Gagne
d5b5dcef24
Fix bugs found through compiler warnings
2014-06-29 12:01:43 -07:00
Lorenz Meier
29ffb3bad3
mkblctrl: Moved motor data struct into class
2014-05-12 22:11:28 +02:00
Lorenz Meier
df7d595999
Remove noreturn attribute from all drivers that actually can return
2014-05-09 09:19:44 +02:00
Lorenz Meier
267b78f072
Fix of errors triggered by more pedantic compile options
2014-04-21 21:31:30 +02:00
marco
a8b3381ca9
BL-Ctrl 3.0 fix
2014-02-17 21:29:14 +01:00
Lorenz Meier
399d59483e
Fixed code style
2014-02-05 09:36:22 +01:00
Lorenz Meier
94b162d0e0
Fixed up nullptr handling
2014-02-05 09:34:21 +01:00
marco
1ef7320e0c
startup rewrite
2014-02-04 16:50:22 +01:00
marco
816229652f
i2c1 bug and bus scan fixed
2014-02-02 20:36:11 +01:00
marco
0089db7ef3
code cleanup
2014-02-02 16:28:56 +01:00
marco
9defc6cb23
mkblctrl fmuv2 support added
2014-02-02 14:26:17 +01:00
marco
4e713a7083
motortest mode enhanced
2013-11-26 19:01:43 +01:00
marco
d2e32f2fc5
mkblctrl - hotfix for i2c scan
2013-11-22 21:05:40 +01:00
marco
cc8e85ce7e
mkblctrl scans now i2c3 and i2c1 bir connected esc's
2013-11-21 22:24:16 +01:00
marco
f82a202667
actuator effective removed - unused
2013-11-19 17:35:04 +01:00
marco
21cc19cef6
mkblctrl set a default device / -d (device) parameter for alternate device added / -t testmode enhanced
2013-11-18 21:32:41 +01:00
Julian Oes
ea0aa49b54
pwm info provides more information, some fixes for setting rate/min/max/disarmed
2013-10-07 16:24:49 +02:00
marco
318abfabcb
mkblctrl fix and qgroundcontrol2 startup script for different frametypes
2013-09-13 21:05:41 +02:00
Julian Oes
56575eb068
Merge remote-tracking branch 'px4/new_state_machine_drton' into fmuv2_bringup_new_state_machine_drton
...
Conflicts:
src/drivers/blinkm/blinkm.cpp
src/drivers/px4io/px4io.cpp
src/modules/commander/state_machine_helper.c
src/modules/px4iofirmware/protocol.h
src/modules/px4iofirmware/registers.c
src/modules/systemlib/systemlib.h
src/systemcmds/reboot/reboot.c
2013-08-15 14:04:46 +02:00
px4dev
9d6ec6b365
Restructure things so that the PX4 configs move out of the NuttX tree, and most of the PX4-specific board configuration data moves out of the config and into the board driver.
...
Rename some directories that got left behind in the great board renaming.
2013-08-02 22:34:55 -07:00
Lorenz Meier
1410625dea
Enabled additional drivers on v2, kill misplaced code in mkblctrl
2013-07-28 16:12:40 +02:00
Julian Oes
1b38cf715d
Renamed actuator_safety back to actuator_armed, compiling but untested
2013-07-15 22:15:15 +02:00
Lorenz Meier
bf2ff98856
Merged master
2013-07-15 15:02:45 +02:00
Lorenz Meier
ced2871263
Merged mkblctrl
2013-07-08 20:48:30 +02:00
Julian Oes
88389ea255
Merge branch 'master' into new_state_machine
...
compiling again
Conflicts:
src/modules/fixedwing_att_control/fixedwing_att_control_att.c
src/modules/fixedwing_att_control/fixedwing_att_control_rate.c
src/modules/fixedwing_pos_control/fixedwing_pos_control_main.c
src/modules/mavlink/orb_listener.c
src/modules/multirotor_att_control/multirotor_attitude_control.c
src/modules/multirotor_att_control/multirotor_rate_control.c
src/modules/systemlib/pid/pid.c
src/modules/systemlib/pid/pid.h
src/modules/uORB/objects_common.cpp
2013-07-08 10:31:32 +02:00
marco
209dc7100e
mkclctrl 8/11Bit support, uOrb Topic added, ESC Topic to Sdlog2 added
2013-07-02 19:46:15 +02:00
Julian Oes
90f5e30f2a
Introduced new actuator_safety topic
2013-06-14 13:53:26 +02:00
px4dev
23a6234235
Rename our 'task_spawn' to 'task_spawn_cmd' since NuttX now has its own version of task_spawn that's different.
2013-06-01 23:31:53 +02:00
marco
73d2baeb20
comments cleaned
2013-05-26 16:49:33 +02:00