Commit Graph

30 Commits

Author SHA1 Message Date
Andrew Tridgell 5652ccd3c6 autotest: fixed the calculation of the acceleration due to gravity
this fixes the attitude calculation for the multicopter simulation
2012-02-18 19:27:15 +11:00
Jason Short 9cbfcac802 Made timer unsigned 2012-01-10 23:42:26 -08:00
Andrew Tridgell 9833636500 pysim: support octax 2012-01-04 22:15:17 +11:00
Andrew Tridgell b9b0aa4a81 autotest: change to an octa frame for autotest
this will be a useful experiment
2012-01-04 22:03:37 +11:00
Andrew Tridgell 5317e47e2d pysim: added more frame types 2012-01-04 21:45:58 +11:00
Andrew Tridgell e4ae5ffd0e pysim: show frame type at startup 2012-01-04 19:34:11 +11:00
Andrew Tridgell f395e8e36d rename sim_quad.py to sim_multicopter.py 2012-01-04 19:14:42 +11:00
Andrew Tridgell bc49573b4c pysim: added --frame option 2012-01-04 19:13:47 +11:00
Andrew Tridgell f4d7e108fa pysim: generalise the quadcopter code for multicopters
this allows for arbitrary multicopter motor arrangements
2012-01-04 19:13:15 +11:00
Jason Short 22172820a8 Made wind not reverse itself to be more natural 2011-12-29 23:02:02 -08:00
Andrew Tridgell 9f089f3b0e added a copy of fdpexpect 2011-12-23 12:20:58 +11:00
Andrew Tridgell e88a8e2519 more errno fixes for MacOS 2011-12-23 12:07:32 +11:00
Andrew Tridgell aaa0214ded autotest: fgrate option has been removed from mavproxy 2011-12-13 21:34:53 +11:00
Andrew Tridgell be3b9e3480 autotest: added wind support to ArduPlane simulation 2011-12-13 15:28:03 +11:00
Andrew Tridgell 5a2827e64b autotest: changed default sim_quad rate to 400Hz (matches autotest
script)
2011-12-13 13:44:53 +11:00
Andrew Tridgell f5a54f3da8 autotest: use 'enter 3 times' method to get into CLI
this doesn't depend on build options
2011-12-13 10:36:52 +11:00
Andrew Tridgell 0e75b3b140 autotest: added a test script for wind generation
this makes it easier to experiment
2011-12-13 10:36:52 +11:00
Andrew Tridgell 9ef929e88e autotest: added --wind option to sim_quad
this is in the form of speed,direction,turbulance
2011-12-13 10:36:52 +11:00
Andrew Tridgell 5fb01d1cdd autotest: added a wind generation class 2011-12-13 10:36:52 +11:00
Andrew Tridgell c1a23ef150 pysim: added rotational resistance 2011-12-12 22:08:10 +11:00
Andrew Tridgell 6121942d42 pysim: fixed the accelerometer calculation in the quad simulator
this was causing severe drift in the attitude calculation
2011-12-12 21:57:09 +11:00
Andrew Tridgell 880f551efc autotest: fixed body/earth frames in sim_quad physics model
Jason, can you have a look at this?
2011-12-05 17:45:23 +11:00
Andrew Tridgell 9b3ce4a96a autotest: estimate the cost of sleeping for more accurate frame rate
this gets us quite close to 1kHz simulation
2011-12-03 07:38:51 +11:00
Andrew Tridgell 1192e2f11c autotest: run the quad simulation at a much higher rate
it now defaults to 1kHz
2011-12-03 07:24:58 +11:00
Andrew Tridgell 9dd2021ec8 autotest: support all 11 PWM output channels
this will allow for more complex aircraft
2011-12-02 22:45:48 +11:00
Andrew Tridgell a0baf71322 autotest: switch to big-endian metric packets internally
now that all the sim code is internal to the APM git repo, we can
choose saner packet formats
2011-12-02 22:12:58 +11:00
Andrew Tridgell f6eb5f9ba1 autotest: don't die if FG isn't running 2011-12-02 17:37:55 +11:00
Andrew Tridgell a2cc6b2ec1 autotest: adapt test suite to new simulation framework 2011-12-02 17:37:55 +11:00
Andrew Tridgell 113b496924 autotest: combined python utility code 2011-12-02 17:37:54 +11:00
Andrew Tridgell 9a508f4f69 autotest: imported python quadcopter model as sim_quad.py
this allows us to keep it in sync with the main SITL code
2011-12-02 17:37:54 +11:00