Julian Oes
9854fc0d84
Set timestamp with vehicle commands
...
The vehicle_command uORB messages had the timestamp unset at 0.
2017-07-08 11:52:23 +02:00
Daniel Agar
32068dcd17
px4io increase stack
2017-07-06 10:05:07 -04:00
Lorenz Meier
fd0efac2b5
IO driver: Run attitude control group limited until the device speed gets set
2017-03-23 08:28:15 +01:00
David Sidrane
2368d94f53
Fixed low on stack waning
2017-03-23 08:28:15 +01:00
Mark Whitehorn
aa9fbbedd5
add oneshot mode capability
...
change fmu to task
increase fmu_servo task priority to max and enable true oneshot
use lowest FMU priority which minimizes jitter
constrain oneshot updates to control group 0 events
2017-03-23 08:28:15 +01:00
David Sidrane
e3698e6853
Use the PX4IO_FW_SEARCH_PATHS to set path for PX4IO FW update
2017-01-21 11:45:36 +01:00
Anton Matosov
3a17c07b1e
Implement RC and DL failsafe action handling for multirotors
...
Move RC and DL failsafe actions handling from navigator to commander (credits to @AndreasAntener)
Separate manual kill switch handling via manual_lockdown to prevent override and release of software lockdown by RC switch
Other changes:
Add failsafe tune
Fix LED blinking for Pixracer
Return back support for rc inputs in simulator but now it is configurable via cmake
2016-12-27 00:38:13 +01:00
David Sidrane
cc0a4248f8
PX4 System changes for new Boards
2016-12-21 08:34:22 +01:00
David Sidrane
c9f10107c0
Nuttx Upgrade:Adds sem_setprotocol
2016-12-21 08:34:21 +01:00
David Sidrane
ddb9bc3242
Honor micro hal
2016-12-21 08:34:20 +01:00
Roman
d221313dfb
implemented mapping between desired thrust and applied pwm in
...
multirotor mixer.
Signed-off-by: Roman <bapstroman@gmail.com >
2016-12-15 23:39:53 +01:00
Paul Riseborough
efb7131186
px4io: improve multi-rotor motor saturation status reporting
2016-12-13 16:14:15 +01:00
Lorenz Meier
0d174be0a0
IO: Remove unnecessary boot output
2016-12-12 16:11:21 +01:00
Mark Whitehorn
f0b41a0e52
change main trims to normalized values
2016-12-10 12:56:39 +01:00
Bartosz Wawrzacz
bb52a77194
[PX4IO/PWM driver] Fixed a bug in px4io driver
2016-12-10 12:56:39 +01:00
Mark Whitehorn
a0c8a78a14
use trim values to set mixer:scaler.offset
...
clamp mixer output offset to [-.2,.2] ([-2000, 2000] in mixer file)
add 8 main PWM trim parameters
add long desc to parameters and bump minor parameter version
2016-12-10 12:56:39 +01:00
Bartosz Wawrzacz
619efa7b45
[PX4IO/PWM driver] Added trim values to the PWM output drivers
2016-12-10 12:56:39 +01:00
Daniel Agar
2f962a986b
PX4IO add IMU heater to status
2016-12-05 10:23:46 +01:00
Lorenz Meier
3166aeb8a4
PX4IO driver: Enable thermal control
2016-12-05 10:23:46 +01:00
David Sidrane
c042f49fde
System Changes for AUAV X2.1
2016-11-28 09:18:45 +01:00
James Goppert
4d6d0b2850
Fix px4io bind failed message to say safet is off instead of armed. ( #5834 )
...
Minor message clarity fix.
2016-11-09 19:39:39 -05:00
Roman
66ddea01d1
implemented slew-rate
2016-09-30 13:55:53 +02:00
Beat Küng
ce0d31b7d9
mavlink log: ensure all critical & emergency msgs are also logged to console & ulog
...
Critical messages that the user sees should also go to the log file, so
that the exact error (with time) can later be analyzed from the log file.
2016-09-30 13:50:51 +02:00
Julian Oes
8ff237c69f
Remove size optimization for individual modules
...
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
2016-09-30 08:11:51 +02:00
Beat Küng
d297d31c23
input_rc.msg: remove timestamp_publication, use timestamp instead
2016-09-19 13:02:31 +02:00
Beat Küng
be4db3c5df
vehicle_command topic: use uorb queuing with length 3
...
Just to make sure we don't lose any messages.
2016-09-07 18:47:12 +02:00
Carlo Wood
cc69dd5665
printf format fixes. ( #5444 )
...
After I got a compiler warning for a printf format in this file
(which I cannot reproduce anymore; for some reason g++ is usually
quite happy with all the errors in this file), I fixed all 'printf'
formats to match the type of their arguments as follows:
uint8_t : %hhu
uint16_t : %hu (or %hx)
uint32_t : %u (or %x)
int16_t : %hd
int and int32_t : %d
long int : %ld
Since this file is C++, what we REALLY should be using is
ostream operator<<'s of course (type safe by design and faster
(compile time type matching, no need for format decoding)).
2016-09-04 14:28:23 +02:00
Julian Oes
de76c398ca
px4io: whitespace fixes
2016-07-29 12:46:17 +02:00
Julian Oes
a9a5f3a19e
px4io: add FMU fail test mode
...
In order to test what happens in px4iofirmware when the FMU stops
sending PWM or control commands, I added a test mode. When the test mode
is activated, no controls are sent.
2016-07-29 12:46:17 +02:00
Roman
13905c2480
px4io driver: send roll, pitch and yaw scale parameter values to io
...
Signed-off-by: Roman <bapstr@ethz.ch >
2016-07-13 09:29:12 +02:00
xiaoyuli
7718343b27
fix the function of disabling safety switch ( #5031 )
2016-07-12 23:43:17 +02:00
Roman Bapst
ec35e77175
px4io driver: fix reporting of mixer limits ( #4922 )
...
mixer limit topic was not filled correctly
Signed-off-by: tumbili <roman@px4.io >
2016-06-27 17:31:43 +02:00
Julian Oes
8aee4432a9
px4io: set safety on before going into bootloader ( #4860 )
...
Sometimes when flashing new firmware, the IO update fails because safety
is off. In this case, we should set safety on first before putting the
IO board into bootloader mode.
2016-06-21 09:15:38 +02:00
Julian Oes
4a6b845ef6
px4io: nicer printf
2016-06-07 22:10:56 +02:00
Lorenz Meier
7398164fcc
Updated PX4 use / API of low level GPIO and other hardware-centric system facilities
2016-05-28 14:56:17 +02:00
Lorenz Meier
41b127d405
Make IO RSSI handling as robust and informative as on FMU
2016-05-15 14:32:06 +02:00
Lorenz Meier
06fec2bce0
IO driver: Fix PWM load
2016-05-14 18:05:24 +02:00
Daniel Agar
76387b1693
uorb autogeneration
2016-05-14 11:27:07 +02:00
Daniel Agar
6f49f861d6
px4io_params.c param metadata
2016-05-13 20:25:22 -04:00
Lorenz Meier
ebaca071f6
Battery charge estimation: Factor in voltage drop for idle props
2016-05-06 18:14:34 +02:00
Lorenz Meier
dd774a60e3
IO driver: Reduce perf counters
2016-05-05 20:08:11 +02:00
Julian Oes
fa6fe4ca96
px4io: small change after perf_counter API change
2016-04-25 12:48:48 +02:00
Julian Oes
88626cf5f1
px4io: remove leftover printf
2016-04-21 13:34:46 +02:00
Julian Oes
482ce55d57
px4io: allow 0 as a PWM signal
2016-04-21 13:32:38 +02:00
Andrew Tridgell
3bad8131cf
px4io: don't call io_set_rc_config when rc config disabled
2016-04-18 18:44:05 +02:00
Andrew Tridgell
fde635ef5a
px4iofirmware: fixed display of sbus rate in px4io status
2016-04-18 11:43:24 +02:00
Andrew Tridgell
30ce7fdd48
px4io: display SBUS rate in px4io status
2016-04-18 11:43:24 +02:00
Andrew Tridgell
6290e621d4
px4io: added control for setting SBUS rate
2016-04-18 11:43:24 +02:00
Andrew Tridgell
3fda934d1b
px4io: on config error ask IO to reboot to bootloader
...
this allows us to update fw when core config settings have changed,
such as the actuators/servos change that happened recently
2016-04-18 11:40:07 +02:00
Andrew Tridgell
85e8cd89b6
px4io: set reasonable default voltage scaling
...
needed for when px4 param system not available in ardupilot
2016-04-18 11:39:37 +02:00