Search found 11 matches

by elf128
Mon Jun 08, 2015 4:35 pm
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 406538

Re: GPS NAV

Hmmm, that's kinda old topic. It has been proved long time ago, that usage of tables for implementation of sin/cos on Atmel is bad idea from ether memory or performance perspective. Sure it's faster than straight floating point implementation, but it's way slower than fixed point polinomial aproxima...
by elf128
Wed Mar 11, 2015 7:26 pm
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 406538

Re: GPS NAV

Feel free to improve. It would be nice with fresh eyes on the code. It's easy to be blind after a while. Thank you for being open. I think there should be three independent parts of airplane control. Altitude control, Heading Control and Speed Control. Navigation suppose to feed values to all those...
by elf128
Wed Mar 11, 2015 3:38 pm
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 406538

Re: GPS NAV



OMG, What a hack. Everything is packed into one function.
by elf128
Wed Mar 11, 2015 3:00 pm
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 406538

Re: GPS NAV

There is a fixed wing navigation fork of the MultiWii... waypoint navigation is recently ported into that tree.. check the code repository.... I've realised that GPS_Compute is living in a different time frame and syncronius to GPS frames, not main loop. So, he's an answer. Does the change you're t...
by elf128
Sun Mar 08, 2015 1:58 am
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 406538

Re: GPS NAV

Hi EOSBandi, Sorry for jumping into conversation in a such way, I have to abmit, I didn't have enough courage to read all 19 pages, so maybe I'm dubling someones question. Currently, navigation is tailored specifically for multirotors and doesn't work with fixed wings or hybrids. I was trying to pig...
by elf128
Thu Oct 09, 2014 4:43 am
Forum: Ideas
Topic: OpenLRSng in multiwii
Replies: 4
Views: 2794

Re: OpenLRSng in multiwii

Hi,

I was searching for the same thing just to make sure I'm not doing 'stupid' work. But this thread is the only stuff I've found so far.
So, I'm doing integration of openLRSng into MW 2.3 for myself. Let me know if anybody is interested in it.
by elf128
Sat Jun 29, 2013 4:54 pm
Forum: Software development
Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
Replies: 146
Views: 52128

Re: Reorganising source *.c code with *.h headers; Eclipse I

Second question. Are you guys integrating one way only? I mean, development is only in INO branch and you integrating those changes into CppMigration banch, right? Nobody are doing development in CPP. And nobody are integrating changes back to INO. Am I right? I'm asking, because I'm adding new type...
by elf128
Sat Jun 29, 2013 4:46 pm
Forum: Software development
Topic: Reorganising source *.c code with *.h headers; Eclipse IDE
Replies: 146
Views: 52128

Re: Reorganising source *.c code with *.h headers; Eclipse I

Guys. This is awesome! I'm new here, but getting rid of ino-nonsence was my first though since I open sources. What a surprise was to found this thread. Thank you! I have couple of questions. First of all, why are some of you rising the question about keeping code C compatible? This code isn't C com...
by elf128
Sun Jun 23, 2013 10:14 pm
Forum: Getting Started - MultiWii config and setup
Topic: MultiWii 2.2 compiling : errors
Replies: 8
Views: 9809

Re: MultiWii 2.2 compiling : errors

Hehehe, even more simple:
Just put

Code: Select all

#define __PROG_TYPES_COMPAT__ 
in the end of def.h

Enjoy.
by elf128
Sun Jun 23, 2013 9:59 pm
Forum: Getting Started - MultiWii config and setup
Topic: MultiWii 2.2 compiling : errors
Replies: 8
Views: 9809

Re: MultiWii 2.2 compiling : errors

Ok, my bad. The issue was not in declaration of the function, but in prog_char type itself. It's deprecated type and if you're using avr-libc v1.8 it's not defined any more. The fix is simple. 1. put additional line into very end of def.h typedef char PROGMEM prog_char; 2. make sure you're including...
by elf128
Sun Jun 23, 2013 9:10 pm
Forum: Getting Started - MultiWii config and setup
Topic: MultiWii 2.2 compiling : errors
Replies: 8
Views: 9809

Re: MultiWii 2.2 compiling : errors

Just got the same error, while compile of V2.2 Day of source reading shows that it's simply bug. In V2.1 there was not such function as SerialGpsPrint in GPS.ino, since V2.2 they add it and have hidden under #if ... #endif, so if you're trying to build it without GPS, SerialGpsPrint(prog_char* str) ...