ArduCopter Mega: порт на обычную Arduino (тестим)

EvgenV
fufar:

жаль, значит буду брать БТ модуль

Если не планируете FPV ставить, то лучше радиомодем. у этого БТ радиус до 10 метров. реально 6-8 уверенно работает. Это на встроенный БТ нетбука или телефона (расстояние одинаковое. я себе взял для настройки аппарата на начальном этапе, когда летать рядом буду… ну и миссию загрузить в поле… а потом OSD в дело пойдет.

ДенисК

Подскажите, а какие настройки нужны в исходниках 3.1.5, что бы был виден 3DR модем?
На предыдущих версиях все работало. Из MP настройки удаленного модема (на коптере) видны, но сердечная связь не устанавливается. Baud rate на модеме 57600, подключен на Serial 3.
Где задаются настройки baud rate в Megapirate?

Hyperion

Sir Alex, на 3.1.5-R2 minimosd должен работать? Подключаю его параллельно 433 модему на serial3. Телеметрия соединяется. Когда вообще не подключаешь его к контроллеру, то пишет no mavlink data, что нормально 😃
Когда подключаю только TX к RX osd, само OSD появляется, однако все значения по нулям. Так же в Full parameters list нету параметров SERIAL3_BAUD и так далее…

kren-DEL

подскажите, будет ли пират работать на STM32F103CB процессоре, он ведь 72МГц,

датчики вроде подходят
  • 2000 degrees/second 3-axis MEMS gyro + accelerometer (MPU6050)
  • 3-axis magnetometer (HMC5883L)
  • Pressure sensor (MS5611)
SergDoc

нет, 103-м никто не занимался, ну была версия на 103-м multipilot32 но это было давно, а если же запускать на naze32, то:

  1. переконфигурировать NuttX под f103 - арду всеголишь приложение и молиться что-бы флеши хватило, плюс нет FPU…
  2. дописать драйвер к mpu - и упереться в скорость считывания сейчвс на f4 петля вертиться на 400 Гц и датчик на spi шине…
  3. засунуть куда-то настройки - у stm32 нет eeprom т.е. либо что-то внешнее вешать либо “отрезать” несколько страниц внутренней флеши
  4. логирование идёт на SD - куда его засунуть х.з. как сделано в порте revo не смотрел, но там тоже f4…
    короче врят-ли кто-то будет этим заниматься, у нас есть F4BY с полным HAL арду github.com/SergDoc/ardupilot
5yoda5
Mixanoid:

Еще раз: в АКРО висит ровно, в АЛЬТХОЛДЕ тянет назад, в СТАБЕ не пробовал, но СТАБ - вроде тот же АЛЬТХОЛД, только с удержанием высоты, поэтому имхо должно быть так же.

Скажите, а вы случайно на пульте триммерами не щелкали? (Триммеры на пульте должны стоять по нулям…)

LuckyBeggar

Народ, подскажите…
Подключена OSD. На экране показывает только “NO MAV DATA!”
RX и TX пробовал менять местами.
Еще раз перепрошивал конфиг ОСД.
Эффекта никакого…
что может быть?

Jabbers
Hyperion:

облетал еще раз 3.1.5-r2 на новой раме. Проверил автотюн. Работает

у меня натюнился, взревел на полную двигателями и унесся со снижением - через пару секунд упал метров за 50 от места автотюна. На RTL и прочее судорожное отреагировать он уже не успел:)) Хоть не сломал ничего - трава высокая, вниз винтами упал - накосил вволю:)

Протокол прилагаю, но кривенький он какой-то. Мозги crius aiop v2

Протокол.zip

Jabbers
Hyperion:

что то у вас с питанием

весь протокол такой, кривенький - откуда-то переносы строк взялись. Как следствие многое в ноль и в пики уходит. Если на throut посмотреть - всё еще забавнее:(
Почему не знаю. Все протоколы такие получаются.

Глазами просмотрел - 4523 самое низкое значение, 4560 обычное. Строки с 0 и пиками - битые

Hyperion

ну вообще на 3.1.5 логгирование мне тоже не очень понравилось. Таких косяков не было, но вот логи вибраций криво записывались… в 3.0.1 такого не было. Вообще устал уже маяться с мегапиратом. В пути арду, если уж и с ней не срастется, придется брать назу…

PS прогнал APM LOG FILE ANALIZER
21/08/2014 15:23:59 - 009327: APM Error: APM believes USB is connected while in flight.
21/08/2014 15:23:59 - 009327: APM Error: This situation is currently under investigation by Robert Lefebvre (ArduPilot Developer)
21/08/2014 15:23:59 - 009327: APM Error: If flying when the ArduPilot believes you are connected to a USB power source then
21/08/2014 15:23:59 - 009327: APM Error: there “could” be a possibility that GPS Glitches are being ignored from v3.1.2 onwards.
21/08/2014 15:23:59 - 009327: APM Error: Follow ArduPilot Issue 1170 for updates, github.com/diydrones/ardupilot/issues/1170

21/08/2014 15:23:59 - 009253: INS Error: At least one initialisation error has been detected.
21/08/2014 15:23:59 - 009253: INS Error: Possible 3.3v Regulator issues!
21/08/2014 15:23:59 - 009253: INS Error: Current Value of PM Parameter PM_INSErr is 7
21/08/2014 15:23:59 - 009253: INS Error: Please upload your log here: www.rcgroups.com/forums/showthread.php?t=2151318&p…
21/08/2014 15:23:59 - 009253: INS Error: Please refer to this thread (page 11):
21/08/2014 15:23:59 - 009253: INS Error: diydrones.com/…/ac3-1-rc5-spi-speed-problem?id=705…

VCC Опять же 4,58 - имхо низкое. Надо стремиться чтобы было 5В.

Log file created by an old ArduCopter firmware version!
APM Log File Analiser v1.0.3.6

Log FileName: C:\Users\mutalisk\Desktop\2014-08-21 19-47-59 3.log
Ardu Version: 3.1.5-R2 Build: (94e46cf)
   Ardu Type: ArduCopter
APM Free RAM: 4096
 APM Version: 0
  Frame Type: X
  No. Motors: 4

Data Found in APM Log File:-
GPS, CTUN, PM, CURR, NTUN, ATUN, ATDE, CMD, ATT, MODE, EV, DU32, ERR

Data NOT Found in APM Log File:-
IMU, MSG, MOT, OF, MAG, INAV, STRT, D16, DU16, D32, DFLT, PID, CAM



PARAMETER ISSUES:-
RTL_ALT_FINAL = 0
Warning: Return to Launch is set to Land (Value in CM)


06/01/1980 - 000225: Set Home as 55.8463872 36.4904192 Alt:0
06/01/1980 - 000225: Auto Command: Mission WP to WP Dist: 0.00km

06/01/1980 - 000226: Armed
06/01/1980 - 000242: APM Information: Home is Set
06/01/1980 - 000242: Simple Mode is Disabled
06/01/1980 - 000242: APM Information: RC Pre-Arm checks have been completed.
06/01/1980 - 000242: APM Information: All Pre-Arm checks have been completed.
06/01/1980 - 000242: APM Information: USB is NOT Connected.
06/01/1980 - 000242: Rx Information: Channel 7 Switch is Centred.
06/01/1980 - 000242: Rx Information: Channel 8 Switch is Low.
21/08/2014 15:16:48 - 000258: Take Off
21/08/2014 15:16:48 - 000258: Mode Time Changed to 21/08/2014 15:16:48

21/08/2014 15:16:48 - 315: Error Processing this log Line, line ignored
21/08/2014 15:16:48 - 315: GPS, 3, 40061160611600, 1806, 10, 1.12, 55.8463872, 36.4904128, 0.02, 207.30, 0.03, 0.00, 0.000000, 385228

21/08/2014 15:16:48 - 000368: Rx Information: Channel 7 Switch is Low.
21/08/2014 15:16:56 - 000489: Rx Information: Channel 7 Switch is Centred.
21/08/2014 15:16:56 - 000520: Rx Information: Channel 7 Switch is Low.

21/08/2014 15:17:40 - 1078: Error Processing this log Line, line ignored
21/08/2014 15:17:40 - 1078: GPS, 3, 40066100661000, 1806, 9, 1.12, 55.8464000, 36.4904128, 2.88, 209.30, 0.22, 75.43, 0.000000, 434605

21/08/2014 15:17:51 - 001312: Rx Information: Channel 8 Switch is Centred.
21/08/2014 15:17:57 - 001416: Super Simple Mode is On
21/08/2014 15:17:57 - 001416: APM Information: USB is Connected.
21/08/2014 15:17:57 - 001416: Rx Information: Channel 7 Switch is High.
21/08/2014 15:17:57 - 001416: APM Error: APM believes USB is connected while in flight.
21/08/2014 15:17:57 - 001416: APM Error: This situation is currently under investigation by Robert Lefebvre (ArduPilot Developer)
21/08/2014 15:17:57 - 001416: APM Error: If flying when the ArduPilot believes you are connected to a USB power source then
21/08/2014 15:17:57 - 001416: APM Error: there "could" be a possibility that GPS Glitches are being ignored from v3.1.2 onwards.
21/08/2014 15:17:57 - 001416: APM Error: Follow ArduPilot Issue 1170 for updates, 
21/08/2014 15:18:00 - 001514: Simple Mode is Disabled
21/08/2014 15:18:00 - 001514: APM Information: USB is NOT Connected.
21/08/2014 15:18:00 - 001514: Rx Information: Channel 7 Switch is Low.

21/08/2014 15:18:18 - 1889: Error Processing this log Line, line ignored
21/08/2014 15:18:18 - 1889: GPS, 3, 4006996000699600, 1806, 9, 1.11, 55.8464128, 36.4903648, 11.95, 213.40, 0.05, 3.11, 0.000000, 473188


21/08/2014 15:18:30 - 2132: Error Processing this log Line, line ignored
21/08/2014 15:18:30 - 2132: GPS, 3, 4007114000711400, 1806, 9, 1.11, 55.8463616, 36.4904288, 8.89, 211.80, 0.82, 70.72, 0.000000, 485008


21/08/2014 15:18:30 - 2179: Error Processing this log Line, line ignored
21/08/2014 15:18:30 - 2179: GPS, 3, 400713000713000, 1806, 9, 1.11, 55.8463744, 36.4904416, 10.10, 212.60, 1.48, 23.35, 0.000000, 486612

21/08/2014 15:18:46 - 002561: GCS Information: Ground Command Station is Attached.

21/08/2014 15:19:11 - 3122: Error Processing this log Line, line ignored
21/08/2014 15:19:11 - 3122: GPS, 3, 400751400751400, 1806, 9, 1.11, 55.8464000, 36.4903840, 0.86, 209.20, 0.87, 23.67, 0.0000000000, 525006


21/08/2014 15:19:26 - 3446: Error Processing this log Line, line ignored
21/08/2014 15:19:26 - 3446: GPS, 3, 400768800400768800, 1806, 9, 1.11, 55.8464000, 36.4904000, 13.87, 213.60, 0.54, 265.79, 0.000000, 542405

21/08/2014 15:19:31 - 003551: APM Information: Home is NOT Set
21/08/2014 15:19:31 - 003551: APM Information: RC Pre-Arm checks have NOT been completed.
21/08/2014 15:19:31 - 003551: Rx Information: Channel 8 Switch is Low.

21/08/2014 15:19:31 - 3566: Error Processing this log Line, line ignored
21/08/2014 15:19:31 - 3566: GPS, 3, 4007754005400, 1806, 9, 1.11, 55.8463808, 36.4904320, 9.95, 208.70, 0.45, 30.98, 0.000000, 549003

21/08/2014 15:19:31 - 003568: APM Information: Home is Set
21/08/2014 15:19:31 - 003568: APM Information: RC Pre-Arm checks have been completed.
21/08/2014 15:19:31 - 003568: Rx Information: Channel 8 Switch is Centred.
21/08/2014 15:19:36 - 003588: APM Information: Home is NOT Set
21/08/2014 15:19:36 - 003588: Super Simple Mode is On
21/08/2014 15:19:36 - 003588: APM Information: RC Pre-Arm checks have NOT been completed.
21/08/2014 15:19:36 - 003588: APM Information: All Pre-Arm checks have NOT been completed.
21/08/2014 15:19:36 - 003588: APM Information: USB is Connected.
21/08/2014 15:19:36 - 003588: Rx Information: Channel 7 Switch is High.
21/08/2014 15:19:36 - 003588: APM Error: APM believes USB is connected while in flight.
21/08/2014 15:19:36 - 003588: APM Error: This situation is currently under investigation by Robert Lefebvre (ArduPilot Developer)
21/08/2014 15:19:36 - 003588: APM Error: If flying when the ArduPilot believes you are connected to a USB power source then
21/08/2014 15:19:36 - 003588: APM Error: there "could" be a possibility that GPS Glitches are being ignored from v3.1.2 onwards.
21/08/2014 15:19:36 - 003588: APM Error: Follow ArduPilot Issue 1170 for updates, 
21/08/2014 15:19:38 - 003634: APM Information: Home is Set
21/08/2014 15:19:38 - 003634: Simple Mode is Disabled
21/08/2014 15:19:38 - 003634: APM Information: RC Pre-Arm checks have been completed.
21/08/2014 15:19:38 - 003634: APM Information: All Pre-Arm checks have been completed.
21/08/2014 15:19:38 - 003634: APM Information: USB is NOT Connected.
21/08/2014 15:19:38 - 003634: Rx Information: Channel 7 Switch is Low.

21/08/2014 15:19:50 - 3872: Error Processing this log Line, line ignored
21/08/2014 15:19:50 - 3872: GPS, 3, 400790600790600, 1806, 9, 1.11, 55.8463808, 36.4904352, 10.25, 205.30, 1.25, 51.80, 0.000000, 564182


21/08/2014 15:19:51 - 4009: Error Processing this log Line, line ignored
21/08/2014 15:19:51 - 4009: GPS, 3, 40079400796800, 1806, 9, 1.11, 55.8464192, 36.4904480, 6.00, 208.10, 0.55, 248.86, 0.000000, 570395

21/08/2014 15:20:04 - 004149: APM Speed Error: The number of long running main loops is 751 @ 16.314ms
21/08/2014 15:20:04 - 004149: APM Speed Error: A one off here could be ignored but if repeated in this log,
21/08/2014 15:20:04 - 004149: APM Speed Error: then try disabling some logs, for example INAV, MOTORS and IMU.

06/01/1980 - 4174: Error Processing this log Line, line ignored
06/01/1980 - 4174: GPS, 3, 400804800,804800, 1806, 9, 1.11, 55.8463808, 36.4904096, 7.57, 210.20, 1.03, 328.85, 0.000


21/08/2014 15:20:21 - 4525: Error Processing this log Line, line ignored
21/08/2014 15:20:21 - 4525: GPS, 3, 40082220822200, 1806, 9, 1.10, 55.8463872, 36.4903808, 6.94, 209.00, 1.57, 177.35, 0.000000, 595775

21/08/2014 15:20:37 - 004868: APM Speed Error: The number of long running main loops is 749 @ 16.14ms
21/08/2014 15:20:37 - 004868: APM Speed Error: A one off here could be ignored but if repeated in this log,
21/08/2014 15:20:37 - 004868: APM Speed Error: then try disabling some logs, for example INAV, MOTORS and IMU.
21/08/2014 15:21:20 - 005936: APM Speed Error: The number of long running main loops is 753 @ 16.394ms
21/08/2014 15:21:20 - 005936: APM Speed Error: A one off here could be ignored but if repeated in this log,
21/08/2014 15:21:20 - 005936: APM Speed Error: then try disabling some logs, for example INAV, MOTORS and IMU.
21/08/2014 15:22:26 - 007265: APM Speed Error: The number of long running main loops is 742 @ 16.18ms
21/08/2014 15:22:26 - 007265: APM Speed Error: A one off here could be ignored but if repeated in this log,
21/08/2014 15:22:26 - 007265: APM Speed Error: then try disabling some logs, for example INAV, MOTORS and IMU.
21/08/2014 15:22:48 - 007713: APM Speed Error: The number of long running main loops is 742 @ 15.743ms
21/08/2014 15:22:48 - 007713: APM Speed Error: A one off here could be ignored but if repeated in this log,
21/08/2014 15:22:48 - 007713: APM Speed Error: then try disabling some logs, for example INAV, MOTORS and IMU.

21/08/2014 15:23:31 - 8551: Error Processing this log Line, line ignored
21/08/2014 15:23:31 - 8551: GPS, 3, 40101200001012000, 1806, 10, 0.92, 55.8463872, 36.4904128, 11.22, 206.20, 0.12, 289.75, 0.000000, 785543

21/08/2014 15:23:42 - 008788: APM Speed Error: The number of long running main loops is 750 @ 16.829ms
21/08/2014 15:23:42 - 008788: APM Speed Error: A one off here could be ignored but if repeated in this log,
21/08/2014 15:23:42 - 008788: APM Speed Error: then try disabling some logs, for example INAV, MOTORS and IMU.
21/08/2014 15:23:46 - 008860: AUTOTUNE_OFF
       Alt(m ~ ft)   Spd(m/s ~ mph)   Dist(km ~ mi)     Launch(m ~ ft)    GPS-Sats   GPS-Hdop    Eff(mA/min)
Max   4064 ~ 13333    8191 ~ 18322 15861.47 ~ 9855.862188551.00 ~ 7180285.44      10        1.96           N/A
Avg     14 ~ 45         91 ~ 203        N/A ~ N/A         N/A ~ N/A          9        1.10         41.20
Min     -1 ~ -4         -1 ~ -3         N/A ~ N/A        0.09 ~ 0.31         9        0.91           N/A
Not Determined Flight Time (Session)= 418 seconds, 6:58
Not Determined Flight Time   (Total)= 418 seconds, 6:58


21/08/2014 15:23:46 - 008861: Mode Changed to RTL
21/08/2014 15:23:46 - 008861: Mode Initialised at 55.8463872 36.4904064 Alt: 23.77 Spd:0.79
21/08/2014 15:23:46 - 008862: ERROR: Battery Fail Safe Occurred.
21/08/2014 15:23:56 - 009041: Rx Information: Channel 8 Switch is Low.
21/08/2014 15:23:59 - 009206: APM Information: USB is Connected.
21/08/2014 15:23:59 - 009206: Rx Information: Channel 7 Switch is High.
21/08/2014 15:23:59 - 009206: APM Error: APM believes USB is connected while in flight.
21/08/2014 15:23:59 - 009206: APM Error: This situation is currently under investigation by Robert Lefebvre (ArduPilot Developer)
21/08/2014 15:23:59 - 009206: APM Error: If flying when the ArduPilot believes you are connected to a USB power source then
21/08/2014 15:23:59 - 009206: APM Error: there "could" be a possibility that GPS Glitches are being ignored from v3.1.2 onwards.
21/08/2014 15:23:59 - 009206: APM Error: Follow ArduPilot Issue 1170 for updates, 
21/08/2014 15:23:59 - 009207: GCS Heartbeat Error: GCS Heartbeat signal has been lost!
21/08/2014 15:23:59 - 009207: GCS Heartbeat Error: Current Distance from Launch is 49.56m ~ 162.61ft
21/08/2014 15:23:59 - 009207: GCS Heartbeat Error: Current Direction of UAV is 192 degrees (0 = north).
21/08/2014 15:23:59 - 009208: APM Information: USB is NOT Connected.
21/08/2014 15:23:59 - 009208: Rx Information: Channel 7 Switch is Low.
21/08/2014 15:23:59 - 009220: Simple Mode is On
21/08/2014 15:23:59 - 009220: APM Information: RC Pre-Arm checks have NOT been completed.
21/08/2014 15:23:59 - 009221: Simple Mode is Disabled
21/08/2014 15:23:59 - 009221: APM Information: RC Pre-Arm checks have been completed.
21/08/2014 15:23:59 - 009221: Rx Information: Channel 7 Switch is Centred.
21/08/2014 15:23:59 - 009228: APM Speed Error: The number of long running main loops is 908 @ 14.76ms
21/08/2014 15:23:59 - 009228: APM Speed Error: A one off here could be ignored but if repeated in this log,
21/08/2014 15:23:59 - 009228: APM Speed Error: then try disabling some logs, for example INAV, MOTORS and IMU.
21/08/2014 15:23:59 - 009232: APM Information: Home is NOT Set
21/08/2014 15:23:59 - 009232: Simple Mode is On
21/08/2014 15:23:59 - 009232: APM Information: RC Pre-Arm checks have NOT been completed.
21/08/2014 15:23:59 - 009232: APM Information: All Pre-Arm checks have NOT been completed.
21/08/2014 15:23:59 - 009232: Rx Information: Channel 7 Switch is Low.
21/08/2014 15:23:59 - 009233: APM Information: Home is Set
21/08/2014 15:23:59 - 009233: Simple Mode is Disabled
21/08/2014 15:23:59 - 009233: APM Information: RC Pre-Arm checks have been completed.
21/08/2014 15:23:59 - 009233: APM Information: All Pre-Arm checks have been completed.
21/08/2014 15:23:59 - 009233: Rx Information: Channel 7 Switch is Centred.
21/08/2014 15:23:59 - 009236: APM Speed Error: The number of long running main loops is 910 @ 14.444ms
21/08/2014 15:23:59 - 009236: APM Speed Error: A one off here could be ignored but if repeated in this log,
21/08/2014 15:23:59 - 009236: APM Speed Error: then try disabling some logs, for example INAV, MOTORS and IMU.
21/08/2014 15:23:59 - 009253: APM Speed Error: The number of long running main loops is 894 @ 14.764ms
21/08/2014 15:23:59 - 009253: APM Speed Error: A one off here could be ignored but if repeated in this log,
21/08/2014 15:23:59 - 009253: APM Speed Error: then try disabling some logs, for example INAV, MOTORS and IMU.
21/08/2014 15:23:59 - 009253: INS Error: At least one initialisation error has been detected.
21/08/2014 15:23:59 - 009253: INS Error: Possible 3.3v Regulator issues!
21/08/2014 15:23:59 - 009253: INS Error: Current Value of PM Parameter PM_INSErr is 7
[URL="21/08/2014 15:23:59 - 009253: INS Error: Please upload your log here: 
"]21/08/2014 15:23:59 - 009253: INS Error: Please upload your log here: 
[/URL]21/08/2014 15:23:59 - 009253: INS Error: Please refer to this thread (page 11):
[URL="21/08/2014 15:23:59 - 009253: INS Error: 
"]21/08/2014 15:23:59 - 009253: INS Error: 
[/URL]21/08/2014 15:23:59 - 009280: APM Information: Home is NOT Set
21/08/2014 15:23:59 - 009280: Simple Mode is On
21/08/2014 15:23:59 - 009280: APM Information: RC Pre-Arm checks have NOT been completed.
21/08/2014 15:23:59 - 009280: APM Information: All Pre-Arm checks have NOT been completed.
21/08/2014 15:23:59 - 009280: Rx Information: Channel 7 Switch is Low.
21/08/2014 15:23:59 - 009281: APM Information: Home is Set
21/08/2014 15:23:59 - 009281: Simple Mode is Disabled
21/08/2014 15:23:59 - 009281: APM Information: RC Pre-Arm checks have been completed.
21/08/2014 15:23:59 - 009281: APM Information: All Pre-Arm checks have been completed.
21/08/2014 15:23:59 - 009281: Rx Information: Channel 7 Switch is Centred.
21/08/2014 15:23:59 - 009316: Simple Mode is On
21/08/2014 15:23:59 - 009316: APM Information: All Pre-Arm checks have NOT been completed.
21/08/2014 15:23:59 - 009316: Rx Information: Channel 7 Switch is Low.
21/08/2014 15:23:59 - 009317: Simple Mode is Disabled
21/08/2014 15:23:59 - 009317: APM Information: All Pre-Arm checks have been completed.
21/08/2014 15:23:59 - 009317: Rx Information: Channel 7 Switch is Centred.
21/08/2014 15:23:59 - 009327: Simple Mode is On
21/08/2014 15:23:59 - 009327: APM Information: RC Pre-Arm checks have NOT been completed.
21/08/2014 15:23:59 - 009327: APM Information: All Pre-Arm checks have NOT been completed.
21/08/2014 15:23:59 - 009327: APM Information: USB is Connected.
21/08/2014 15:23:59 - 009327: Rx Information: Channel 7 Switch is High.
21/08/2014 15:23:59 - 009327: APM Error: APM believes USB is connected while in flight.
21/08/2014 15:23:59 - 009327: APM Error: This situation is currently under investigation by Robert Lefebvre (ArduPilot Developer)
21/08/2014 15:23:59 - 009327: APM Error: If flying when the ArduPilot believes you are connected to a USB power source then
21/08/2014 15:23:59 - 009327: APM Error: there "could" be a possibility that GPS Glitches are being ignored from v3.1.2 onwards.
21/08/2014 15:23:59 - 009327: APM Error: Follow ArduPilot Issue 1170 for updates, 
21/08/2014 15:23:59 - 009328: Simple Mode is Disabled
21/08/2014 15:23:59 - 009328: APM Information: RC Pre-Arm checks have been completed.
21/08/2014 15:23:59 - 009328: APM Information: All Pre-Arm checks have been completed.
21/08/2014 15:23:59 - 009328: APM Information: USB is NOT Connected.
21/08/2014 15:23:59 - 009328: Rx Information: Channel 7 Switch is Centred.

Overall Flight Summary:
       Alt(m ~ ft)   Spd(m/s ~ mph)   Dist(km ~ mi)     Launch(m ~ ft)    GPS-Sats   GPS-Hdop
Max   4064 ~ 13333    8191 ~ 18322 15861.54 ~ 9855.902188551.00 ~ 7180285.44      10        1.96
Avg      0 ~ 0           0 ~ 0          N/A ~ N/A         N/A ~ N/A          9        1.09
Min      0 ~ 0           0 ~ 0          N/A ~ N/A         N/A ~ N/A         10        1.12

Power Summary:
       Battery(V)        Vcc(V)        Current(A)       Used Cap(mAh)    Eff(mA/mim)
Max       12.09           4.58            67.50             3823             N/A
Avg        0.00           0.00            30.02              N/A          532.20
Min        0.00           0.00             0.26              N/A             N/A
Overall Flight Time = 431 seconds, 7:11

WARNING: VCC is unstable with fluctuations of 4.57889v reported.
         VCC needs to be within 0.3v according to this UAV profile

*** Enable IMU logging to view vibration results.


Jabbers

На 3.0.1 у меня барометр через раз работал, без него он на RTL забавно Зигзага Макряка пытался изобразить (бам-взлет-бам-взлет…)

Hyperion:

В пути арду

близко думаю:) Любопытно.

По лог аналайзеру:
9253 - битая строка, в одну строку еще и DU32 эхо вписалось.
9327 - похоже тоже:(

М.б. причина такого лога в VCC - проверю тестером, вроде так низко не показывал:) Если что, ссажу приемник на питание от другого регулятора. Спасибо!

Hyperion

Так может проблема в питании. Добейтесь стабильного питания 5 ±0.1В. Можно сделать по схеме Алексея Козина.

Jabbers

а это рекорд (из анализа лога): 😃

Overall Flight Summary:
Alt(m) 4064
Spd(m/s) 8191 - 1 космическая скорость:)
Dist(km) 15861
Launch(m) 2188551

и все за 7 минут:)

RTemka

Подскажет кто в каком состоянии сейчас порт Ardupilot ?
Флаш тул смотрю заливает 2.76 и только с PPMSUM.
Исходник с гитхаба страдает старым траблом с отсутствием компаса.
Летает кто на нем ?

Sir_Alex
RTemka:

Подскажет кто в каком состоянии сейчас порт Ardupilot ? Флаш тул смотрю заливает 2.76 и только с PPMSUM. Исходник с гитхаба страдает старым траблом с отсутствием компаса. Летает кто на нем ?

Ardupilot портировал Smurfy, не знаю в каком у него сейчас состоянии исходники.

Sir_Alex
Hyperion:

ну вообще на 3.1.5 логгирование мне тоже не очень понравилось.

В принципе, разницы не должно быть. Т.к. система логирования не отличается от APM, код там идентичный. Возможно пиратские платы на столько тормознее APM, что лог не успевает иногда записатся, черт его знает.

К сожалению, у меня недостаточно свободного времени на отладку пирата. Кроме того интерес к проекту сильно упал в связи с дешевыми клонами APM, поэтому, возможно 3.0.1 или 3.1.5 будут последними портами ArduCopter (я постараюсь довести до ума 3.1.5).
Дальше вся работа пойдет в рамках 32битной платформы F4BY.

RTemka

По мне так 3.0.1 за глаза хватает. Один квадр 60 часов налетал, пока проводку не коротнуло 😃
3.1.5 ставлю только когда какой нить хитроразвесованный квадр 😃 и лень пиды подбирать.

ДенисК

Так я и не смог побороть улеты квадрика в лойтере.
MegaPirateNG 3.0.1 R4
Crius AIOP v2
Frsky
Видео нет
Компас внутренний, прошивал FlashTools.
Стороны света показывает до градусов, compassmot сделан.
Orientation - none, mag_dec - 10.3 (Москва)
По логам наводки в пределах процентов 30 (если не газовать), показания компаса уплывают на несколько градусов.
В лойтере улетает в любом направлении.
Подскажите, как побороть? Очень бы хотелось понять алгоритм - ведь должно быть не слишком сложно, GPS, mag, вот и готовы угол и расстояние для компенсации? Может, кто-нибудь поделится файлом с параметрами?
Заранее очень, очень большое спасибо за любую помощь.

RTemka

Взять коптер и планнер.
Коптер носом нацеливаем на что то большое и далекое и сравниваем в планнере туда ли он нос кажет.
И так в разные стороны.
Ну и не мешает в стабе поднять и посмотреть куда компас унесет.

Фото коптера тож не помешало бы 😃