Peter Barker
f0094bac40
autotest: remove copied-in duplicate of pymavlink rotmat
4 years ago
Pierre Kancir
9e1ffcae5d
Tools: update python coding style
...
Tools: update PrintVersion.py coding style
autotest: update python coding style
pysim: update python coding style
jsb_sim: update Python coding style
param_metadata: update Python coding style
9 years ago
Andrew Tridgell
3300de2c9d
autotest: added some gyro and accel noise to copter sim
...
this noise should be kinematically consistent, so will be better for
the EKF
10 years ago
Andrew Tridgell
dbeaccc3d9
autotest: auto-adjust frame rate for crrcsim
10 years ago
Andrew Tridgell
82f6bb3c17
autotest: use common frame time handling
10 years ago
Andrew Tridgell
5947160fd7
autotest: removed delta_time from update_position()
...
not available in some backends, and not needed
10 years ago
Andrew Tridgell
45887a5d28
autotest: run rover and copter with synthetic clock
10 years ago
Andrew Tridgell
4c9cb461d6
autotest: setup Rover autotest for Sparkfun course
...
this will make it easier to test around the course
12 years ago
Andrew Tridgell
5cd5f40f09
autotest: switch to full accel modelling in multicopter simulation
...
the new AHRS code should allow for centripetal compensation in
multicopters
13 years ago
Andrew Tridgell
ff9743995d
autotest: fixed lat/lon update for multicopter sim
...
this makes waypoint tracking more accurate
13 years ago
Andrew Tridgell
0f6e7a1449
pysim: implement partial 3D acceleration support
...
The simulator flies very badly when using the full acceleration
code. I don't yet know if this is a bug in the simulation or a problem
with AHRS not handling acceleration for multicopters.
For now set the acceleration to be half a 'pure gravity' acceleration
and half from the full 3D calculation.
13 years ago
Andrew Tridgell
f1acdb13c2
pysim: added experimental acceleration support
13 years ago
Andrew Tridgell
5f3e2cf98a
pysim: update the multicopter simulator with correct acceleration
...
this re-works the multicopter simulator in terms of rotation matrices,
and adds full acceleration support, which means it will include linear
acceleration affects and centripetal acceleration
13 years ago
Andrew Tridgell
ffa3330f93
autotest: fixed the calculation of the acceleration due to gravity
...
this fixes the attitude calculation for the multicopter simulation
13 years ago
Andrew Tridgell
228d1620d2
autotest: added --wind option to sim_quad
...
this is in the form of speed,direction,turbulance
13 years ago
Andrew Tridgell
420bb9cc75
pysim: fixed the accelerometer calculation in the quad simulator
...
this was causing severe drift in the attitude calculation
13 years ago
Andrew Tridgell
39d0d7ed49
autotest: fixed body/earth frames in sim_quad physics model
...
Jason, can you have a look at this?
13 years ago
Andrew Tridgell
0887804096
autotest: imported python quadcopter model as sim_quad.py
...
this allows us to keep it in sync with the main SITL code
13 years ago