andrenoites wrote:Is it possible to add all the pid configurations in MWOSDrev 1.4?
PLEASEEEEEE
Its possible and I would like to do it

andrenoites wrote:Is it possible to add all the pid configurations in MWOSDrev 1.4?
PLEASEEEEEE
shikra wrote:It only supports combined pitch/roll
I have to idea how that works with new cleanflight. Hopefully it just means that feature is not there.
Realistically its never going to keep up with all option for multiwii/ baseflight / cleanflight and APM when thats released. Not enough memory - or time to do it. I wish...
Code: Select all
Arduino: 1.6.3 (Windows 8.1), Vývojová deska: "Arduino Nano, ATmega328"
GPS.ino: In function 'void SerialGpsPrint(char)':
GPS.ino:38:11: error: 'str' was not declared in this scope
GPS.ino: At global scope:
GPS.ino:48:4: error: 'prog_char' does not name a type
In file included from D:\arduino-1.0.5-windows\arduino-1.6.3\hardware\arduino\avr\cores\arduino/Arduino.h:28:0,
from MW_OSD.ino:27:
GPS.ino: In function 'void GPS_SerialInit()':
GPS.ino:80:26: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
GPS.ino:36:8: error: initializing argument 1 of 'void SerialGpsPrint(char)' [-fpermissive]
GPS.ino:86:33: error: 'UBLOX_INIT' was not declared in this scope
Chyba kompilace.
Benik3 wrote:Hello.
I just downloaded R1.3 MW OSD, but there is an error in code for UBLOX GPSCode: Select all
Arduino: 1.6.3 (Windows 8.1), Vývojová deska: "Arduino Nano, ATmega328"
GPS.ino: In function 'void SerialGpsPrint(char)':
GPS.ino:38:11: error: 'str' was not declared in this scope
GPS.ino: At global scope:
GPS.ino:48:4: error: 'prog_char' does not name a type
In file included from D:\arduino-1.0.5-windows\arduino-1.6.3\hardware\arduino\avr\cores\arduino/Arduino.h:28:0,
from MW_OSD.ino:27:
GPS.ino: In function 'void GPS_SerialInit()':
GPS.ino:80:26: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
GPS.ino:36:8: error: initializing argument 1 of 'void SerialGpsPrint(char)' [-fpermissive]
GPS.ino:86:33: error: 'UBLOX_INIT' was not declared in this scope
Chyba kompilace.
The error exist also in latest source which I downloaded from code.google.com
Can you fix it please?
Thanks
Code: Select all
const char UBLOX_INIT[] PROGMEM = {
Code: Select all
#if defined(INIT_MTK_GPS) || defined(UBLOX)
uint32_t init_speed[5] = {9600,19200,38400,57600,115200};
//void SerialGpsPrint(prog_char* str) {
void SerialGpsPrint(char) {
char b;
while(str && (b = pgm_read_byte(str++))) {
Serial.write(b);
#if defined(UBLOX)
delay(5);
#endif
}
}
#endif
shikra wrote:@benik3 - an update to support is being worked on.
For now... can still use //CLEANFLIGHT, but avoid using the page with RCrates etc....
Edit : I have hidden that page and clarified in config.h as an interim in master
@rubadub - I have seen people say they use it. not tried myself.
The horizon might be noticeably slower, but I doubt if you'll notice any difference for the rest!
Actually this bit of the code can be optimised... some requests are sent even if not used.
And we could choose to not take some data such as the horizon...
I'll put on the roadmap requests to do something here in the future.
Suggest to try and see...
In theory 6 times slower. In reality I think far less noticeable...
fnurgel wrote:Hi,
For Arduino noobs like me, is there any information available on how to set up the MW_OSD_GUI to actually compile from the Arduino IDE?
The firmware was easy enough, but the gui seems to be missing libraries and whatnot.
I'd like to run from the git checked out code, but it's even complaining it doesn't have the correct dir structure?
Code: Select all
// declare rssi led counter
volatile int rssiCounter;
----
// setup interrupt on rssi pin
*digitalPinToPCMSK(PWMRSSIPIN) |= bit(digitalPinToPCMSKbit(PWMRSSIPIN));
PCIFR |= bit (digitalPinToPCICRbit(PWMRSSIPIN));
PCICR |= bit (digitalPinToPCICRbit(PWMRSSIPIN));
----
// calculate rssi each second (or 500ms)
rssi = map(rssiCounter, Settings[S_RSSIMIN], Settings[S_RSSIMAX], 0, 100);
rssiCounter = 0;
----
// interrupt routine to count rssi led pulses
ISR (PCINT1_vect) {
rssiCounter++;
}
shikra wrote:Vadimr
That is correct operation.
It is opposite way to some of the Russian stuff I have flown if you are from that part of the world.