Commit Graph

26876 Commits

Author SHA1 Message Date
Daniel Agar be3af59c76 lsm303agr flip z axis and properly set scaling and range 2018-07-28 15:22:20 +02:00
Daniel Agar 14cf92d8b2 lsm303agr split main 2018-07-28 15:22:20 +02:00
Daniel Agar 3d3855e87b AV-X configure default serial on UART5 (J116) 2018-07-28 03:21:01 -07:00
Roman 37f59ad4f5 mavlink: fixed nullptr dereferencing in case unknown mavlink message is
forwarded

Signed-off-by: Roman <bapstroman@gmail.com>
2018-07-27 18:41:51 +02:00
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.
2018-07-27 11:49:28 +02:00
Matthias Grob 83c0888d80 Appveyor: finally found all install, build and path bugs, commented 2018-07-26 23:10:06 +02:00
Matthias Grob a31e851fd8 Appveyor: enable build cache and better download command 2018-07-26 23:10:06 +02:00
Matthias Grob cb57cf6ab5 Appveyor: switch to msi installer 0.3 2018-07-26 23:10:06 +02:00
Matthias Grob 3b1dcc8185 Cygwin: add appveyor sitl build 2018-07-26 23:10:06 +02:00
Beat Küng 382f989c9d ecl submodule: fix commit hash
The current commit hash points to a deleted branch.
2018-07-26 13:47:51 +02:00
Lorenz Meier c86dbe60a0 Increased mixer load buffer to allow larger mixer structures to fit.
This allows to load mixers with more inputs.
2018-07-26 08:39:01 +02:00
Daniel Agar 77751d4822 EKF2 set param EKF2_MAG_DECL volatile 2018-07-26 08:32:09 +02:00
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
2018-07-26 08:32:09 +02:00
mcsauder 8da1e67050 Move OUTPUT_MODE logic from rcS to rc.interface. 2018-07-26 08:17:52 +02:00
Jake Dahl 57dfcee842 added a check for not maybe_landed upon takeoff 2018-07-26 07:49:14 +02:00
Daniel Agar d7b2b48bad tap_esc increase stack 1100 -> 1180 bytes 2018-07-26 07:48:01 +02:00
Jake Dahl 4144a53cd6 added a check to ensure the current position setpoint is valid 2018-07-26 07:46:24 +02:00
Jake Dahl a1ff4a8a67 removed unneccessary includes, eliminated namespace on math, changed date
changed a comment

reverted a file back to master
2018-07-26 07:46:24 +02:00
Jake Dahl 21db15ff4f If already in landing, go straight to state RTL_LAND. Also cleaned up the comments 2018-07-26 07:46:24 +02:00
Jake Dahl 130cdf25bf prevent RTL if already landing 2018-07-26 07:46:24 +02:00
Jake Dahl 7c84e77312 we used to check if we have actually landed not mission reached in navigator 2018-07-26 07:45:00 +02:00
Daniel Agar 100f9553ce tests clang-tidy ignore modernize-pass-by-value 2018-07-25 08:50:10 +02:00
Dennis Mannhart 9c0a6eb87a clang modernize: remove void argument 2018-07-25 08:50:10 +02:00
Dennis Mannhart 40f2388295 test_search_min: remove printf 2018-07-25 08:50:10 +02:00
Dennis Mannhart 609d412217 BezierQuad: use template type Tp for default 2018-07-25 08:50:10 +02:00
Dennis Mannhart 7559610a7b BezierQuad: update description, replace Data with Vector3_t 2018-07-25 08:50:10 +02:00
Dennis Mannhart 6ddf214bbd BezierQuad: set cached_arc_length once computed 2018-07-25 08:50:10 +02:00
Dennis Mannhart fe48e06f9d add tests for Bezier and Golden Section Search libraries 2018-07-25 08:50:10 +02:00
Dennis Mannhart c8842665da mathlib: add golden section search 2018-07-25 08:50:10 +02:00
Dennis Mannhart 90f95bca0e add Bezier library 2018-07-25 08:50:10 +02:00
Daniel Agar 5ec010372c rcS preserve accel, gyro, and temp cal parameters 2018-07-25 07:48:19 +02:00
PX4 Jenkins b98f5aaf7e Update submodule micro-CDR to latest Tue Jul 24 20:26:29 CDT 2018
- micro-CDR in PX4/Firmware (eca3a58a36d7367d5d5ca4a6289585e13003cf51): https://github.com/eProsima/micro-CDR/commit/890b118196a253540bc175096fa53d7733005d7b
    - micro-CDR current upstream: https://github.com/eProsima/micro-CDR/commit/df48e526feca3bd140b0adf12c3c847a6d78ed79
    - Changes: https://github.com/eProsima/micro-CDR/compare/890b118196a253540bc175096fa53d7733005d7b...df48e526feca3bd140b0adf12c3c847a6d78ed79

    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.
2018-07-25 07:31:02 +02:00
Matthias Grob 152c6db212 Fix logger signed unsigned error with GCC 7.3 in Cygwin (#10009) 2018-07-24 17:39:45 -04:00
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.
2018-07-24 18:56:36 +02:00
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. 2018-07-24 18:44:55 +02:00
Daniel Agar 4818e3abe0 ROMFS cmake combine copy, rc.autostart, prune steps 2018-07-24 10:50:24 -04:00
ChristophTobler 9aa6dad514 FlightTask orbit: make format 2018-07-24 15:03:53 +02:00
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.
2018-07-24 15:03:53 +02:00
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.
2018-07-24 15:03:53 +02:00
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.
2018-07-24 15:03:53 +02:00
MaEtUgR 7d4fcccf83 FlightTasks: fix switch case style 2018-07-24 15:03:53 +02:00
MaEtUgR e95d795b08 FlightTasks: use member function as check for constistency 2018-07-24 15:03:53 +02:00
MaEtUgR 6472b579dc FlightTaskOrbit: switch rotation direction
Switch to positive tangential velocity being clockwise because with NED
frame z-axis points down and mathematically positive around the z-axis
results in clockwise yaw rotation when seen from above. Also MAVLink
messages and other components in PX4 are defined this way.
2018-07-24 15:03:53 +02:00
MaEtUgR 8d88fa2fca FlightTasks: fix multiple comments 2018-07-24 15:03:53 +02:00
MaEtUgR 675b6bbabc mathlib: fix comment typo 2018-07-24 15:03:53 +02:00
MaEtUgR 3b7d31de75 FlightTasks: reintroduce vehicle command handling
The handling for vehicle commands inside the FlightTasks library
was already there but commented out because the previously used
MAVLink messages were tied to the specific application we used and
there was no clean common message definition. Because there is now
a well defined message for the orbit task I'm uncommenting and using
the working message handling again here.
2018-07-24 15:03:53 +02:00
MaEtUgR 5dae404fb2 vehicle_commands: add VEHICLE_CMD_DO_ORBIT 2018-07-24 15:03:53 +02:00
Matthias Grob 93bab20510 FlightTaskOrbit: switch to FlightTaskAltitudeSmooth
Nice smooth altitude control is already provided by the existing
flight task for altitude mode. We inherit from it to resuse the
functionality and just all its update first not altering the setpoints
for the z-axis it produced.
2018-07-24 15:03:53 +02:00
Matthias Grob ce49ac0259 FlightTaskOrbit: better member descriptions 2018-07-24 15:03:53 +02:00
Matthias Grob 26e3dbec2e FlightTaskOrbit: name member constants start with underscore 2018-07-24 15:03:53 +02:00