Commit Graph

2637 Commits

Author SHA1 Message Date
Andrew Tridgell 39a36fe946 fixed the "reboot on GPS lock" bug
the problem was that with APM2 we may not have a 2nd GCS instance. The
"gps alt: xxx" message was being unconditionally sent to both GCS
instances, which caused a crash
2011-12-04 09:06:58 +11:00
Andrew Tridgell b4965d34a9 GPS: added FAKE_GPS_LOCK_TIME
this allows you to fake up a GPS lock after a specific number of
seconds
2011-12-04 09:06:57 +11:00
Wenyao Xie dac3ba48e0 Fixed apo live mode bugs for 2.0 update. 2011-12-03 15:38:37 -05:00
Wenyao Xie a802796c67 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-12-03 14:00:23 -05:00
James Goppert 8300c5e738 Changed BlockPIDDfb behaviour. 2011-12-03 12:13:11 -05:00
Michael Oborne 346a572440 APM Planner - update dataflash ac2 log format 2011-12-03 18:37:48 +08:00
Michael Oborne dfc7ae59ee firmware build 2011-12-03 12:31:52 +08:00
Andrew Tridgell 4a057aefa0 test: removed the broken gyro test and merge it into the imu test
the gyro test assumed APM1 hardware, and would hang on APM2. The imu
test can just as easily display gyro and accelerometer data as well as
roll/pitch/yaw, so combine it in one test
2011-12-03 14:08:20 +11:00
Michael Oborne 1ab20928e7 firmware build 2011-12-03 10:38:25 +08:00
Andrew Tridgell 0a7f2bcc44 autotest: use random MAVLink system IDs
this allows more than one test to be viewed at the same time in
qgroundcontrol
2011-12-03 07:55:03 +11:00
Andrew Tridgell aaac6212ab MAVLink: use the configured system ID for ArduCopter 2011-12-03 07:54:36 +11:00
Andrew Tridgell dedbfc8cca 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 5be56a824d 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 e12fabebe9 autotest: updated fakepos.py for new packet format 2011-12-02 23:43:03 +11:00
Andrew Tridgell f96a48e42b autotest: support all 11 PWM output channels
this will allow for more complex aircraft
2011-12-02 22:45:48 +11:00
Andrew Tridgell 66d65121cc 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 43e3948816 desktop: show the full path to the desktop executable 2011-12-02 21:46:55 +11:00
Andrew Tridgell fb3d4eab90 autotest: fixed sim_quad viewerip handling 2011-12-02 17:37:55 +11:00
Andrew Tridgell 1878db2013 autotest: don't die if FG isn't running 2011-12-02 17:37:55 +11:00
Andrew Tridgell 7167fec784 desktop: added SO_REUSEADDR after accept() 2011-12-02 17:37:55 +11:00
Andrew Tridgell cf7073128d autotest: adapt test suite to new simulation framework 2011-12-02 17:37:55 +11:00
Andrew Tridgell e6608b604b autotest: added a copy of pymavlink 2011-12-02 17:37:55 +11:00
Andrew Tridgell 05c6734ca2 autotest: added runsim.py
this starts JSBSim, linking it into the SITL APM test code
2011-12-02 17:37:55 +11:00
Andrew Tridgell abbf02b674 autotest: useful script for testing gyro and accel calculations 2011-12-02 17:37:55 +11:00
Andrew Tridgell 76bb6b9aa8 autotest: added scripts to start flightgear as a viewer 2011-12-02 17:37:54 +11:00
Andrew Tridgell 706c6c38fa desktop: fixed calculation of angular velocities
thanks to James Goppert for the frame conversion maths
2011-12-02 17:37:54 +11:00
Andrew Tridgell 65699a2f2f autotest: combined python utility code 2011-12-02 17:37:54 +11:00
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
2011-12-02 17:37:54 +11:00
Andrew Tridgell 544d2e6793 autotest: added Rascal and arducopter models 2011-12-02 17:37:54 +11:00
James Goppert b9f370e33d Commented out debugging in guide. 2011-11-29 18:08:50 -05:00
James Goppert 38c19c50be Merge branch 'master' of github.com:arktools/ardupilotone
Conflicts:
	libraries/APO/AP_Guide.cpp
2011-11-29 18:06:38 -05:00
James Goppert b6dcd70cf9 Working on yaw command. 2011-11-29 17:38:18 -05:00
Wenyao Xie a0824b4cbe Fixed guidance bugs in APO. 2011-11-29 17:37:42 -05:00
Wenyao Xie 6948c50617 Fixed typo in readme. 2011-11-29 14:02:27 -05:00
James Goppert a9c6c69ba1 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-11-29 14:00:15 -05:00
James Goppert 92efa90d0f APO fixes. 2011-11-29 13:59:44 -05:00
Michael Oborne 2ee493551d APM Planner 1.0.99
trial Scripting - rc based
fix zoom to cancel
add srtm alt and auto download
2011-11-29 21:49:11 +08:00
Jason Short 9931cacec7 Enabled Ch7 simple mode switching 2011-11-28 22:41:12 -08:00
Jason Short 69dd8264e6 adding flag for finished mission 2011-11-28 22:28:51 -08:00
Jason Short b92b4e9092 cleanup 2011-11-28 21:40:22 -08:00
Jason Short eb6d34e1fc Fix error with calc_nav_pitch_roll 2011-11-28 21:27:29 -08:00
Doug Weibel 88ab4f7d70 Fix for intermittent bug of log #1 starting on page 2 and confusing file system 2011-11-28 19:43:10 -07:00
Doug Weibel b03de3095e Add DataFlash.Init before doing a forced log erase on eeprom reset.
Add progress indication during log erase
2011-11-28 19:42:27 -07:00
Jason Short b4a0d8a275 Fixed navigation bug 2011-11-28 14:22:05 -08:00
Jason Short ce5ad442fc Git Test 2011-11-28 10:54:20 -08:00
Jason Short 62ed256fca made the crosstrack use the previous WP instead of the current loc to get a better line in AP. 2011-11-28 10:33:06 -08:00
Jason Short 82adf1df6b removed need to send increment flag to update commands
constrained climb_rate value
2011-11-28 10:33:06 -08:00
Jason Short 504b4b52d6 slight refactoring to avoid the increment issue when changing commands 2011-11-28 10:33:06 -08:00
Jason Short 4a6feb3acb better comments out of some old unused functions to avoid compiler errors 2011-11-28 10:33:06 -08:00
Jason Short 909e5796eb Logging input to find this freeze bug 2011-11-28 10:33:06 -08:00