- Apr 04, 2012
-
-
rmackay9 authored
ArduCopter - Log.pde - changed MOT output to dataflash to take values from AP_Motors class's motor_out array instead of the global motor_out array.
-
rmackay9 authored
ArduCopter - GCS_Mavlink.pde - changed output to ground station to use new AP_Motor's class motors array inplace of the global "motor_out" array.
-
rmackay9 authored
ArduCopter - Attitude.pde - moved heli_get_angle_boost from heli.pde (which will be removed) to Attitude.pde. In fact we should combine heli_get_angle_boost and the regular get_angle_boost.
-
rmackay9 authored
Remove global motor_filtered and motor_out arrays. Removed all global heli variables. replace "motor_armed" with "motors.armed()" removed output to rc_4 for tri because this is now handled by AP_MotorsTri class
-
- Apr 03, 2012
-
-
Michael Oborne authored
add stab kd ch6 fix mono/linux serial port list
-
Andrew Tridgell authored
-
- Apr 02, 2012
-
-
Andrew Tridgell authored
-
rmackay9 authored
1. it's step towards rearchitecting the current code base ahead of a move to RTOS. 2. internally it uses a MatrixTable for the Quad, Octa, OctaQuad, Y6 frames. 3. it implements the missing stability patch for Octa and OctaQuads (still missing for Y6) Later check-ins will incorporate into the main ArduCopter code.
-
Andrew Tridgell authored
This allows for arbitrary stream rates, and supports flow control if you are using a 3DR radio
-
Andrew Tridgell authored
this makes it possible to fetch parameters with very low air data rates
-
Andrew Tridgell authored
-
Andrew Tridgell authored
streams can now be requested at any multiple of 20ms. So if you ask for a stream at 7Hz then you will get it at close to 7Hz.
-
- Apr 01, 2012
-
-
Andrew Tridgell authored
-
- Mar 31, 2012
-
-
rmackay9 authored
ArduCopter - CH6 tuning - changed Roll/Pitch Rate D tuning to use the user supplied tuning range instead of the range / 100. also changed heli_ext_gyro_gain to make it use the tuning range directly.
-
- Mar 30, 2012
-
-
Andrew Tridgell authored
the GPS_STATUS message is a massive waste of bandwidth, but it is the only message that tells us the number of visible satellites. So only send it if that information changes. This makes MAVLink work better at low baud rates
-
Andrew Tridgell authored
-
Andrew Tridgell authored
-
Andrew Tridgell authored
this allows us to put a serial port into non-blocking mode, so that writes that don't fit in the transmit buffer are dropped. This will be used in flight to prevent stray printf() calls from causing large time delays in the code
-
Andrew Tridgell authored
the 128 byte serial transmit buffer was causing significant problems with queueing of mavlink messages. With 256 bytes we can fit a lot more messages out in each pass of the code, which makes telemetry more efficient As we discussed on the dev call, we now have enough free ram for this to be worthwhile
-
Andrew Tridgell authored
-
Andrew Tridgell authored
-
Andrew Tridgell authored
-
Andrew Tridgell authored
we now have the EEPROM option COMPASS_AUTODEC instead
-
Andrew Tridgell authored
when this is 1 (which is the default), we will get the declination automatically via the AP_Declination library when it is 0 we will use the value configured by the user
-
Andrew Tridgell authored
-
Andrew Tridgell authored
there was a comment saying this was too slow, but it actually costs about 30 usec extra, which is trivial given the full auto declination call costs 680 usec and its only called once per boot
-
Andrew Tridgell authored
-
Andrew Tridgell authored
-
Adam M Rivera authored
-
Adam M Rivera authored
AP_Declination: Update LUT based on the changes that I made in the LUT generation code. This LUT is the final version that has no truncation.
-
Adam M Rivera authored
ArduCopter: Changed implementation of configuration value for automatic declination. There is now a FORCE_AUTOMATIC_DECLINATION_UPDATE that when enabled will update the declination on every GPS 3D fix regardless of whether or not the user saved a value to the EEPROM. By default the declination will only be set by the automatic declination routine if the user has not saved a declination to the EEPROM.
-
Adam M Rivera authored
-
Adam M Rivera authored
AP_Declination: Removed trailing zero deltas as they have no impact on the final value and only take up extra bytes.
-
Adam M Rivera authored
AP_Declination: Updated compressed lookup value table. Located 9 more failure points due to truncation on the packed LUT.
-
Adam M Rivera authored
AP_Declination: Found 7 of the 22 failure points and fixed them. The issue with those 7 was the way I originally packed the value array. The last delta values on some rows were getting truncated. The new number of failures is down to 15 - WIP.
-
Adam M Rivera authored
AP_Declination: Updated test to run in 5 degree increments. Changed to only print failures and also print total pass vs total fail.
-
Adam M Rivera authored
-
Adam M Rivera authored
AP_Declination: The exception signs unpacking logic was incorrect. I was shifting a 1 value left y%8 which would have needed a the signs to be packed right to left. My packed signs byte was packed left to right (left most being the 0 position) so I needed to reverse the shifting.
-
Adam M Rivera authored
AP_Declination: In order for the bitwise & operation to work, negative signs need to be represented by 1s instead of 0s. Changed so that negative signs are represented by a 1 in the packed signs array. Updated lookup logic to reflect this change.
-
Adam M Rivera authored
-