Page 7 of 29

Re: MultiWii EZ-GUI

Posted: Wed Jan 30, 2013 1:46 am
by Deet
I got a new handset yesterday and cannot get the app to connect to my BT module, I haven't tried the app previously so I am wondering if its something I am not doing right

In the config tab i have selected the correct BT device

The BT Module is paired, and I can use Naze32 to connect to MW and get PID info, so the baud rate on the BT module is correct

The handset is a Samsung Galaxy Ace, and its running Android v2.3.5

I am running the most recent dev version of the MW code

Re: MultiWii EZ-GUI

Posted: Wed Jan 30, 2013 11:32 am
by dramida
Yesterday i tested EZ-GUI with map navigation on R13 of NHAdrian mwc branch.

The copter worked as expected.

I want to remark that we need a SEND button that also closes the pop-up window. In actual version i have to press back arrow on my smartphone to close the window and after that i get the visual confirmation on map. (is the app checking that the transmission of WP was succesfull to MWC?)

PS. Alex just moded the shared trunk to be possible to remotely change the PH point instead Home point, in this way home remains as failsafe position in case of lost comm.

Re: MultiWii EZ-GUI

Posted: Thu Jan 31, 2013 3:35 am
by ezio
dramida wrote:I want to remark that we need a SEND button that also closes the pop-up window. In actual version i have to press back arrow on my smartphone to close the window and after that i get the visual confirmation on map. (is the app checking that the transmission of WP was succesfull to MWC?)

PS. Alex just moded the shared trunk to be possible to remotely change the PH point instead Home point, in this way home remains as failsafe position in case of lost comm.



Send button now closes the window. Yeah I know it was annoying :)
App is not checking anything, but the position which is shown on the map is pulled from multiwii so if the mark (Home or Position hold) is on the map in right place you can be sure that the position is set correctly.

I will make the app compatible with Alex's changes soon.

Re: MultiWii EZ-GUI

Posted: Thu Jan 31, 2013 3:36 am
by ezio
nhadrian wrote:I attached a screenshot about the leftover notification.
BTW, the copter icon is not scaled in the notification bar... but this is pitty, not needed to be fixed.



could you check it with today's update ? (the status in notification bar, not the icon)

Re: MultiWii EZ-GUI

Posted: Thu Jan 31, 2013 6:29 am
by nhadrian
Notification still exists...

I attached az ICON design, just for fun. I specially made it to match my windows 7 launcher style.

Looking forward to the WP16 injection, I'll test once you make it.

Re: MultiWii EZ-GUI

Posted: Fri Feb 01, 2013 12:37 am
by ezio
Deet wrote:I got a new handset yesterday and cannot get the app to connect to my BT module, I haven't tried the app previously so I am wondering if its something I am not doing right

In the config tab i have selected the correct BT device

The BT Module is paired, and I can use Naze32 to connect to MW and get PID info, so the baud rate on the BT module is correct

The handset is a Samsung Galaxy Ace, and its running Android v2.3.5

I am running the most recent dev version of the MW code


could you tell me that the newest version works ?

Re: MultiWii EZ-GUI

Posted: Fri Feb 01, 2013 12:57 am
by ezio
Just to let you know you can actually run EZ-GUI on the PC/Laptop using x86 Android port from here: http://www.android-x86.org/

Re: MultiWii EZ-GUI

Posted: Fri Feb 01, 2013 1:03 am
by ezio
nhadrian wrote:Looking forward to the WP16 injection, I'll test once you make it.


Maybe you can write to EOSBandi and ask if he can modify the source to be compatible with I2C GPS, because right now it is not.

....
} else if (wp_no == 16) { // OK with SERIAL GPS -- NOK for I2C GPS / needs more code dev in order to inject GPS coord inside I2C GPS
GPS_hold[LAT] = lat;
GPS_hold[LON] = lon;
#if !define...
...

Bart

Re: MultiWii EZ-GUI

Posted: Fri Feb 01, 2013 1:36 am
by ezio
nhadrian wrote:Notification still exists...


Could you check if notification disappears if you have "Disable BT on exit" enabled in Config ?

Re: MultiWii EZ-GUI

Posted: Fri Feb 01, 2013 3:12 am
by ezio
Notification should be fixed in todays relase.
Also I added possibility to set Position Hold from a map.
And for now "follow me" sets position for both Home and Hold.
"follow me" should be more responsive as it sends the position as fast as possible.

Bart

Re: MultiWii EZ-GUI

Posted: Fri Feb 01, 2013 5:48 am
by Deet
ezio wrote:
Deet wrote:I got a new handset yesterday and cannot get the app to connect to my BT module, I haven't tried the app previously so I am wondering if its something I am not doing right

In the config tab i have selected the correct BT device

The BT Module is paired, and I can use Naze32 to connect to MW and get PID info, so the baud rate on the BT module is correct

The handset is a Samsung Galaxy Ace, and its running Android v2.3.5

I am running the most recent dev version of the MW code


could you tell me that the newest version works ?


Working now, thanks

Re: MultiWii EZ-GUI

Posted: Fri Feb 01, 2013 5:52 am
by nhadrian
Many thanks Bart!

I'll test the hold changing function soon!
I attached a picture how my icon looks like.

BR
Adrian

Re: MultiWii EZ-GUI

Posted: Fri Feb 01, 2013 6:46 am
by ezio
nhadrian wrote:Many thanks Bart!

I'll test the hold changing function soon!
I attached a picture how my icon looks like.

BR
Adrian


I don't know. I would rather stick to android style icon
http://developer.android.com/design/sty ... raphy.html

Bart

Re: MultiWii EZ-GUI

Posted: Fri Feb 01, 2013 6:50 am
by nhadrian
ezio wrote:
nhadrian wrote:Many thanks Bart!

I'll test the hold changing function soon!
I attached a picture how my icon looks like.

BR
Adrian


I don't know. I would rather stick to android style icon
http://developer.android.com/design/sty ... raphy.html

Bart


Hi Bart,

maybe you misunderstanded me, personally I'm really bad in graphic things, I only made this one to have something similar to the other icons on my phone, not for the community (I don't have time for that..:( )
The reason I shared because maybe the idea of the arrange could be used on a more detailed way...

BR
Adrian

Re: MultiWii EZ-GUI

Posted: Fri Feb 01, 2013 11:23 am
by dramida

........., personally I'm really bad in graphic things, I only made this one to have something similar to the other icons on my phone, not for the community....

BR


this is the storry of entire Multiwii project, bad people doing good work with passion :)

Re: MultiWii EZ-GUI

Posted: Sun Feb 03, 2013 11:24 pm
by dramida
Today i used EZ-GUI to navigate on map. Unfortunately i didn't update the EZ-GUI to PH injection until after i came back from the field. This Android aplication is amazing ! Thank you Bart!

http://www.youtube.com/watch?v=2wMqMO8-F_I

ps. Have you considered to add also altitude to WP injection? NHAdrian has a working altitude control algoritm in its topic viewtopic.php?f=8&t=2965&start=30#p30297

Re: MultiWii EZ-GUI

Posted: Mon Feb 04, 2013 12:22 am
by ezio
First wait for the Heading injection :)

it will be available soon

Re: MultiWii EZ-GUI

Posted: Mon Feb 04, 2013 10:59 pm
by dramida
Why you would need Heading injection?

Re: MultiWii EZ-GUI

Posted: Mon Feb 04, 2013 11:06 pm
by ezio
dramida wrote:Why you would need Heading injection?


"the phone could update regularly the heading hold of the multi so that the multi keeps always the same orientation of the phone (a sort of « follow my heading »). This should interest some photographs.
The smartphone could calculate the heading so that the multi always face (or tail) the home pos."

Re: MultiWii EZ-GUI

Posted: Mon Feb 04, 2013 11:30 pm
by Alexinparis
dramida wrote:Why you would need Heading injection?


Imagine the following cases:
1) you lock the multi in the air
2) you point toward a direction with your smartphone and the multi changes its orientation toward this direction. It's possible with the reading of internal smartphone compass.
---
1) you lock the multi in the air
2) the ground station (smatphone in this case) sends specific heading direction for panorama shoots
---
1) you select a point on the map
2) the ground station calculates the right heading to always face this point

and probably many more

Re: MultiWii EZ-GUI

Posted: Tue Feb 05, 2013 2:15 am
by dramida
Realy interesting application indeed. As a photographer, i have a client which require, on a mounthly basis, aerial photos from same position of its building site.
In my oppinion, a natural evolvement, from 2D positioning on a map, would be 3D positioning on a map with altitude (and that should answer my challenge also).
NHAdrian did a pretty good job about altitude control, i am pleased with results. Maybe a new dev version to include this mods woud be useful to further test altitude features.

Re: MultiWii EZ-GUI

Posted: Tue Feb 05, 2013 2:31 am
by ezio
I think we need to rethink the Waypoints. I think that waypoint should contain position (lat, lon), altitude, heading, navigation flag (for future use ) and maybe time to spend at position.
And MSP_SET_WP should set all these values.

Re: MultiWii EZ-GUI

Posted: Tue Feb 05, 2013 6:10 am
by nhadrian
ezio wrote:I think we need to rethink the Waypoints. I think that waypoint should contain position (lat, lon), altitude, heading, navigation flag (for future use ) and maybe time to spend at position.
And MSP_SET_WP should set all these values.


Exactly, but also should contain the vario not only altitude.

Unfortunatelly the currenc nav flags, structure can't handle proper WP nav. At least that is my oppinion.

Re: MultiWii EZ-GUI

Posted: Wed Feb 06, 2013 5:09 am
by JustinTime
What I wold like to know is how to shut the annoying voice up!I couldn't fine no setting option.

Re: MultiWii EZ-GUI

Posted: Wed Feb 06, 2013 6:41 am
by Gimbal
text to speach in config, scroll right to find cofig

Re: MultiWii EZ-GUI

Posted: Fri Feb 08, 2013 5:19 am
by jamesbit
Hallo !

I have tried MultiWii EZ-GUI on a Samsung Galaxy S Advance with a Dual processor 1 Ghz . The Android version is 2.3.6.
My Galaxy with dual processor isn't low on processing power but this app run slow on that.
I get much delay to obtain live motor updates and dashboards data. In other words it don't run smootly !
I have tried the Multiwii app by nando and it works good and smoothly.
I like this Ezio app and I want use it…please can anyone help me ?

Thank you for your work…

Regards,

James.

Re: MultiWii EZ-GUI

Posted: Fri Feb 08, 2013 6:46 am
by nhadrian
Hi Bart,

yesterday I tested the 3dr radio modules outside.
It worked quite well but I have noticed something.
In dashboard mode I continously data reading, but in MAP mode and in logging I get sometimes big data loss.

My idea is that data loss is because there is too much data at a time.
Would it be possible to add an option for set up the "communication speed" in Hz? I mean ie. 1-5-10-20Hz steps...
In that case there would be enough time after each MSP order to listen for valid data (for some ms), and send order again once the reply is damaged by data loss.

BR
Adrian

Odp: MultiWii EZ-GUI

Posted: Fri Feb 08, 2013 7:30 am
by ezio
Hi
There is a option in config to set refresh rate. You can specify a delay after each loop pass in ms

Re: MultiWii EZ-GUI

Posted: Fri Feb 08, 2013 5:53 pm
by jamesbit
Hi !

I did several tests by setting the refresh rate but I have always more delay.

It may be due to the graphics?

I can't disable hardware acceleration in 2.3.6.

If there is some solution please tell me...

Thank you...

Re: Odp: MultiWii EZ-GUI

Posted: Sat Feb 09, 2013 8:27 am
by nhadrian
ezio wrote:Hi
There is a option in config to set refresh rate. You can specify a delay after each loop pass in ms


Yes, indeed, that is the first part of my question.
But, if I set up a slow refresh rate enough, would it be possible to modify the communication logic for example for request any sentences ie. maximum 3 times if there is no valid reply (due to data loss).

My other question is that are you going to adapt these changes?
http://code.google.com/p/multiwii/source/detail?r=1331

BR
Adrian

Re: Odp: MultiWii EZ-GUI

Posted: Sat Feb 09, 2013 10:46 pm
by ezio
nhadrian wrote:
ezio wrote:Hi
There is a option in config to set refresh rate. You can specify a delay after each loop pass in ms


Yes, indeed, that is the first part of my question.
But, if I set up a slow refresh rate enough, would it be possible to modify the communication logic for example for request any sentences ie. maximum 3 times if there is no valid reply (due to data loss).

My other question is that are you going to adapt these changes?
http://code.google.com/p/multiwii/source/detail?r=1331

BR
Adrian


I think I have to change the speed of sending commands.
RSSI will be available soon. When I can't tell. I is quite hard to keep it synchronized with latest dev as I'm the only one working on this app.

Re: MultiWii EZ-GUI

Posted: Sat Feb 09, 2013 11:54 pm
by Mark_K
Quick question:

If I run calibrate acc or mag, do I then need to save the results into eeprom? Or are they automatically saved?

Re: MultiWii EZ-GUI

Posted: Sat Feb 09, 2013 11:58 pm
by ezio
Mark_K wrote:Quick question:

If I run calibrate acc or mag, do I then need to save the results into eeprom? Or are they automatically saved?

they are automatically saved

Re: MultiWii EZ-GUI

Posted: Sun Feb 10, 2013 12:05 am
by WesH
I looked through all of the posts in the forum before asking what is probably a stupid question. I bought a seeed bluetooth shield at radio shack does anyone happen to have any experience with this. When I load their example code into my Uno I can communicate with my tablet. When I load multiwii 2.1 into the Uno I get nothing. Should I need to add anything to the multiwii 2.1 code to make this work? Is there something about the way this board connects that interferes with the multiwii? for example does the shield rely on pins that the multiwii also uses? I dont't expect too much. This appears to be a pretty crappy product with very little support, documentation, or general "how to" examplesnout there.

Re: MultiWii EZ-GUI

Posted: Sun Feb 10, 2013 12:09 am
by ezio
WesH wrote:I looked through all of the posts in the forum before asking what is probably a stupid question. I bought a seeed bluetooth shield at radio shack does anyone happen to have any experience with this. When I load their example code into my Uno I can communicate with my tablet. When I load multiwii 2.1 into the Uno I get nothing. Should I need to add anything to the multiwii 2.1 code to make this work? Is there something about the way this board connects that interferes with the multiwii? for example does the shield rely on pins that the multiwii also uses? I dont't expect too much. This appears to be a pretty crappy product with very little support, documentation, or general "how to" examplesnout there.


Hi
Default baud rate for this shield is 38400
You have to change it to 115200 if you want to use it with multiwii. Usually it is done via AT commands. Read the Bluetooth documentation.
look here at the bottom http://www.seeedstudio.com/wiki/index.p ... oth_Shield

Re: MultiWii EZ-GUI

Posted: Sun Feb 10, 2013 12:10 am
by WesH
OMG thank you very much.

Re: MultiWii EZ-GUI

Posted: Sun Feb 10, 2013 12:11 am
by ezio
WesH wrote:OMG thank you very much.

http://www.seeedstudio.com/wiki/index.p ... oth_Shield at the bottom

Re: MultiWii EZ-GUI

Posted: Sun Feb 10, 2013 7:48 pm
by WesH
Unfortunately being a techno-anderthal, or thech-neanderthal whichever you perfer, I seem to be incapable of getting it all together. However I have considered the possibility that the shield won't work for this application and I need something stand alone that doesn't rely on the arduino for its' operating parameters. If this is my problem don't bother reading on because that would explain the rest of my issues that can probably be fixed by writing/ altering a bunch of complex code that I am incapable of doing and I don't expect anyone else to do for me. At that point it's probably back to Radio Shack with the shield. It appears that the seeed bluetooth shield is not capable of communication unless you have "slave" or "master" code running which requires the softwareSerial.h library and it relies on arduino IO pins for TX/RX not the actual TX/RX of the arduino. I came to this conclusion because when I load the example "slave" code onto the arduino the BT shield and my tablet are able to pair, and EZ-GUI can connect to the BT shield, and if I open serial monitor I actually get a string of characters coming from EZ-GUI. Now if I do nothing else except for load multiwii 2.1 onto the arduino, the EZ-GUI says unable to connect. I tried to put the "slave" code somewhere in different places in the multiwii code which reults in all kinds of errors. A few methods I have tried are creating my own tab which of course resulted in re-definition of void setup and void loop. I tried putting the setup and loop code in the proper places which takes care of those problems however at that point it seems the softwareSerial.h library has conflicts with something in the multiwii code. I get a re-definition of vector_5 error and after some google searching determined that it definately has something to do with the library trying to do something that the multiwii is already trying to do.

Re: MultiWii EZ-GUI

Posted: Sun Feb 10, 2013 8:44 pm
by Gimbal
http://www.ebay.com/itm/Wireless-Serial ... 3cc643cda7

work just fine, connect with terminal program at 9600 baud send "AT+BAUD8" and it run's just fine with MW

Re: Odp: MultiWii EZ-GUI

Posted: Sun Feb 10, 2013 8:57 pm
by ezio
ezio wrote:
nhadrian wrote:
ezio wrote:Hi
There is a option in config to set refresh rate. You can specify a delay after each loop pass in ms


Yes, indeed, that is the first part of my question.
But, if I set up a slow refresh rate enough, would it be possible to modify the communication logic for example for request any sentences ie. maximum 3 times if there is no valid reply (due to data loss).

My other question is that are you going to adapt these changes?
http://code.google.com/p/multiwii/source/detail?r=1331

BR
Adrian


I think I have to change the speed of sending commands.
RSSI will be available soon. When I can't tell. I is quite hard to keep it synchronized with latest dev as I'm the only one working on this app.


I added rssi to raw data view in today update. You can verify if it is correct.
it is now compatible with dev1337

Bart

Re: MultiWii EZ-GUI

Posted: Sun Feb 10, 2013 9:02 pm
by ezio
Alexinparis wrote:
dramida wrote:Why you would need Heading injection?


Imagine the following cases:
1) you lock the multi in the air
2) you point toward a direction with your smartphone and the multi changes its orientation toward this direction. It's possible with the reading of internal smartphone compass.
---
1) you lock the multi in the air
2) the ground station (smatphone in this case) sends specific heading direction for panorama shoots
---
1) you select a point on the map
2) the ground station calculates the right heading to always face this point

and probably many more


You can try it after today update. It is hidden in gps view as I'm not sure if it works. You have to press yellow bar to unhide it.


Bart

Re: MultiWii EZ-GUI

Posted: Sun Feb 10, 2013 9:50 pm
by WesH
Gimbal wrote:http://www.ebay.com/itm/Wireless-Serial-4-Pin-Bluetooth-RF-Transceiver-Module-Backplane-RS232-F-Arduino-/261024370087?pt=LH_DefaultDomain_0&hash=item3cc643cda7

work just fine, connect with terminal program at 9600 baud send "AT+BAUD8" and it run's just fine with MW


Thank you..... Seems like that's the way I'm headed. I have come to the conclusion that the shield I have is really only suited for development and not stand alone communication. I am still not clear on weather or not the MW code needs to be altered at all to use BT communication. I can't find anything out there that explains things for the common moron like me. It would be nice to find a dumbed dowm tutorial that says, buy this bluetooth module, plug it in here, change the multiwii code here, and your done. For example the "QSC Tricopter" tutorial however it wouldn't have to be nearly as in depth. Just a quick simple step by step set of instructions. I had absolutely no experience in building anything radio control. However the QSC tricopter however in depth instructions were so easy I had to do it.

Thank you all for your time and help. I greatly appreciate it. It seems every time I want to try something new with arduino it is never as easy as I think it should be.

Re: MultiWii EZ-GUI

Posted: Sun Feb 10, 2013 10:49 pm
by Deet
WesH wrote:
Gimbal wrote:http://www.ebay.com/itm/Wireless-Serial-4-Pin-Bluetooth-RF-Transceiver-Module-Backplane-RS232-F-Arduino-/261024370087?pt=LH_DefaultDomain_0&hash=item3cc643cda7

work just fine, connect with terminal program at 9600 baud send "AT+BAUD8" and it run's just fine with MW


Thank you..... Seems like that's the way I'm headed. I have come to the conclusion that the shield I have is really only suited for development and not stand alone communication. I am still not clear on weather or not the MW code needs to be altered at all to use BT communication. I can't find anything out there that explains things for the common moron like me. It would be nice to find a dumbed dowm tutorial that says, buy this bluetooth module, plug it in here, change the multiwii code here, and your done. For example the "QSC Tricopter" tutorial however it wouldn't have to be nearly as in depth. Just a quick simple step by step set of instructions. I had absolutely no experience in building anything radio control. However the QSC tricopter however in depth instructions were so easy I had to do it.

Thank you all for your time and help. I greatly appreciate it. It seems every time I want to try something new with arduino it is never as easy as I think it should be.



Nothing in the multiwii code needs to be changed to make the bluetooth work

Buy this BT module here: http://www.multiwiicopter.com/products/bluetooth-paris

It is set up ready to work with the correct baud rates

HOWEVER, I cant tell you how it will wire to your board, as I dont know what board you have, it connects to the serial port

But if you buy a Paris Board from the same website, it will plug straight into a dedicated connector

Re: MultiWii EZ-GUI

Posted: Sun Feb 10, 2013 10:56 pm
by WesH
Deet wrote:
WesH wrote:
Gimbal wrote:http://www.ebay.com/itm/Wireless-Serial-4-Pin-Bluetooth-RF-Transceiver-Module-Backplane-RS232-F-Arduino-/261024370087?pt=LH_DefaultDomain_0&hash=item3cc643cda7

work just fine, connect with terminal program at 9600 baud send "AT+BAUD8" and it run's just fine with MW


Thank you..... Seems like that's the way I'm headed. I have come to the conclusion that the shield I have is really only suited for development and not stand alone communication. I am still not clear on weather or not the MW code needs to be altered at all to use BT communication. I can't find anything out there that explains things for the common moron like me. It would be nice to find a dumbed dowm tutorial that says, buy this bluetooth module, plug it in here, change the multiwii code here, and your done. For example the "QSC Tricopter" tutorial however it wouldn't have to be nearly as in depth. Just a quick simple step by step set of instructions. I had absolutely no experience in building anything radio control. However the QSC tricopter however in depth instructions were so easy I had to do it.

Thank you all for your time and help. I greatly appreciate it. It seems every time I want to try something new with arduino it is never as easy as I think it should be.



Nothing in the multiwii code needs to be changed to make the bluetooth work

Buy this BT module here: http://www.multiwiicopter.com/products/bluetooth-paris

It is set up ready to work with the correct baud rates

HOWEVER, I cant tell you how it will wire to your board, as I dont know what board you have, it connects to the serial port

But if you buy a Paris Board from the same website, it will plug straight into a dedicated connector


Thank You. I am using a pro mini, and wii controller/ nunchuck combo. I assume connection are vcc, gnd, tx andrx

Re: MultiWii EZ-GUI

Posted: Mon Feb 11, 2013 8:20 am
by Gimbal
hey by the cheapest Bluetooth on eBay, configure it to 115200 baud "AT+BAUD8" connect it to serial, download and run Multiwii EZ on your android, thats it

Re: MultiWii EZ-GUI

Posted: Wed Feb 13, 2013 1:07 am
by ezio
I have tested Heading inject.
But due to cold weather my brain didn't work well and I forgot to calibrate compass in my quad.
So I can tell that injecting works but I have no idea that it is correct :)

Bart

Re: MultiWii EZ-GUI

Posted: Wed Feb 13, 2013 6:07 am
by Deet
WesH wrote:Thank You. I am using a pro mini, and wii controller/ nunchuck combo. I assume connection are vcc, gnd, tx andrx


Yep, just remember Rx goes to Tx. Tx to Rx

Re: MultiWii EZ-GUI

Posted: Wed Feb 13, 2013 11:43 am
by WesH
Deet wrote:
WesH wrote:Thank You. I am using a pro mini, and wii controller/ nunchuck combo. I assume connection are vcc, gnd, tx andrx


Yep, just remember Rx goes to Tx. Tx to Rx


Thanks for the reminder. There is a 50/50 chance I might have remembered on my own.

Re: MultiWii EZ-GUI

Posted: Wed Feb 13, 2013 7:07 pm
by dramida
Hi, i've made a video with EZ-GUI controlling navigation in position hold to a multiwii quadcopter.

http://www.youtube.com/watch?v=qpoPanmVa9Y

On short distances, navigation goes smoothly but when i tried 500m or so, the gps hold went mad and started leaning in extreme angles.

Re: MultiWii EZ-GUI

Posted: Wed Feb 13, 2013 7:45 pm
by nhadrian
I'm almost sure there is an overlow.
Somebody should check the nav code!

Dramida, could you make some kind of log about gps raw datas and copter raw datas? Maybe something could be figured out.
BTW, what data transfer do you use for 500 m? Plain BT is not capable of that range...

BR
Adrian