Lorenz Meier
f37f8fb977
UAVCAN: Move to semaphore abstraction
2015-09-20 00:30:12 +02:00
Lorenz Meier
21d1b4ba2e
Merged beta into master
2015-08-22 14:06:01 +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
David Sidrane
22d46fa733
Merged master_uavcan_modular src/modules/uavcan/
2015-07-09 11:22:35 -10:00
David Sidrane
3e64ad10e8
Conditional inclusion of the Node Allocation and FW Server - default is OFF
2015-06-17 19:43:06 +02:00
David Sidrane
d6c2dd997b
Conditional inclusion of the Node Allocation and FW Server - default is OFF
2015-06-17 06:21:28 -10:00
David Sidrane
68276ff345
Back Port from Master - Changes to build on latest uavcan master with FW upload and Node ID
2015-06-05 06:43:10 -10:00
David Sidrane
2d796f408d
Ran Astyle
2015-06-04 03:27:40 -10:00
David Sidrane
6155a1557f
Changes to build on latest uavcan master with FW upload and Node ID allocation
2015-06-04 02:37:59 -10:00
Lorenz Meier
b980e34c3c
Update uavcan app for generated actuator_outputs topic
2015-05-27 15:21:31 -07:00
Lorenz Meier
4565f57468
Merged release_v1.0.0 into master
2015-05-27 15:28:41 -07:00
Lorenz Meier
8fd00f4d6d
Merged release_v1.0.0 into master
2015-05-23 11:07:10 +02:00
Lorenz Meier
6d7e063148
Added GIT version which recompiles on each build
2015-05-23 09:59:46 +02: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
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
Pavel Kirienko
3f961bf3c6
UAVCAN driver silently ignores repeated start commands without error. This allows to avoid error messages when UAVCAN driver is started from extras script before default initialization sequence is executed.
2015-04-23 22:02:34 +03: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
Daniel Agar
207b57869d
only define GIT_VERSION where it's used
...
-when the git revision is passed to every file as a define it causes
unnecessary ccache cache misses
2015-04-18 01:25:54 -04:00
Roman Bapst
555e96a37a
fixed publication of mixer limit flags
2015-04-10 20:26:38 +02:00
Thomas Gubler
66007d56ef
fix uorb constants in uavcan module
2015-01-28 16:32:54 +01:00
Pavel Kirienko
ae0e2d7209
Removing extra UAVCAN perfcounters
2015-01-21 14:54:24 +01:00
Pavel Kirienko
4baf4a032f
Fixed: Passing this->_armed_sub to close, which cannot accept a negative number.
2015-01-21 14:54:24 +01:00
Pavel Kirienko
d87bb4dfcb
Revert "Intrusive changes made for UAVCAN profiling. Will be reverted in the next commit (this one is needed to keep the changes in history)"
...
This reverts commit 4c301d9dcf180e39186fa6753c7a3d3215b3cfa7.
2015-01-21 14:54:23 +01:00
Pavel Kirienko
6bbacc4271
Intrusive changes made for UAVCAN profiling. Will be reverted in the next commit (this one is needed to keep the changes in history)
2015-01-21 14:54:23 +01:00
Pavel Kirienko
eea3c801f4
UAVCAN perf counters
2015-01-21 14:54:22 +01:00
Simon Wilks
f3fb32bc47
Unsubscribe from the topic.
2014-12-03 10:43:17 +01:00
Simon Wilks
7a344b9337
Display ESC data in the status output
2014-12-03 10:30:49 +01:00
Andrew Tridgell
7ae4f6d97e
uavcan: added add_poll_fd() helper function
...
this makes the code clearer and avoids repeated code
2014-11-26 08:41:32 +11:00
Andrew Tridgell
a7a68c88a2
uavcan: show ESC output values in uavcan status, and add arm/disarm
...
this makes "uavcan status" show the current output values, which is
useful for debugging. It also adds "uavcan arm" and "uavcan disarm"
commands, which are very useful for re-arming after a motor test.
2014-11-26 08:32:47 +11:00
Andrew Tridgell
724ec0ec8b
uavcan: handle all ESC output in one place
...
moving all the ESC output handling to one place allows the limits on
actuator values to apply to all types of inputs, and will make it
easier to expand "uavcan status" to show actuator values
2014-11-26 08:32:47 +11:00
Andrew Tridgell
b830137ec8
uavcan: added support for actuator_direct ORB topic
...
this watches the actuator_direct topic and uses it to allow for direct
output of actuator values, bypassing the mixer
2014-11-26 08:32:46 +11:00
Andrew Tridgell
2dae1bc542
uavcan: break the link between poll fd indexes and controls
...
this linkage was fragile and makes it harder to add new orb
subscriptions to the uavcan code
2014-11-26 08:32:46 +11:00
Holger Steinhaus
7bc9a62577
code style, warnings
2014-11-12 10:10:37 +01:00
Holger Steinhaus
0800fa4715
UAVCAN: implemented motor testing
2014-11-03 20:23:22 +01:00
Holger Steinhaus
58f36714f8
UAVCAN: allow to arm single ESCs
2014-11-03 18:51:43 +01:00
Lorenz Meier
62b98cc944
Merge pull request #1329 from hsteinhaus/uavcan_prio
...
uavcan: increased thread prio, reduces roundtrip latency by a factor of ...
2014-08-27 13:40:25 +02:00
Pavel Kirienko
eab701b896
Improved UAVCAN status reporting
2014-08-26 00:52:33 +04:00
Pavel Kirienko
701bd803ce
UAVCAN status reporting and proper termination
2014-08-24 00:20:57 +04:00
Pavel Kirienko
e9da830316
UAVCAN: initializing all bridges by default
2014-08-24 00:06:47 +04:00
Pavel Kirienko
6a8971e28f
New UAVCAN initialization logic
2014-08-23 17:31:46 +04:00
Pavel Kirienko
7132141cc4
UAVCAN: Printing all known sensor bridge names with usage info
2014-08-22 20:33:35 +04:00
Pavel Kirienko
6ebd59c633
UAVCAN: improved sensor bridge factory
2014-08-22 15:52:35 +04:00
Pavel Kirienko
54affaf633
UAVCAN sensor enable command fix
2014-08-22 13:58:05 +04:00
Pavel Kirienko
0d9f6b6e2e
UAVCAN: Refactored and generalized sensor bridge support
2014-08-22 01:52:23 +04:00
Holger Steinhaus
09a9ea87e7
uavcan: increased thread prio, reduces roundtrip latency by a factor of 5..7
2014-08-19 22:48:15 +02:00
Pavel Kirienko
33762ce861
UAVCAN ESC mixer: removed the failsafe placeholder, it's no use here
2014-08-06 12:40:07 +04:00
Anton Babushkin
5824607c76
uavcan: fix actuator groups subcriptions and poll()
2014-08-02 13:01:42 +02:00
Pavel Kirienko
9725a16352
UAVCAN: Fixed short git hash computation
2014-08-02 03:34:57 +04:00