Thomas Gubler
b351d67175
fix print for px4
10 years ago
Thomas Gubler
244c1cb583
enable systemcmds in test build
10 years ago
Thomas Gubler
59a9648bb6
macro for topic subscription
10 years ago
Thomas Gubler
bfc0a52ea2
update nuttx
10 years ago
Thomas Gubler
2760d64a00
Merge remote-tracking branch 'upstream/master' into dev_ros
10 years ago
Thomas Gubler
946d1203cf
remove unnecessary variable
10 years ago
Thomas Gubler
36bf0c04c8
WIP, c++11 style callbacks for px4
10 years ago
Thomas Gubler
486d81cb95
NuttX submodule: header changes
10 years ago
Lorenz Meier
22a247ca67
Disable the BlinkM driver, code style fixes for other disabled drivers
10 years ago
Lorenz Meier
9d986f5df3
HMC5883: Better status reporting
10 years ago
Lorenz Meier
2a9a649adb
Make boot less verbose to not hide the important status messages
10 years ago
Thomas Gubler
ee534b827a
move spin functions to nodehandle
10 years ago
Thomas Gubler
818a49b5a8
fix ros compile errors
10 years ago
Thomas Gubler
0474908e1c
reenable task flag
10 years ago
Thomas Gubler
e7c1e5b1ff
wip, working on the nuttx wrapper
10 years ago
Lorenz Meier
32835757de
Remove uncommon modules from FMU-v2 build
10 years ago
Lorenz Meier
6200a3e3a5
Added TeraRanger one sensor
10 years ago
Lorenz Meier
cbcd1ea1d1
Merged PX4Flow driver changes
10 years ago
Andrew Tridgell
4724c05047
airspeed: use _retries=2 for I2C retries once initialised
...
airspeed sensors often need to be on longer cables due to having to be
outside the prop wash.
10 years ago
Andrew Tridgell
8e932cec10
systemcmds: added reflect command for USB testing
10 years ago
Lorenz Meier
ef76a7cf27
Merge branch 'pullrequest-px4io' of github.com:tridge/Firmware
10 years ago
Andrew Tridgell
c906c21238
px4io: prevent use of uninitialised memory in io_set_arming_state()
...
the vehicle may not have setup a control_mode. We need to check the
return of orb_copy() to ensure we are getting initialised values
10 years ago
Andrew Tridgell
c0b47d6a74
px4io: only check SAFETY_OFF for allowing RC config changes and reboot
...
If we check OUTPUTS_ARMED then we can't update trim values and scaling
in flight, as there is no way to clear OUTPUTS_ARMED.
If safety is on then it should be perfectly safe to update the mixer
and RC config or reboot for fw update
10 years ago
Andrew Tridgell
29f000dc31
px4io: fixed error returns to be negative
...
follow standard conventions
10 years ago
Andrew Tridgell
809500cfcd
px4io: fixed RC_CONFIG channel limit check
...
number of channels is the right test, not number of actuators
10 years ago
Andrew Tridgell
7ae4f6d97e
uavcan: added add_poll_fd() helper function
...
this makes the code clearer and avoids repeated code
10 years ago
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.
10 years ago
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
10 years ago
Andrew Tridgell
8e44ec2e3b
uavcan: prevent crash in ESC driver
...
passing in more than 8 actuators would crash the ESC driver. We need
to check again the array size of the _esc_status.esc, which is
CONNECTED_ESC_MAX
10 years ago
Andrew Tridgell
ead0458e97
uavcan: don't force motors to keep spinning at zero throttle
...
Forcing motors to keep spinning when armed should be a policy decision
up at the vehicle type level, not hard coded down in the ESC
driver. It isn't appropriate for fixed wing or ground vehicles for
example.
We could add an ioctl to enable "spin when armed" if just setting a
small value in the vehicle code is inconvenient
10 years ago
Andrew Tridgell
ecc7a3cbb4
motor_test: prevent use of uninitialised test_motor orb handle
...
stack variables are not initialised to zero
10 years ago
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
10 years ago
Andrew Tridgell
f6b0a3e07f
uORB: added actuator_direct topic
...
this topic will be used to allow direct output of actuator values for
uavcan, bypassing the mixer.
10 years ago
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
10 years ago
Thomas Gubler
3c6f6618e8
Merge remote-tracking branch 'upstream/uorbtinymerge' into dev_ros
10 years ago
Thomas Gubler
579ec36c28
fix order of arguments (merge fix)
10 years ago
Thomas Gubler
55cf2fc61c
WIP, towards more px4 compatibility, first macros
10 years ago
Thomas Gubler
5b80a2ae38
Merge remote-tracking branch 'upstream/pr/1040' into uorbtinymerge
...
Conflicts:
mavlink/include/mavlink/v1.0
src/modules/mc_att_control/mc_att_control_main.cpp
10 years ago
Thomas Gubler
c167df9038
ros wrapper: small reordering
10 years ago
Thomas Gubler
978013bbb8
px4 wrapper for ros publisher
10 years ago
Thomas Gubler
0a3492fc32
define default queue size
10 years ago
Thomas Gubler
bb8375e1f6
Merge remote-tracking branch 'upstream/master' into dev_ros
10 years ago
Thomas Gubler
e2f846ee2f
create list of subscribers
10 years ago
Thomas Gubler
1826fa5d39
improve subsciber api
10 years ago
Thomas Gubler
3f36d30a34
wrapped subscriber
10 years ago
Thomas Gubler
1e36de6157
ignore build folder
10 years ago
Thomas Gubler
c37ff71e62
Merge remote-tracking branch 'upstream/master' into ros
...
Conflicts:
makefiles/config_px4fmu-v2_test.mk
10 years ago
Lorenz Meier
7cb613bb26
Merge pull request #1398 from philipoe/master
...
Addition of rc-loss duration to the mavlink warning messages
10 years ago
philipoe
08d6cbe6bf
commander: Decrease RC-signal-regained message length to stay within 50 character length limit at all times
10 years ago
Lorenz Meier
2f271888d2
Added performance counter for SD log performance of write() call
10 years ago