Henry Wurzburg
cff3066591
SITL: add synthetic current sensor,fix SITL current
2022-11-24 06:53:35 +11:00
Andrew Tridgell
7942b58fba
SITL: load plane-3d.parm when -f plane-3d is chosen
...
this gets the right parameters in MissionPlanner SITL
2022-11-10 10:30:53 +11:00
Andrew Tridgell
256addc0f0
SITL: added plane-3d for aerobatic plane
2022-10-19 23:25:22 +11:00
Andrew Tridgell
a0af08a3aa
SITL switched to motor_mask for which actuators are motors
...
this allows for any output to be an ESC, which allows for proper
simulation of quadplanes with ESCs on outputs 5-8 or 9-12, for testing
notch filtering
2022-10-16 20:38:19 +11:00
Peter Barker
b360521d0b
SITL: permit double-precision maths in SITL even on embedded hardware
2022-03-17 14:39:55 +11:00
VMsunghwan
224cea979e
SITL : fixed typo
...
line 1119 in pnet.c : to to -> to
line 198 in SIM_Plane.cpp : to to -> to
2022-01-13 09:45:39 +11:00
Andrew Tridgell
bf1f27af32
SITL: added is_lock_step_scheduled() API
...
used to fix panic on bad timing
2021-05-24 20:13:37 +10:00
oneWayOut
654aea1cd1
SITL: delete unused parameter 'Vector3f &body_accel' in Plane::calculate_forces()
2020-12-30 18:59:12 +11:00
Samuel Tabor
c9362fbb70
SITL: Calculate current in SIM_Plane.
2020-10-18 11:43:51 +11:00
Paul Riseborough
71ae9426c5
SITL: Fix hand launch behaviour
...
Launch acceleration should be multiplied by vehicle mass when calculating launch force.
10 m/s (1g) is much too low for a hand launch. 25 m/s (2.5g) over a shorter period is more realistic and will trigger the recommended value of TKOFF_THR_MINACC of 15 recommended for hand launches.
2020-06-07 11:53:02 +10:00
Samuel Tabor
5082c9be8b
SITL: Add plane-soaring type, including parameters, mission, simulated thermals and glider sim settings.
2020-04-08 09:11:54 +10:00
Andy Piper
c807267bab
SITL: add rpm-based motor noise per-motor to gyros and accels
...
convert multicopter thrust to rpm per motor
2019-12-17 10:07:06 +11:00
Peter Barker
f7b47679bb
SITL: remove home_str from constructor
2019-08-15 15:16:11 +10:00
Peter Barker
81222fbde0
SITL: correct RC2_REV to RC2_REVERSED in comment
2019-07-24 13:36:26 +09:00
Andrew Tridgell
2eb09b2910
SITL: simple implementation of a fast jet
...
just increase the weight and the rest can be done with params
2019-07-03 08:05:09 +10:00
Peter Barker
ae03ccf2ba
SITL: enable updating of external payload on SIM_Plane
2019-02-13 09:25:27 +09:00
Peter Barker
85ebe923b6
SITL: avoid FPE when running fly.ArduPlane
...
Program received signal SIGFPE, Arithmetic exception.
__expf_finite () at ../sysdeps/x86_64/fpu/e_expf.S:132
132 ../sysdeps/x86_64/fpu/e_expf.S: No such file or directory.
(gdb) u
2017-09-06 20:22:52 +10:00
Andrew Tridgell
4aa068d63d
SITL: added simple launch sim for plane
...
allow for bungee, catapult and hand launches
2017-08-29 07:35:04 +10:00
Andrew Tridgell
907534d55f
SITL: added dspoiler support
2017-07-03 11:17:42 +10:00
Pierre Kancir
b176ba53d7
SIM_Aircraft: move advance in time from update_position to time_advance
2017-06-07 20:29:02 +10:00
Andrew Tridgell
92f060bdef
SITL: improved single-motor tailsitter plane
...
give larger control surfaces and take account of thrust airflow over
control surfaces
2017-04-17 14:23:15 +10:00
Andrew Tridgell
3c8020862c
SITL: support a builtin tailsitter vehicle type
2017-02-18 17:26:43 +11:00
Andrew Tridgell
0171b64feb
SITL: setup simulator to match firefly6 AvA servo outputs
2017-02-06 16:18:58 +11:00
Peter Barker
f1c23dc9be
SITL: remove argument to on_ground
...
This was always the current position
2016-12-02 12:04:05 +11:00
Andrew Tridgell
5e03358b0b
SITL: added servo filtering
...
SIM_SERVO_SPEED is servo time constant in seconds
2016-10-25 20:39:38 +11:00
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.
2016-10-24 09:42:01 -02:00
Andrew Tridgell
e73d43d4f9
SITL: improve ICEngine simulation
2016-07-25 10:06:02 +10:00
Andrew Tridgell
995fb7cd86
SITL: added IC engine simulation
2016-07-25 10:06:02 +10:00
Andrew Tridgell
69da7e9f86
SITL: added elevrev option for plane sim
...
used by autotest
2016-07-22 16:42:23 +10:00
Andrew Tridgell
a1c759e491
SITL: added sensor smoothing
...
this adds smoothing of sensors for kinematic consistency when
interacting with the ground. It means when we land the EKF doesn't go
crazy
2016-07-19 21:38:16 +10:00
Andrew Tridgell
e7a54c83d1
SITL: allow SITL to use terrain data for ground height
2016-07-19 14:42:31 +10:00
Andrew Tridgell
4e8b4f29d9
SITL: added -heavy option to fixed wing model
2016-07-16 08:14:29 +10:00
Paul Riseborough
078284e2e2
SITL: Add magnetic field environment to simulation
...
Includes parameters enabling a ground level magnetic anomaly to be modelled.
TODO - add automatic setting of declination, inclination and field strength using WGS-84 position.
2016-06-19 12:51:34 +10:00
Andrew Tridgell
48ca1a8d92
SITL: increase the mass of the plane to 2kg
...
less wafty in the air
2016-05-11 05:55:24 +10:00
Andrew Tridgell
aa80851138
SITL: support fireflyY6 quadplane model
2016-04-22 10:28:15 +10:00
Andrew Tridgell
8880635fe1
SITL: support vtail and elevon planes in builtin plane sim
...
remove old tiltrotor in favor of new tiltrotor code
2016-04-22 10:28:15 +10:00
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.
2016-04-20 11:48:37 +10:00
Tom Pittenger
f20841f491
SITL: add reverse thrust to Plane Sim
2016-02-09 14:18:01 +11:00
Andrew Tridgell
6baae735de
SITL: updated fixed wing model based on last_letter skywalker_2013
...
many thanks to Georacer for this code!
2016-01-20 17:23:36 +11:00
Andrew Tridgell
0966398d8d
SITL: improved realism of fixed wing sim somewhat
...
still not good, but a bit better for manual flight
2016-01-04 08:03:46 +11:00
Andrew Tridgell
8a98ce427c
SITL: moved to common code for attitude/pos update
2016-01-01 15:12:33 +11:00
Andrew Tridgell
fcfd11ef53
SITL: very simple fixed wing simulator
...
useful for debugging
2016-01-01 12:41:05 +11:00