Andrew Tridgell
d8337cf9e5
SITL: allow loading of model from ROMFS
4 years ago
Andrew Tridgell
e07cecb264
SITL: added support for simulated battery discharge
4 years ago
Andrew Tridgell
a0bc9d3148
SITL: fixed quadplane mass and rpm indexing
4 years ago
Andrew Tridgell
767773da5e
SITL: improved multicopter simulation
...
this takes account of motor expo, velocity of air over propellers,
mass, size and other factors
It also allows for frame parameters to be supplied as an external json file
4 years ago
Andrew Tridgell
7c2d13c571
SITL: added simulation of pressure altitude for multicopter
...
this gives us a ceiling of 5.4km above sea level for the default
copter
5 years ago
Rishabh
08f27f7668
SITL: Added cwx motor setup for hexa, octa and octaquad
5 years ago
Rishabh
dc662a56b2
SITL: Added DJI Hexa and Octa for SITL
5 years ago
Andrew Tridgell
dc80df23e9
SITL: added betaflight-rev-x frame
5 years ago
Andy Piper
c807267bab
SITL: add rpm-based motor noise per-motor to gyros and accels
...
convert multicopter thrust to rpm per motor
5 years ago
Andrew Tridgell
40babb1172
SITL: support 3 more X quad motor orders
...
- betaflight X
- DJI X
- clockwise X
6 years ago
Andrew Tridgell
358c570d9d
SITL: added simulated battery for quadplane
...
needed for motor interference for mag
6 years ago
Pierre Kancir
37f7cc4bcf
SITL: rearrange Grippers and Sprayers in SITL
7 years ago
mirkix
93b3970141
SITL: Add tilthvec frame
8 years ago
murata
c21b586ccc
SITL: add dodeca-hexa support
8 years ago
Andrew Tridgell
1e69508322
SITL: added a vectored tilt tricopter quadplane
8 years ago
Andrew Tridgell
0171b64feb
SITL: setup simulator to match firefly6 AvA servo outputs
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 years ago
Peter Barker
1997a4e044
SITL: include mass of sprayer payload in vehicle mass
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Andrew Tridgell
f387f248d3
SITL: added support for servo slew rates and retract servos
...
this is for tiltrotors with retract servos
9 years ago
Andrew Tridgell
88b910c13d
SITL: changed firefly motors to be suitable for a pixhawk
...
get channel groupings right
9 years ago
Andrew Tridgell
3e1cad5df2
SITL: adjust tricopter so default yaw servo values will work
9 years ago
Andrew Tridgell
bd8cd71745
SITL: fixed fwd motor angles for tri and y6 frames
...
should be 60 degrees to have motors evenly spaced around frame for
equal lift per motor when level
9 years ago
Andrew Tridgell
125a9feb3d
SITL: added tilttri frame type
...
tiltrotor tricopter
9 years ago
Andrew Tridgell
9e01d7de6c
SITL: added support for "quad-fast" frame
...
much more powerful copter for testing nav at high speed
9 years ago
Andrew Tridgell
180a7905e5
SITL: make Z down in motors
9 years ago
Andrew Tridgell
8880635fe1
SITL: support vtail and elevon planes in builtin plane sim
...
remove old tiltrotor in favor of new tiltrotor code
9 years ago
Andrew Tridgell
71ca534ec6
SITL: added Y6 frame
9 years ago
Andrew Tridgell
49822effca
SITL: added tricopter simulator
9 years ago
Andrew Tridgell
c262d6a1b4
SITL: break up multicopter into Motor/Frame/Multicopter classes
...
ready for more tiltrotors
9 years ago
Andrew Tridgell
57aef8e1e9
SITL: added basic wind support in multicopter, plane and quadplane
...
this adds non-turbulent wind support for the built-in simulators. I
added it primarily for quadplane testing, but it should also be useful
for multicopter navigation testing.
9 years ago
Andrew Tridgell
7dcd17a2fa
SITL: make multicopter motors only effective above 10%
9 years ago
Andrew Tridgell
d820eeaec6
SITL: use AP_Motors conventions for multicopters
...
this makes it easier to add a simulated vehicle to match a
MotorsMatrix frame type
9 years ago
Andrew Tridgell
5efe98a814
SITL: allow quadplane simulator to simulate other frame types
9 years ago
Andrew Tridgell
e62d6711c3
SITL: added very simple tiltrotor simulation
...
uses channel 9 to control tilt of rotors
9 years ago
Andrew Tridgell
8a98ce427c
SITL: moved to common code for attitude/pos update
9 years ago
Andrew Tridgell
6f9e9d761f
SITL: move calculations into multicopter frame class
...
this will enable a QuadPlane model
9 years ago
Caio Marcelo de Oliveira Filho
288dc2a385
SITL: clean up includes
...
Remove unnecessary includes, reorder them in blocks separated by a blank
line
- Corresponding header file (if exists)
- System headers
- Other ArduPilot library headers
- "Local" headers (from the same library)
9 years ago
Caio Marcelo de Oliveira Filho
8a55b26443
SITL: no need to use #ifdefs
...
Now that SITL is compiled only when it's needed (i.e. using the SITL
board), there's no need to ifdef its files based on the
CONFIG_HAL_BOARD. So remove them.
9 years ago
Caio Marcelo de Oliveira Filho
e2fa456742
SITL: remove "constructor" comment
9 years ago
Caio Marcelo de Oliveira Filho
49a42dc985
SITL: use a SITL namespace
9 years ago
Gustavo Jose de Sousa
a02e7730ea
SITL: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Lucas De Marchi
5c9bf90d94
SITL: use ARRAY_SIZE macro
10 years ago
Andrew Tridgell
da5d5c9936
SITL: fixed airspeed pass-thru from simulators
10 years ago
Andrew Tridgell
f40c96de9d
SITL: add 'quad' and 'copter' as aliases for quadcopter
10 years ago
Andrew Tridgell
42c6801d61
SITL: reformat SITL code with astyle
10 years ago
Andrew Tridgell
a58a663085
SITL: fixed build on APM2
10 years ago
Andrew Tridgell
6ec6158b8b
SITL: converted helicopter simulator from python
10 years ago
Andrew Tridgell
77f007ab27
SITL: support speedup setting on the command line
10 years ago
Andrew Tridgell
437e1bdba0
SITL: added fill_fdm() for FDM output from simulator
10 years ago