Jump to content

Диванный пилот

Members
  • Posts

    83
  • Joined

  • Last visited

Everything posted by Диванный пилот

  1. Попробуйте поднимать температуру за бортом. Я поставил с пресетом лето.штиль (+29С, 770 мм), двигатели завелись. Видимо, можно подобрать где-то посередине. Кстати, у вас там высота не 3255, а 3780.
  2. И как читать этот график? Если давление ниже кривой, то двигатели не ракрутятся? Если так, то все правильно: при отрицательной температуре давление на H=3255 должно быть сильно выше, чем 1.2, которые выдаёт ВСУ. А вообще в мануале к модулю указано минимальное нормальное давление == 1.3 кг/см2
  3. У него на верхней площадке давление ВСУ составляет прим 1.2 кг/см2, а на нижней чуть меньше 1.6 кг/см2. Думаю, здесь надо искать причину незапуска наверху.
  4. Может быть, ВСУ не развивает достаточной мощности для запуска? Давление воздуха визуально ниже 1,3 кг. А при запуске опускается до 1,0.
  5. Можете выложить для тех, у кого стабильная версия?
  6. Приветствую! Выпущена ли обновленная инструкция по эксплуатации к ЧА3? Если да, можно ли ее выложить сюда? А то я модуль купил, а летаю в стабильной версии, поэтому не в курсе.
  7. Если мили есть накопленные и модуль Акула 2 на аккаунте, идешь в магазин и покупаешь Акулу 3 за цену обновления. На этапе оплаты нажимаешь "оплатить милями". Спишут, сколько возможно, остальное рублями.
  8. Чудненько обновился за 57 рублей и мили Подарок на новый год вычеркиваю.
  9. Добрый день! Верно ли я понимаю, что шкала барометрического высотомера "нарисована" неравномерно? Я вывожу показания шкалы на цифровой дисплей, и значения на концах шкалы составляют 600 и 800 соответственно. Однако, на отметке 760 цифровой дисплей показывает 765,3. А если откалибровать по отметке 760, то "убегают" значения левее и правее. Есть ли формула коррекции?
  10. Добрый день! В миссии 1.9Arctic после команды связаться по F5 с "Веткой" (если я правильно помню) (Нефтяная платформа), не появляется такого позывного в радиоменю. Приходится пересаживаться на разные платформы, пока не угадаешь... И еще вопрос: сколько всего должно быть миссий в кампании? Я отлетал 14 миссий и закончил кампанию. В описании к кампании прочел следующее: "...Вам предстоит... выполнить полет на Эверест". Может, имеется в виду Эльбрус в самой первой миссии? Иначе я миссию с Эверестом не нахожу.
  11. Ok. Thank you! Now it works! The strange thing is that the ehcoders.h library, included in the dcs-bios-arduino-library-0.3.7 package, differs from the file from your link. MatRotaryEncoderT class is missing from the package, and I had to replace the library with the library from your link. And of cource, "&" sign is needed. Vinc_Vega, bojack, thank you all again!
  12. No, with this It gives no response. I will try today and come back with result.
  13. Hi all. Need help.
  14. Hi all, I have a switch matrix, and I use it with 2pos switches like this. volatile unsigned char in_mat[6][6] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};//The first number in the square brackets [4] is the number of rows, the second is number of columns [3]. The number of "0"s needs to match the multiple of these two, in this case 3 X 4 = 12. byte rowPins[6] = { 52, 50, 48, 46, 44, 42}; //These are the pin numbers being used for the rows, from 1-4 in this example, change to suit. byte colPins[6] = { 53, 51, 49, 47, 45, 43}; //These are the pin numbers being used for the columns, from 1-3 in this example, change to suit. int numRows = sizeof(rowPins);// this line obtains number of pins in the row array for later. DON'T CHANGE. int numCols = sizeof(colPins);//this line obtains number of pins in the column array for later. DON'T CHANGE. DcsBios::MatActionButtonSet dplDecDevToggle("DPL_DEC_DEV", &in_mat[4][3], LOW); DcsBios::MatActionButtonSet dplIncDevToggle("DPL_INC_DEV", &in_mat[5][3], LOW); DcsBios::MatActionButtonSet dplDecPathToggle("DPL_DEC_PATH", &in_mat[1][4], LOW); DcsBios::MatActionButtonSet dplIncPathToggle("DPL_INC_PATH", &in_mat[0][4], LOW); DcsBios::MatActionButtonSet dplDecAngleToggle("DPL_DEC_ANGLE", &in_mat[3][4], LOW); DcsBios::MatActionButtonSet dplIncAngleToggle("DPL_INC_ANGLE", &in_mat[2][4], LOW); DcsBios::MatActionButtonSet dplOffCoordToggle("DPL_OFF_COORD", &in_mat[1][5], LOW); DcsBios::MatActionButtonSet dplOnCoordToggle("DPL_ON_COORD", &in_mat[0][5], LOW); void setup() { DcsBios::setup(); //Button Matrix for (int y = 0; y < numRows; y++) //Iterate through all the rows in the matrix to set the pinmode to input { pinMode(rowPins[y], INPUT_PULLUP); //INPUT_PULLUP stops the pin floating and picking up noise. If using external Pull-up resistors, this could be set to just INPUT. }; for (int x = 0; x < numCols; x++) //Iterate through all the column pins in the matrix to set the pinmode to OUTPUT-HIGH { pinMode(colPins[x], OUTPUT); digitalWrite(colPins[x], HIGH); }; void loop() { for (int x = 0; x < numCols; x++) //Iterate through each Column pin { digitalWrite(colPins[x], LOW); //set the current column output to a low (current sink) for (int y = 0; y < numRows; y++) //Iterate through each row to detect which one is pressed (connected to the OUTPUT-LOW column) { in_mat[y][x] = digitalRead(rowPins[y]); //update the state of the button in the array, with array address is defined by the current row and column ([y] and [x]). } digitalWrite(colPins[x], HIGH); //set the current column output to a high +V source to so it is not recognised as a press when the other columns are LOW. } DcsBios::loop(); } This works good. Now I want to include an KY-040 encoder in my matrix. The function template looks like this: DcsBios::RotaryEncoder r828PrstChanSel("R828_PRST_CHAN_SEL", "DEC", "INC", PIN_A, PIN_B); So I modify code to this. DcsBios::RotaryEncoder 8TuziQg48TuziQg4("BAR_L_QFE", "-3200", "+3200", in_mat[5][1], in_mat[5][2]); Unfortunatly, when I use the code above, I get a continous switching / bounce in a virtual cockpit. When I connect the encoder right to pins on the arduino board, it works good with the code: DcsBios::RotaryEncoder 8TuziQg48TuziQg4("BAR_L_QFE", "-3200", "+3200", 8, 9); Can someone help me to make encoder work properly in the switch matrix?
  15. Обновилась бета версия,возможно у вас стабильная. Да, точно. Из новостей это неочевидно.
  16. У меня апдейтер не находит обновления 2.8. Это нормально?
  17. Нет теперь Белсимтека. Вся команда влилась в ЕД. Очень рады Вас видеть здесь! Не забывайте нас))
  18. Здравствуйте. На панели автопилота перегорела одна лампочка. Просьба заменить! P.S. Разработчики сюда заглядывают вообще? Раньше новости писали... Сейчас вообще никакой реакции ни на что.
  19. Hi all, Can anybody explain to non-programmer me, how do I make this function work? This doesn't work "out of box" as opposed to switch2pos function. And there is no reference documentation for matrix2pos... There is an example Button_matrix_Example.ino for F-18, and I managed to modify the code in this example with arguments from switch2pos funtion. But I cannot understand the basics from the example comments... Can anybody give a good tutorial?
×
×
  • Create New...