just compiled the new r32 version.
got this:
Code: Select all
MultiWii:249: error: 'GPS_WP_RADIUS' was not declared in this scope
Code: Select all
MultiWii:249: error: 'GPS_WP_RADIUS' was not declared in this scope
Code: Select all
MultiWii.cpp: In function 'void GPS_NewData()':
GPS:155: error: 'LAT' was not declared in this scope
GPS:156: error: 'LON' was not declared in this scope
GPS:159: error: 'axis' was not declared in this scope
GPS:164: error: 'fraction3' was not declared in this scope
GPS:173: error: 'fraction3' was not declared in this scope
GPS:174: error: 'fraction3' was not declared in this scope
mbrak wrote:hi
fixed the problem above!
@eosbandi your 3 config.h files are different in many parts. only one file contains the 3 new filter options! please update. the file names original is not realy untouched from your config.
got some new errors:Code: Select all
MultiWii.cpp: In function 'void GPS_NewData()':
GPS:155: error: 'LAT' was not declared in this scope
GPS:156: error: 'LON' was not declared in this scope
GPS:159: error: 'axis' was not declared in this scope
GPS:164: error: 'fraction3' was not declared in this scope
GPS:173: error: 'fraction3' was not declared in this scope
GPS:174: error: 'fraction3' was not declared in this scope
mbrak wrote:hi
just testet r33. works very good! compliment to you andras!!!
pos hold is a bit more exact imho. may the filter is working
rth is great!! have you changed something in the settings andras? the turning speed of the copter is very high to r27. i thing it looks a bit cooler if the copter turns more softly to the home point before flies in that direction an turns again
my problem with the acc trim is gone. no idea why or not
one question: you wrote that you fixed the lcd.ino together with howardb to show the gps data. how to activate that?
another question is there a faq how to tune the gps pids?
KeesvR wrote:Hi EosBandi, could you include a text file with instructions. There have bin a lot of questions answered in this topic, but its not easy to find these back because this topic is growing fast.
As I read here you've made a lot of improvement, I hope I can find some time soon to test these things.
Thanks a lot for your hard work on this.
Vilhelmsson wrote:Hi again, tested r33 and my sbus is completely weird, funny it works with 2.0 and MichelM’s, cleaned Eprom hm, btw using PMB-648 GPS any issues ?
KR Anders Sweden
Gaijin wrote:Probably a stupid question but, If I'm using I2C GPS, should I comment out the serial GPS line in the sketch, also shouldn't the POS HOLD and RTH Boxes change colour when selected in the GUI?
I only ask as I don't feel that the two functions are working for me, The copter seems to drift of in the last direction (at least with r27 tested on sunday)
Unfortunately I can't check how many sats I have in the field without the Android App being updated but the light is going out on my Navigatron and I'm fairly confident in getting a lock from earlier GUI tests.
Alexinparis wrote:Hi,
This thread is moving so fast, with a lot of improvements !
I think it's time to merge something
To ease things integrating the serial part: I would like to gather all "non shared" variables and functions into the GPS.pde file, including the PI & PID classes (in order to optimize them and get rid later of C++ style )
Digging a little into the algorithm code:
- lat & lon speed is the result of a computation.
I noticed NMEA RMC frame has 2 interesting variables: GPS_speed and GPS ground course.
I don't know if it's the result of an internal averaging or if it's the result of direct GPS computation (using Doppler resultant)
But don't you think we could use them to have a more accurate lat & lon speed ?
I noticed also there is the Magnetic Variation variable in the RMC frame, witch is equivalent to the magnetic declination according to wiki.
We could maybe use it if available instead of defining a static declination.
rbirdie001 wrote:Hi to all, especially EOSBandi,
few observations and questions after flashing r33.
I have tricopter with Crius SE board and I2C GPS (Mediatek 10Hz module on the arduino). Previously running MWC 2.0 and I2C GPS initial version (slightly modified to send GPS configuration strings) without problems.
I first flashed I2C module with the I2C version bundled with r33, just modified to my GPS (initial speed 38400, PMTK strings to 10Hz @ 115200), no change in it's config. This worked (at least on GUI) with MWC2.0, I got GPS fix blinking on FC and at least 4 SATS on GUI (just limited view from my balcony).
Then I flashed r33 into MWC FC (I'm not sure if I set everything OK in the config) and observed the following:
1) sensors values OK on the GUI, GPS box green like detected, but no GPS fix (could be limited view to sky, but I don't think so...) Will test tomorrow outside.
2) always I get 19 errors on I2C on the GUI - previously I got NEVER an error.
3) GUI application on my notebook (Win XP 32, with bluetooth) is starting very slowly (just empty white windows for the first 20 seconds after starting the application. (I had similar behaviour sometime in times of MWC1.6 and that was corrected by nuw rxtxserial.dll) Connection MWC to notebook via bluetooth.
Any ideas what to check? (Sorry, I'm not programmer, only an user... )
I'm attaching my config for the reference.
Big thanks to EOSBandi and all others for the big effort!!!
Roman
EDIT: Bathroom idea at 1AM: I'm using twi library from the time of initial I2C GPS release some months ago - not upgraded now. Are there any recent changes? Will test to replace with r33 bundled version tomorrow.
Katch wrote:Does anyone happen to have a MT3329 115200 @ 10hz firmware file to hand?
I'm being guinea pig messing around with firmware on that cheap MT3329 I posted back a page or 2. So far managed to update it to DIYDrones 1.6 firmware (which they claim only works on their module lol) and a 10hz 38400 firmware intended for the FMP04 - both worked fine.
For ease of dev I'd like to load up a 115200 10hz firmware.
I'll add my notes to the flashing process thread in a minute.
EOSBandi wrote:Katch wrote:Does anyone happen to have a MT3329 115200 @ 10hz firmware file to hand?
I'm being guinea pig messing around with firmware on that cheap MT3329 I posted back a page or 2. So far managed to update it to DIYDrones 1.6 firmware (which they claim only works on their module lol) and a 10hz 38400 firmware intended for the FMP04 - both worked fine.
For ease of dev I'd like to load up a 115200 10hz firmware.
I'll add my notes to the flashing process thread in a minute.
I just added it to the downloads section.... http://code.google.com/p/i2c-gps-nav/downloads/list
EOSBandi wrote:Flash it, then use MiniGPS to set your parameters (GPS frames, update rate, WaaS) and save them to the GPS flash memory (on the Test tab, press shift+ctrl+S to get additional tabs in MiniGPS tool) yo have 8 slots to save... Note that Waas could be used only with 5Hz update rate....
EOSBandi wrote:KeesvR wrote:Hi EosBandi, could you include a text file with instructions. There have bin a lot of questions answered in this topic, but its not easy to find these back because this topic is growing fast.
As I read here you've made a lot of improvement, I hope I can find some time soon to test these things.
Thanks a lot for your hard work on this.
I'm working on the documentation, at this moment... stay tuned.
EOSBandi wrote:The tool in the repo is from the DIYdrones site
Blink sketch is a very good idea, i cut the traces from adruino to gps to allow flashing,.. but the blink sketch will do just fine
Katch wrote:EOSBandi wrote:Flash it, then use MiniGPS to set your parameters (GPS frames, update rate, WaaS) and save them to the GPS flash memory (on the Test tab, press shift+ctrl+S to get additional tabs in MiniGPS tool) yo have 8 slots to save... Note that Waas could be used only with 5Hz update rate....
Just flashed the 10hz 115200 firmware you linked to on 2 devices. It is what it says it is.
I have updated a generic MT3329 breakout board and my Navigtron I2C GPS board. To update the Navigtron you have to upload a blank blink sketch to the arduino then connect a usb serial device to 5v gnd and Rx / TX (Rx/Tx must be crossed)
I used the Powerflash tool that DIYDrones provides rather than the Flashtool in the repo.
Gaijin wrote:Katch wrote:EOSBandi wrote:Flash it, then use MiniGPS to set your parameters (GPS frames, update rate, WaaS) and save them to the GPS flash memory (on the Test tab, press shift+ctrl+S to get additional tabs in MiniGPS tool) yo have 8 slots to save... Note that Waas could be used only with 5Hz update rate....
Just flashed the 10hz 115200 firmware you linked to on 2 devices. It is what it says it is.
I have updated a generic MT3329 breakout board and my Navigtron I2C GPS board. To update the Navigtron you have to upload a blank blink sketch to the arduino then connect a usb serial device to 5v gnd and Rx / TX (Rx/Tx must be crossed)
I used the Powerflash tool that DIYDrones provides rather than the Flashtool in the repo.
Wait a minute, what settings are my Navigatron at by default?
I assumed it was already set to output 10hz etc
Quad FRITZ wrote:Hi-
Just to get this straight- when I use the newest I2C version of the SW for the multiwii and connect a Navigatron GPS board with the old FW it will be initialized for 10Hz anyways- so no need for FW change on the Navigatron board?
Thank you for all the hard work and especially to you, EOSbandi!!!
Sharkcopter wrote:Hi
@ EosBandi thanks for your efforts.
Yesterday I bought a Navigatron V2 and I realized that it defaults is 10 hz 115200 bps.
I understand that i have no change anything, is this correct ?
Sharkcopter wrote:Hi
@ EosBandi thanks for your efforts.
Yesterday I bought a Navigatron V2 and I realized that it defaults is 10 hz 115200 bps.
I understand that i have no change anything, is this correct ?
EOSBandi wrote:Hi Guys,
I just uploaded the documentation to the repository. You can find it here : http://code.google.com/p/i2c-gps-nav/downloads/list
Since English is not my native language, and I did not had any formal education for English, there are perhaps some errors. I would appriciate if a native English speaker helps me in proofreading.
Regards,
EOSBandi
Katch wrote:EOSBandi wrote:Hi Guys,
I just uploaded the documentation to the repository. You can find it here : http://code.google.com/p/i2c-gps-nav/downloads/list
Since English is not my native language, and I did not had any formal education for English, there are perhaps some errors. I would appriciate if a native English speaker helps me in proofreading.
Regards,
EOSBandi
I just happen to be an English teacher - I'll go over it and send you any changes.
EDIT do you have it in an easily editable format - .doc etc?