Beat Küng
1fb5353a60
rc: add unit test for CRSF RC
...
Also cleanup other RC unit tests
7 years ago
Beat Küng
6e24bbbaaf
fmu: add CRSF RC and Telemetry support
...
- Telemetry is only enabled on omnibus, since on Pixhawk it seems we cannot
write to the RC UART due to how the board is wired
- For the Telemetry the UART needs to be opened RW
7 years ago
Beat Küng
04dbd40723
rc lib: add CRSF Crossfire protocol (RC and Telemetry)
7 years ago
Beat Küng
74e4619042
rc lib: cleanup, move structs out of common_rc.h
7 years ago
Beat Küng
388b963dd8
refactor fmu: fix naming convention for raw_rc_count & raw_rc_values
7 years ago
Beat Küng
3816145d59
fmu: fix init & use of _control_subs
...
0 is a valid file descriptor, init (all) to -1 instead
7 years ago
Beat Küng
49fe19c20f
uavcan_main: fix init & use of _control_subs
...
0 is a valid file descriptor
7 years ago
Beat Küng
442d4410ca
pwm_out_sim: cleanup, avoid unnecessary & incorrect init of _control_subs
...
These need to be set to -1.
7 years ago
Daniel Agar
be3af59c76
lsm303agr flip z axis and properly set scaling and range
7 years ago
Daniel Agar
14cf92d8b2
lsm303agr split main
7 years ago
Daniel Agar
3d3855e87b
AV-X configure default serial on UART5 (J116)
7 years ago
Roman
37f59ad4f5
mavlink: fixed nullptr dereferencing in case unknown mavlink message is
...
forwarded
Signed-off-by: Roman <bapstroman@gmail.com>
7 years ago
Julian Oes
462cf131d5
mavlink: add sysid to UUID
...
To avoid that multiple SITL instances have the same UUID we add the
mavlink system ID to the UUID which is sent via mavlink.
This should resolve the case where multiple vehicles show up with the
same UUID in simulation.
Note that the UUID show in `ver` will still be the same for all
instances.
7 years ago
Matthias Grob
83c0888d80
Appveyor: finally found all install, build and path bugs, commented
7 years ago
Matthias Grob
a31e851fd8
Appveyor: enable build cache and better download command
7 years ago
Matthias Grob
cb57cf6ab5
Appveyor: switch to msi installer 0.3
7 years ago
Matthias Grob
3b1dcc8185
Cygwin: add appveyor sitl build
7 years ago
Beat Küng
382f989c9d
ecl submodule: fix commit hash
...
The current commit hash points to a deleted branch.
7 years ago
Lorenz Meier
c86dbe60a0
Increased mixer load buffer to allow larger mixer structures to fit.
...
This allows to load mixers with more inputs.
7 years ago
Daniel Agar
77751d4822
EKF2 set param EKF2_MAG_DECL volatile
7 years ago
Paul Riseborough
77f0883cb9
ekf2: Reinstate saving of mag declination for use next start
...
This capability was removed unintentionally by previous changes.
Requires ecl version with updated declination accessor function
7 years ago
mcsauder
8da1e67050
Move OUTPUT_MODE logic from rcS to rc.interface.
7 years ago
Jake Dahl
57dfcee842
added a check for not maybe_landed upon takeoff
7 years ago
Daniel Agar
d7b2b48bad
tap_esc increase stack 1100 -> 1180 bytes
7 years ago
Jake Dahl
4144a53cd6
added a check to ensure the current position setpoint is valid
7 years ago
Jake Dahl
a1ff4a8a67
removed unneccessary includes, eliminated namespace on math, changed date
...
changed a comment
reverted a file back to master
7 years ago
Jake Dahl
21db15ff4f
If already in landing, go straight to state RTL_LAND. Also cleaned up the comments
7 years ago
Jake Dahl
130cdf25bf
prevent RTL if already landing
7 years ago
Jake Dahl
7c84e77312
we used to check if we have actually landed not mission reached in navigator
7 years ago
Daniel Agar
100f9553ce
tests clang-tidy ignore modernize-pass-by-value
7 years ago
Dennis Mannhart
9c0a6eb87a
clang modernize: remove void argument
7 years ago
Dennis Mannhart
40f2388295
test_search_min: remove printf
7 years ago
Dennis Mannhart
609d412217
BezierQuad: use template type Tp for default
7 years ago
Dennis Mannhart
7559610a7b
BezierQuad: update description, replace Data with Vector3_t
7 years ago
Dennis Mannhart
6ddf214bbd
BezierQuad: set cached_arc_length once computed
7 years ago
Dennis Mannhart
fe48e06f9d
add tests for Bezier and Golden Section Search libraries
7 years ago
Dennis Mannhart
c8842665da
mathlib: add golden section search
7 years ago
Dennis Mannhart
90f95bca0e
add Bezier library
7 years ago
Daniel Agar
5ec010372c
rcS preserve accel, gyro, and temp cal parameters
7 years ago
PX4 Jenkins
b98f5aaf7e
Update submodule micro-CDR to latest Tue Jul 24 20:26:29 CDT 2018
...
- micro-CDR in PX4/Firmware (eca3a58a36d7367d5d5ca4a6289585e13003cf51): 890b118196
- micro-CDR current upstream: df48e526fe
- Changes: 890b118196...df48e526fe
df48e52 2018-07-11 Luis Enrique Muñoz Martín - Removed some inline modifiers
c77a49f 2018-07-11 Luis Enrique Muñoz Martín - indent
4f659ab 2018-07-11 Luis Enrique Muñoz Martín - Removed unused images.
d3a5b4a 2018-07-11 Luis Enrique Muñoz Martín - Removed old files.
7 years ago
Matthias Grob
152c6db212
Fix logger signed unsigned error with GCC 7.3 in Cygwin ( #10009 )
7 years ago
Julian Oes
80cac6561f
sensors: no temperature compensation in HITL
...
Temperature compensation is not supported in HITL. Therefore, don't try
and fail. This basically removes the confusing error message that we get
in HITL.
7 years ago
mcsauder
ee3e34cd06
Move UART mapping comments back to top level rcS script. Deprecate PWM_ACHDIS and replace with PWM_AUX_OUT and set PWM_AUX_DIS value directly in vtol airframe config files. Replace tone_alarm instances with tune_control and default tune enums, and relocate an OUTPUT_MODE == fmu logic block in rcS.
7 years ago
Daniel Agar
4818e3abe0
ROMFS cmake combine copy, rc.autostart, prune steps
7 years ago
ChristophTobler
9aa6dad514
FlightTask orbit: make format
7 years ago
MaEtUgR
e8d2f1c2be
FlightTaskOrbit: execute MAVLink orbit command
...
Latest QGC daily supports sending an orbit command. This commit applies
the correct radius, rotation direction, velocity and center position.
Still missing is a check to have global position available and applying
x,y coordinates and altitude independently.
7 years ago
MaEtUgR
7c068e47ab
FlightTaskOrbit: fix acceleration limit inverting velocity
...
The formula only calculated the absolute value of the velocity and
the sign (rotation direction) got lost in that case.
7 years ago
MaEtUgR
12290c27e6
FlightTask: update global reference
...
For the geo.h C library to convert between global and local frame
we need an up to date global reference which is currently inside the
vehicle_local_position message.
7 years ago
MaEtUgR
7d4fcccf83
FlightTasks: fix switch case style
7 years ago
MaEtUgR
e95d795b08
FlightTasks: use member function as check for constistency
7 years ago