dgrat
41661f815f
AP_Math: Replace the pythagorous* functions with a variadic template
...
The new function can deal with a variable number of function parameters.
Additionally, I renamed the functions to norm(), because this is the
standard name used in several other projects.
9 years ago
Gustavo Jose de Sousa
8c4c9ccfa6
AP_HAL_SITL: add calibration model
9 years ago
Andrew Tridgell
4318fd0ab8
HAL_SITL: update for changed API
9 years ago
Andrew Tridgell
2718b0649b
HAL_SITL: fixed GPS rate in SITL when speedup used
9 years ago
Andrew Tridgell
9081310ff1
HAL_SITL: support simulator RC input
9 years ago
Randy Mackay
3d646a26e2
AP_HAL_SITL: calls to terrain:height_amsl provide extrapolate and corrected params
9 years ago
Andrew Tridgell
46f368f17d
HAL_SITL: support fireflyy6 as quadplane
9 years ago
Andrew Tridgell
21fb38da8f
HAL_SITL: support Y6 frame
9 years ago
Andrew Tridgell
41b3cb2ff7
HAL_SITL: support tri sim
9 years ago
Andrew Tridgell
835c0b1759
HAL_SITL: follow sqrt law to 60m for wind
...
this makes testing wind in landings more useful
9 years ago
Andrew Tridgell
4ef977c68b
HAL_SITL: fixed initial path for uartF
9 years ago
Andrew Tridgell
0d27409511
HAL_SITL: added uartF
9 years ago
Ricardo de Almeida Gonzaga
5bd034a5a8
Global: start using cmath instead of math.h
9 years ago
Andrew Tridgell
4d01cb1716
HAL_SITL: fixed SITL engine mul error
...
expression without get() was treated as int
9 years ago
Andrew Tridgell
5c92adddf9
HAL_SITL: allow examples to run under SITL
9 years ago
Lucas De Marchi
e6059f5197
AP_Compass: rename files to follow other libraries
...
AP_Compass.h is the main header to be exported and AP_Compass.cpp its
implementation. There's no need for an additional header.
9 years ago
Lucas De Marchi
bcdc3336de
AP_HAL_SITL: replace header guard with pragma once
9 years ago
Will Sackfield
0a60d713af
AP HAL SITL: Use fully qualified SITL namespace
...
* using namespace SITL caused ambiguities due to
both SITL and HAL SITL using the same namespace
9 years ago
Michael du Breuil
287a3367ad
AP_HAL_SITL: Force the simulated gps time to be on valid intervals for u-blox hardware
9 years ago
Lucas De Marchi
c3d8ba3ea5
AP_HAL_SITL: use empty I2CDevice
9 years ago
Lucas De Marchi
9aa49cda93
Global: remove system_initializing() from scheduler
...
This is not used anymore.
9 years ago
Andrew Tridgell
cb60384dc4
AP_HAL_SITL: allow auto-baudrate detection in GPS driver in SITL
...
this is useful when testing a real GPS in SITL
9 years ago
Tom Pittenger
f695f37ca3
AP_HAL_SITL: handle negative throttle
...
- negative throttle was causing negative voltage offsets
9 years ago
Lucas De Marchi
0e09975fa6
AP_HAL_SITL: fix typo
9 years ago
Andrew Tridgell
097c2011e1
HAL_SITL: prevent abort on select with -1 fd
9 years ago
Andrew Tridgell
deb0b9c197
HAL_SITL: read in larger chunks
9 years ago
Andrew Tridgell
655f57ad01
HAL_SITL: cleanup class names
...
remove SITL prefix
9 years ago
Andrew Tridgell
492c733750
HAL_SITL: added RingBuffers to UART driver
...
makes for faster log download
9 years ago
Andrew Tridgell
22e25cc792
HAL_SITL: added Flightaxis support
9 years ago
Andrew Tridgell
b4cc3d9668
HAL_SITL: implement get_custom_defaults_file()
9 years ago
Andrew Tridgell
6c064ae8bd
HAL_SITL: flow control is enabled on SITL
...
faster parameter download
9 years ago
Andrew Tridgell
dd07ffce08
HAL_SITL: enable debug of rcoutput channel enable and frequency
9 years ago
Andrew Tridgell
2dd8a0af74
HAL_SITL: allow visualisation of quad motor speeds in flightgear
9 years ago
Andrew Tridgell
1450f33b51
HAL_SITL: support 16 RC input channels in SITL
9 years ago
Andrew Tridgell
83c8505b3c
HAL_SITL: send state to flightgear viewer
9 years ago
Andrew Tridgell
e6555aae6d
HAL_SITL: added quadplane model
9 years ago
Andrew Tridgell
d0896a1fb2
HAL_SITL: fixed init of channel 8 out in plane and rover
...
should be low
9 years ago
Andrew Tridgell
c6b6d7137d
HAL_SITL: added plane simulator
9 years ago
Andrew Tridgell
05e04ee1a7
HAL_SITL: added semaphore support
9 years ago
Julien BERAUD
d8bcb36530
AP_HAL_SITL: add empty optical flow
...
No embedded optical flow on sitl
9 years ago
Tom Pittenger
48ae0d645d
AP_HAL_SITL: compiler warning: float to double promotion
...
- replace atof() with strtof() for the correct return time
9 years ago
Lucas De Marchi
c72f812944
AP_HAL_SITL: rename AP_HAL_Empty instances
9 years ago
Lucas De Marchi
4c82c535cc
AP_HAL_SITL: use init() method without arguments
...
Override the init() method from parent class that doesn't have a
parameter since it's not used here.
9 years ago
Tom Pittenger
bb4f0783ad
AP_HAL_SITL: created ADS-B simulator to generate additional ghost aircraft within SITL
...
- The values are very aggressive, you'll come into contact with another aircraft very soon
- Credit goes to Tridge for this work
- This also allows hardware attached via UART to feed real aircraft into the simulator
This feature is enabled with the following command:
sim_vehicle -A --adsb
9 years ago
Andrew Tridgell
7a5c4ec65d
HAL_SITL: use battery info from FDM if available
9 years ago
Andrew Tridgell
a6ef064950
HAL_SITL: removed support for the old FDM protocol
...
we are now fully converted to the new C++ based SITL system
9 years ago
Caio Marcelo de Oliveira Filho
bb165d8a4c
AP_HAL_SITL: Remove unused extern declaration for HALs
9 years ago
Caio Marcelo de Oliveira Filho
783db23a0f
AP_HAL_SITL: remove unused functions
9 years ago
Caio Marcelo de Oliveira Filho
85d12efbef
AP_HAL_SITL: use millis/micros/panic functions
9 years ago
Caio Marcelo de Oliveira Filho
3ef77617fd
AP_HAL_SITL: implement new AP_HAL functions
...
Implement the new AP_HAL functions and use them in the Scheduler when
possible.
The '_sketch_start_time' was renamed and moved as a detail of
implementation of the functions code. It allows the code to return time
starting from zero.
The 'stopped_clock_usec' was renamed to follow convention in the file
and add a getter so that AP_HAL functions can reach it. It's not a
problem this getter is public because in practice, regular code
shouldn't even access the SITLScheduler directly -- only code that
should is from SITL itself.
9 years ago