MultiWii EZ-GUI

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Blasterke
Posts: 3
Joined: Sun Feb 17, 2013 9:31 am

Re: MultiWii EZ-GUI

Post by Blasterke »

Your phone runs macosx? :) this software is meant for mobile phones with android. You can use the original multiwiiconf on your mac.

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Odp: MultiWii EZ-GUI

Post by ezio »

tryss wrote:Question : do you plan to make it work on OSX for mac users ?

Short answer is: no.
I don't have mac or iPhone. And also I'm not a Apple guy.

Bart

User avatar
alll
Posts: 220
Joined: Fri Dec 07, 2012 9:53 am

Re: MultiWii EZ-GUI

Post by alll »

Hi,

Nice app, i was using Multiwii config for Android, and they have a nice slider with + and - to finetune the value. Do you think it is feasible to have this in EZ-Gui?

Thanks,
manu
Last edited by alll on Mon Apr 01, 2013 6:26 pm, edited 1 time in total.

mahowik
Posts: 332
Joined: Sun Apr 10, 2011 6:26 pm

Re: MultiWii EZ-GUI

Post by mahowik »

At first thanks for cool project!!!

I tried 3DR connection today. It works but little bit unstable. Sometimes application just crashes and closed...
Probable it because Hyundai A7HD china device...

What setting you have for 3DR: air speed and baud rate?

upd: I changed refresh rate to 150ms in app and now it's little bit stable but have couple of crashes again...

nhadrian
Posts: 421
Joined: Tue Oct 25, 2011 9:25 am

Re: MultiWii EZ-GUI

Post by nhadrian »

Hi,

I tried on advent vega clone tablet (both 4.1 and 4.2 custom roms), I have HOST mode possibilities.
EZ-GUI writes that "Serial connected" but there is not any data transfer.
I tried with both 3DR and direct connection (tablet connected to my crius AIO pro).

BR
Adrian

ps. if you need any further information, just tell me, I'll try to answer.

mahowik
Posts: 332
Joined: Sun Apr 10, 2011 6:26 pm

Re: MultiWii EZ-GUI

Post by mahowik »

Have you activated "Use serial Port for MultiWii" in settings? Also you have to setup your 3DRs for baud rate 115200 or change it everywhere, i.e. flight controller, 3DRs, EZ app...
Also after app run you have to press Connect, i.e. it's not done automatically after app starts...

nhadrian
Posts: 421
Joined: Tue Oct 25, 2011 9:25 am

Re: MultiWii EZ-GUI

Post by nhadrian »

mahowik wrote:Have you activated "Use serial Port for MultiWii" in settings? Also you have to setup your 3DRs for baud rate 115200 or change it everywhere, i.e. flight controller, 3DRs, EZ app...
Also after app run you have to press Connect, i.e. it's not done automatically after app starts...


Hi, yes, I did all of these settings.
The same 3DR modules works with wingui and mwi-gui too.
(I have normal USB socken on tablet so just plug the same cable as for PC... :D )
My tablet can handle USB mouse, keyboard, pendrive, etc. so probably the HOST mode is active indeed.
Also, when cable is connected, EZ-GUI starts automatically. As I said, when I hit on Connect MWI, it writes "Serial connected" but no data transfer at all.

BR
Adrian

ps.: here is the info abut my FTDI device, by "USB Device Info" app:


Code: Select all

Device Info 
Device Path: /dev/bus/usb/002/002
Device Class: Use class information in the Interface Descriptors (0x0)
Vendor ID:  0403
Vendor Name:  Future Technology Devices International, Ltd
Product ID:  07d2
Product Name:  not in db

Interfaces
Interface #0
Class: Vendor Specific (0xff)
Endpoint: #0
Address        : 129 (10000001)
Number         : 1
Direction      : Inbound (0x80)
Type           : Bulk (0x2)
Poll Interval  : 0
Max Packet Size: 64
Attributes     : 000000010
Endpoint: #1
Address        : 2 (000000010)
Number         : 2
Direction      : Outbound (0x0)
Type           : Bulk (0x2)
Poll Interval  : 0
Max Packet Size: 64
Attributes     : 000000010


I also attached a screenshot by "USB Host diagnostic" app. I hope these informations helps.
Attachments
IMG_20130401_185439.jpg

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Odp: MultiWii EZ-GUI

Post by ezio »

I'm new to usb host in android. And this is very beta release of usb support so it can not work stable etc.
but I'm happy beacuse it works for someone :)

Bart

nhadrian
Posts: 421
Joined: Tue Oct 25, 2011 9:25 am

Re: Odp: MultiWii EZ-GUI

Post by nhadrian »

ezio wrote:I'm new to usb host in android. And this is very beta release of usb support so it can not work stable etc.
but I'm happy beacuse it works for someone :)

Bart


OK, no problem.
I just wanted to share as much details as I can.

BR
Adrian

stolken
Posts: 4
Joined: Sat Apr 06, 2013 10:32 pm

Re: MultiWii EZ-GUI

Post by stolken »

Hey guys,
If I connect my HK Microwii http://www.hobbyking.com/hobbyking/store/__22321__MultiWii_MicroWii_ATmega32U4_Flight_Controller_USB_BARO_ACC_MAG.html ATmega 32U4 with native usb to my Galaxy S3 (usb host compatible) via an OTG usb cable, will it work ?

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Odp: MultiWii EZ-GUI

Post by ezio »

stolken wrote:Hey guys,
If I connect my HK Microwii http://www.hobbyking.com/hobbyking/store/__22321__MultiWii_MicroWii_ATmega32U4_Flight_Controller_USB_BARO_ACC_MAG.html ATmega 32U4 with native usb to my Galaxy S3 (usb host compatible) via an OTG usb cable, will it work ?

the ez-gui supports only ftdi chips so it will not work.

stolken
Posts: 4
Joined: Sat Apr 06, 2013 10:32 pm

Re: Odp: MultiWii EZ-GUI

Post by stolken »

ezio wrote:
stolken wrote:Hey guys,
If I connect my HK Microwii http://www.hobbyking.com/hobbyking/store/__22321__MultiWii_MicroWii_ATmega32U4_Flight_Controller_USB_BARO_ACC_MAG.html ATmega 32U4 with native usb to my Galaxy S3 (usb host compatible) via an OTG usb cable, will it work ?

the ez-gui supports only ftdi chips so it will not work.


Why not ? I guess you are using an FTDI driver in your app ? If yes, that means I need a driver for the ATmega 32U4 ?

Geebles
Posts: 24
Joined: Sat Jan 26, 2013 2:23 am

Re: MultiWii EZ-GUI

Post by Geebles »

Hi guys,
Using the ez-gui for android (on Xperia X10 mini) with Multiwii SE V2.0 (328p) with MW2.2, with I2C GPS (the latest from the recommended link) and I'm trying to make the waypoint system work..

So far:
- Pos hold works great
- Return to home works back to the place it was armed.

However, when using the ez-gui/map, no matter what I do the 'set home' or 'set position hold' does not seem to affect the copter. I have uncommneted "#define USE_MSP_WP"

What I was expecting to happen.. is while it was flying i would tell it to return to home.. it would then hover over its position, then i would set a NEW home position somewhere else and it would fly over to it.. Is this meant to be possible? Because i can't seem to get it to do that unless I'm missing something!

Thanks, if this isn't the right place i'll make a new topic or something

Regards Giles

jrt4fun
Posts: 11
Joined: Fri Mar 16, 2012 2:37 pm

Re: MultiWii EZ-GUI

Post by jrt4fun »

Giles,

I'm using the same board and I²C GPS setup.
When I saw the options on the app of Ezio I also wanted to give it a go with the WP via the map and ran into exactly the same issues.
Unfortunately it is not possible to use waypoints with an I²C setup, unless this has changed very recently (do correct me if I'm wrong)

I'm now putting a TBS frame together based upon a Crius AIO with serial GPS connection and 3DR radio.
Can't wait to get it tested with the EZ_GUI.

Regards,

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Odp: MultiWii EZ-GUI

Post by ezio »

Setting home position should work with GPS i2c.

Geebles
Posts: 24
Joined: Sat Jan 26, 2013 2:23 am

Re: Odp: MultiWii EZ-GUI

Post by Geebles »

EDIT: I found this post: http://www.multiwii.com/forum/viewtopic.php?f=8&t=2965&start=160 Which deals with writing to the I2C_GPS "I2C_GPS_WP0" register to update that position! Will report my findings when I test it..

ezio wrote:Setting home position should work with GPS i2c.


Hi Ezio (and jrt4fun),

Thanks for your comments. Ok so if i set a new home position it should work? What I am doing is:

1. Arm and fly
2. Set to 'return to home'
3. Apply new home via ez-gui
4. Copter changes heading, but doesn't move towards it..

I've only recently used I2C, do you know where abouts the new waypoint (0 for home) is sent to the I2C module?

In Serial code:

Code: Select all

case MSP_SET_WP:
{
  int32_t lat = 0,lon = 0,alt = 0;
  uint8_t wp_no = read8();        //get the wp number
  lat = read32();
  lon = read32();
  alt = read32();                 // to set altitude (cm)
  read16();                       // future: to set heading (deg)
  read16();                       // future: to set time to stay (ms)
  read8();                        // future: to set nav flag
  if (wp_no == 0) {
    GPS_home[LAT] = lat;
    GPS_home[LON] = lon;
    f.GPS_HOME_MODE = 0;          // with this flag, GPS_set_next_wp will be called in the next loop -- OK with SERIAL GPS / OK with I2C GPS
    f.GPS_FIX_HOME  = 1;
    if (alt != 0) AltHold = alt;  // temporary implementation to test feature with apps
  } 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 (alt != 0) AltHold = alt;  // temporary implementation to test feature with apps
    #if !defined(I2C_GPS)
      nav_mode      = NAV_MODE_WP;
      GPS_set_next_wp(&GPS_hold[LAT],&GPS_hold[LON]);
    #endif
  }
}
headSerialReply(0);
break;


This looks to set "f.GPS_HOME_MODE = 0" which says it will run "GPS_set_next_wp"..

GPS_set_next_wp (from GPS code):

Code: Select all

void GPS_set_next_wp(int32_t* lat, int32_t* lon) {
  GPS_WP[LAT] = *lat;
  GPS_WP[LON] = *lon;
 
  GPS_calc_longitude_scaling(*lat);
  GPS_distance_cm_bearing(&GPS_coord[LAT],&GPS_coord[LON],&GPS_WP[LAT],&GPS_WP[LON],&wp_distance,&target_bearing);

  nav_bearing = target_bearing;
  GPS_calc_location_error(&GPS_WP[LAT],&GPS_WP[LON],&GPS_coord[LAT],&GPS_coord[LON]);
  original_target_bearing = target_bearing;
  waypoint_speed_gov = NAV_SPEED_MIN;
}


Does not seem to affect anything I2C GPS related..

Finding the GPS_HOME_MODE box in Multiwii.ino code:

Code: Select all

if (!f.GPS_HOME_MODE)  {
  f.GPS_HOME_MODE = 1;
  f.GPS_HOLD_MODE = 0;
  GPSNavReset = 0;
  #if defined(I2C_GPS)
    GPS_I2C_command(I2C_GPS_COMMAND_START_NAV,0);        //waypoint zero
  #else // SERIAL
    GPS_set_next_wp(&GPS_home[LAT],&GPS_home[LON]);
    nav_mode    = NAV_MODE_WP;
  #endif
}


Doesn't actually run 'GPS_set_next_wp' because of "#define I2C_GPS"

Looking at GPS_I2C_command (in GPS code):

Code: Select all

#if defined(I2C_GPS)
  /////////////////////////////////////////////////////////////////////////////////////////
  // I2C GPS helper functions
  //
  // Send a command to the I2C GPS module, first parameter command, second parameter wypoint number
  void GPS_I2C_command(uint8_t command, uint8_t wp) {
    uint8_t _cmd;
     
    _cmd = (wp << 4) + command;
   
    i2c_rep_start(I2C_GPS_ADDRESS<<1);
    i2c_write(I2C_GPS_COMMAND);
    i2c_write(_cmd);
  }
#endif


Again, I can't see where it is sending the new home position to the I2C module.. It looks to me (not expert in code) that it is just telling the I2C_GPS to navigate to waypoint 0 (home) but not actually setting it. I'm using the code with "March 2013 V2.2" in the header, can't find a patch/build number.. it was the stable from a week ago.

Could someone enlighten me please? I just can't find where the new position is sent to the I2C_GPS module to set a new home position!

Thanks for you help,
Regards Giles

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Odp: MultiWii EZ-GUI

Post by ezio »

I haven't tested it since long time so I can be wrong.
As I remember you have to switch position hold off and on again then copter flies to new position. But I have never tested it with version 2.2

stolken
Posts: 4
Joined: Sat Apr 06, 2013 10:32 pm

Re: Odp: MultiWii EZ-GUI

Post by stolken »

stolken wrote:
ezio wrote:
stolken wrote:Hey guys,
If I connect my HK Microwii http://www.hobbyking.com/hobbyking/store/__22321__MultiWii_MicroWii_ATmega32U4_Flight_Controller_USB_BARO_ACC_MAG.html ATmega 32U4 with native usb to my Galaxy S3 (usb host compatible) via an OTG usb cable, will it work ?

the ez-gui supports only ftdi chips so it will not work.


Why not ? I guess you are using an FTDI driver in your app ? If yes, that means I need a driver for the ATmega 32U4 ?


Salut ezio,
Je crois que tu as raté ma question :P J'aimerai vraiment utiliser ton appli avec ma carte microwii (base Arduino Leonardo)
J'ai trouvé cette librairie : https://code.google.com/p/usb-serial-for-android/

Qu'en penses tu ?

doppler
Posts: 64
Joined: Wed Sep 26, 2012 1:35 pm

Re: MultiWii EZ-GUI

Post by doppler »

A request.

I've run into a situation today where my quad is yawing counter-clockwise for reasons I can't fathom. I tried turning on logging, using MultiWii EZ-GUI, but only to find, radio and motors numbers are not included in the logs. Please can we have this?

Thanks
Andrew

EDIT: Also ARM'ed status would be helpful too!

Prikupets
Posts: 2
Joined: Tue Apr 09, 2013 7:08 pm

Re: MultiWii EZ-GUI

Post by Prikupets »

Hello,
I was in kind of trap - EZ-GUI does not run on my Android 2.1 phone.
So, I modified it slightly. Now it requires Android 2.1+, but lost FDTI connectivity and Sherlock theme.
Author credits were not changed, and program will not go to markets.
If somebody needs it, look here: http://andrey-prikupets-projects.googlecode.com/
Direct download: http://andrey-prikupets-projects.google ... master.rar

Alexinparis
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

Re: Odp: MultiWii EZ-GUI

Post by Alexinparis »

Geebles wrote:Again, I can't see where it is sending the new home position to the I2C module.. It looks to me (not expert in code) that it is just telling the I2C_GPS to navigate to waypoint 0 (home) but not actually setting it. I'm using the code with "March 2013 V2.2" in the header, can't find a patch/build number.. it was the stable from a week ago.


Hi,

I think you're right.
Currently, with an I2C GPS, it is not possible to alter HOME position or HOLD position via MSP.
It would require some updates for I2C device software and multiwii software.
I don't think it's complicated, but it's not yet available.

So currently only SERIAL GPS device can be used for this purpose.

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: Odp: MultiWii EZ-GUI

Post by ezio »

Alexinparis wrote:
Geebles wrote:Again, I can't see where it is sending the new home position to the I2C module.. It looks to me (not expert in code) that it is just telling the I2C_GPS to navigate to waypoint 0 (home) but not actually setting it. I'm using the code with "March 2013 V2.2" in the header, can't find a patch/build number.. it was the stable from a week ago.


Hi,

I think you're right.
Currently, with an I2C GPS, it is not possible to alter HOME position or HOLD position via MSP.
It would require some updates for I2C device software and multiwii software.
I don't think it's complicated, but it's not yet available.

So currently only SERIAL GPS device can be used for this purpose.


but as I remember it worked in pre 2.2

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: MultiWii EZ-GUI

Post by ezio »

could someone explain what these commands are used for ?

#define MSP_SERVO_CONF 120 //out message Servo settings
#define MSP_MISC_CONF 121 //out message minthrottle,maxthrottle,mincommand,midrc,Vbat Only prepared

#define MSP_SET_SERVO_CONF 212 //in message Servo settings
#define MSP_SET_MISC_CONF 213 //in message minthrottle,maxthrottle,mincommand,midrc Only prepared
#define MSP_SET_MOTOR 214 //in message PropBalance function

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: Odp: MultiWii EZ-GUI

Post by ezio »

stolken wrote:
stolken wrote:
Salut ezio,
Je crois que tu as raté ma question :P J'aimerai vraiment utiliser ton appli avec ma carte microwii (base Arduino Leonardo)
J'ai trouvé cette librairie : https://code.google.com/p/usb-serial-for-android/

Qu'en penses tu ?


Hi
I can read and speak in French but writing is way beyond my brain capabilities so I stick to English.
I was on short vacations so I can't give you a full answer.
I will look at this link shortly and I will let you know.
But first I have to finish Dashboard 3

Bart

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: MultiWii EZ-GUI

Post by ezio »

doppler wrote:A request.

I've run into a situation today where my quad is yawing counter-clockwise for reasons I can't fathom. I tried turning on logging, using MultiWii EZ-GUI, but only to find, radio and motors numbers are not included in the logs. Please can we have this?

Thanks
Andrew

EDIT: Also ARM'ed status would be helpful too!



Maybe in next month. I'm quite busy now

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: MultiWii EZ-GUI

Post by ezio »

Prikupets wrote:Hello,
I was in kind of trap - EZ-GUI does not run on my Android 2.1 phone.
So, I modified it slightly. Now it requires Android 2.1+, but lost FDTI connectivity and Sherlock theme.
Author credits were not changed, and program will not go to markets.
If somebody needs it, look here: http://andrey-prikupets-projects.googlecode.com/
Direct download: http://andrey-prikupets-projects.google ... master.rar


great thanks.
Could you let me know what you had to change ?

fryefryefrye
Posts: 57
Joined: Thu Apr 11, 2013 7:19 am

Re: MultiWii EZ-GUI

Post by fryefryefrye »

Hello ezio

I have finished the translate to "Chinese Simplified" on http://translate.spout.org

Can you add it to your app?

Do I need to export the file and send to you?

Very thanks for your work.

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: MultiWii EZ-GUI

Post by ezio »

fryefryefrye wrote:Hello ezio

I have finished the translate to "Chinese Simplified" on http://translate.spout.org

Can you add it to your app?

Do I need to export the file and send to you?

Very thanks for your work.


Thanks
I will add it in the next release.

fryefryefrye
Posts: 57
Joined: Thu Apr 11, 2013 7:19 am

Re: MultiWii EZ-GUI

Post by fryefryefrye »

Hello Ezio
Hello Alex

I have some suggestions about EZ GUI.

1) As the home position will be used as fallback, it should not be modified easily. But in the popup mean of map, “set as home” could be accidental hit. Can you move it to somewhere else? For example: a small button on the top left of the popup mean.

2) I’m using Bluetooth<->433Mhz <->MWC to implement the communication. I have to low down the baud rate to 9600 for a large range. But MWC serial protocol is an “ask and answer” mechanism. A lot of precious bandwidth was wasted in waiting.

Refresh rate for 100ms is impossible for 9600 baud rate. So I’m using 500 ms, it’s working. But I’m not satisfied with responses speed for the MWC states.

I have question for Ezio and Alex: Could we add a command, let MWC send its states continuously with a refresh rate? It will increase the performance of updating.

Prikupets
Posts: 2
Joined: Tue Apr 09, 2013 7:08 pm

Re: MultiWii EZ-GUI

Post by Prikupets »

ezio wrote:
Prikupets wrote:Hello,
I was in kind of trap - EZ-GUI does not run on my Android 2.1 phone.
So, I modified it

great thanks.
Could you let me know what you had to change ?

Mostly I removed any references to Sherlock (ICS-like) theme, i.e. SherlockActivity, SherlockActionBar etc. (if I remember those names correctly). Where is was needed, I changed them to standard Android classes. Also, I changed layout attributes to be acceptable for Android 2.1. FDTI support was removed, because there is no such drivers in 2.1.
Maybe I missed something (I've been adopting the application between midnight and 3am :shock: ), so please use compare tool to find all changes.
Thanks for the great app!

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: MultiWii EZ-GUI

Post by ezio »

I added new serial driver for devices like arduino uno and leonardo.
But I don't have a hardware to test it.
Please let me know if it works.
Bart

Jackuzy
Posts: 1
Joined: Fri Apr 19, 2013 8:52 am

Re: MultiWii EZ-GUI

Post by Jackuzy »

I tried yesterday arduino leonardo. It does work well. All the sensors and other things are showing. I don't know if it's buggy or not, i just tried it for couple of minutes but will test more later ;)

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: MultiWii EZ-GUI

Post by ezio »

Jackuzy wrote:I tried yesterday arduino leonardo. It does work well. All the sensors and other things are showing. I don't know if it's buggy or not, i just tried it for couple of minutes but will test more later ;)


great to hear

Bart

Alexinparis
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

Re: MultiWii EZ-GUI

Post by Alexinparis »

ezio wrote:could someone explain what these commands are used for ?

#define MSP_SERVO_CONF 120 //out message Servo settings
#define MSP_MISC_CONF 121 //out message minthrottle,maxthrottle,mincommand,midrc,Vbat Only prepared

#define MSP_SET_SERVO_CONF 212 //in message Servo settings
#define MSP_SET_MISC_CONF 213 //in message minthrottle,maxthrottle,mincommand,midrc Only prepared
#define MSP_SET_MOTOR 214 //in message PropBalance function


MSP_SERVO_CONF should be use to configure the servo in use (MIN/MAX/MID/direction or proportion)
no code currently use it.

MSP_MISC_CONF is used to make variable minthrottle,maxthrottle,mincommand,midrc,Vbat
it will probably be merged with MSP_MISC latter

the current implementation of MSP_SET_MOTOR is not stable to my mind. the purpose is to command the rotation speed of motor via MSP for instance for vibration tests purpose

Alexinparis
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

Re: MultiWii EZ-GUI

Post by Alexinparis »

fryefryefrye wrote:2) I’m using Bluetooth<->433Mhz <->MWC to implement the communication. I have to low down the baud rate to 9600 for a large range. But MWC serial protocol is an “ask and answer” mechanism. A lot of precious bandwidth was wasted in waiting.

Refresh rate for 100ms is impossible for 9600 baud rate. So I’m using 500 ms, it’s working. But I’m not satisfied with responses speed for the MWC states.

I have question for Ezio and Alex: Could we add a command, let MWC send its states continuously with a refresh rate? It will increase the performance of updating.


The current implementation is ask and answer but the answer is not needed to ask again, so you don't need to wait between several asks.
you can even group them is a single packet.

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: MultiWii EZ-GUI

Post by ezio »

Alexinparis wrote:
ezio wrote:could someone explain what these commands are used for ?

#define MSP_SERVO_CONF 120 //out message Servo settings
#define MSP_MISC_CONF 121 //out message minthrottle,maxthrottle,mincommand,midrc,Vbat Only prepared

#define MSP_SET_SERVO_CONF 212 //in message Servo settings
#define MSP_SET_MISC_CONF 213 //in message minthrottle,maxthrottle,mincommand,midrc Only prepared
#define MSP_SET_MOTOR 214 //in message PropBalance function


MSP_SERVO_CONF should be use to configure the servo in use (MIN/MAX/MID/direction or proportion)
no code currently use it.

MSP_MISC_CONF is used to make variable minthrottle,maxthrottle,mincommand,midrc,Vbat
it will probably be merged with MSP_MISC latter

the current implementation of MSP_SET_MOTOR is not stable to my mind. the purpose is to command the rotation speed of motor via MSP for instance for vibration tests purpose


thanks.
I have already implemented it in the same way as MultiWiiConf.

Bart

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: MultiWii EZ-GUI

Post by ezio »

Today when I was flying I noticed strange thing.
Distance to home in my app was always equals 0
I have I2C GPS and the MultiWii version was r1411.
I'm pretty sure that it worked before.
Also when I set the Home position, it was displayed on the map correctly (it is pulled from MultiWii) but quad returns to its original Home position.
Can anybody confirm this ?
Bart

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: MultiWii EZ-GUI

Post by ezio »

ezio wrote:
doppler wrote:A request.

I've run into a situation today where my quad is yawing counter-clockwise for reasons I can't fathom. I tried turning on logging, using MultiWii EZ-GUI, but only to find, radio and motors numbers are not included in the logs. Please can we have this?

Thanks
Andrew

EDIT: Also ARM'ed status would be helpful too!



Maybe in next month. I'm quite busy now


Done!

doppler
Posts: 64
Joined: Wed Sep 26, 2012 1:35 pm

Re: MultiWii EZ-GUI

Post by doppler »

Awesome, thanks so much!

ssatorugm
Posts: 7
Joined: Thu Aug 23, 2012 1:05 am

FrSky i/f working?

Post by ssatorugm »

Hi ezio,

Thank you so much for your effort on very nice tool.

I am not sure I can ask about FrSky connection here, but EZ GUI stopped working with FrSky for some time. Last time it worked fine on March 23rd, but EZ GUI does not show any FrSky value (including RSSI) now. Is it only me?

I confirm BT connection with Tx is working (other FrSky tool FrSky Dashboard works ok.) RSSI value should be available in telemetry packet regardless MultiWii 'hub' sends data or not. FrSky menu shows no data, RSSIs, A1, A2, HubErr = 0, show 1 line 'Debug' message. I am wondering there are any change around the time serial driver is added.

Thanks!

Satoru

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: FrSky i/f working?

Post by ezio »

ssatorugm wrote:Hi ezio,

Thank you so much for your effort on very nice tool.

I am not sure I can ask about FrSky connection here, but EZ GUI stopped working with FrSky for some time. Last time it worked fine on March 23rd, but EZ GUI does not show any FrSky value (including RSSI) now. Is it only me?

I confirm BT connection with Tx is working (other FrSky tool FrSky Dashboard works ok.) RSSI value should be available in telemetry packet regardless MultiWii 'hub' sends data or not. FrSky menu shows no data, RSSIs, A1, A2, HubErr = 0, show 1 line 'Debug' message. I am wondering there are any change around the time serial driver is added.

Thanks!

Satoru


Yes, you are right !

It will be fixed in next 12h.

Bart

ssatorugm
Posts: 7
Joined: Thu Aug 23, 2012 1:05 am

Re: MultiWii EZ-GUI

Post by ssatorugm »

Thank you so much, Bart! I will wait for fix. (Last night update did not solve, if it was. Freezes when connected to FrSky.)

Satoru

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Odp: MultiWii EZ-GUI

Post by ezio »

ssatorugm wrote:Thank you so much, Bart! I will wait for fix. (Last night update did not solve, if it was. Freezes when connected to FrSky.)

Satoru

Strange.
Mine works.
I'll look at it today.
Bart

ssatorugm
Posts: 7
Joined: Thu Aug 23, 2012 1:05 am

Re: MultiWii EZ-GUI

Post by ssatorugm »

Thanks for your help again. I happened to have old version (2012, around the time Dashboard 2 became scalable) on my other Android and it worked ok with current config. But current update freezes after connected to FrSky BT.

Satoru

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Odp: MultiWii EZ-GUI

Post by ezio »

ssatorugm wrote:Thanks for your help again. I happened to have old version (2012, around the time Dashboard 2 became scalable) on my other Android and it worked ok with current config. But current update freezes after connected to FrSky BT.

Satoru

Have you set first check box in config?

ssatorugm
Posts: 7
Joined: Thu Aug 23, 2012 1:05 am

Re: Odp: MultiWii EZ-GUI

Post by ssatorugm »

Yes, I have set 'Use data from Frsky everywhere' checkbox in config.

Cleared program data and uninstalled EZ GUI, installed again. Select FrSky BT, check the box, exit config. Hit 'FRSKY CONNECT' after Frsky Tx and Rx is connected, then program does not respond after 'Connected' message appears on screen, then Android message 'program not responding' appears to exit the program. I can see BT adapter is connected (LED blink stops).

Thanks.

Satoru
ezio wrote:Have you set first check box in config?

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: Odp: MultiWii EZ-GUI

Post by ezio »

ssatorugm wrote:Yes, I have set 'Use data from Frsky everywhere' checkbox in config.

Cleared program data and uninstalled EZ GUI, installed again. Select FrSky BT, check the box, exit config. Hit 'FRSKY CONNECT' after Frsky Tx and Rx is connected, then program does not respond after 'Connected' message appears on screen, then Android message 'program not responding' appears to exit the program. I can see BT adapter is connected (LED blink stops).

Thanks.

Satoru
ezio wrote:Have you set first check box in config?


Finally, probably I was able to fix it.
Bart

User avatar
ezio
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris
Contact:

Re: Odp: MultiWii EZ-GUI

Post by ezio »

Hi
Could you check this version https://dl.dropboxusercontent.com/u/805 ... iEZGUI.apk
If it works correctly I will publish it next week.

Bart

ssatorugm
Posts: 7
Joined: Thu Aug 23, 2012 1:05 am

Re: MultiWii EZ-GUI

Post by ssatorugm »

It is working fine now! Thank you so much for your help.
EZ GUI is a great tool. Having fun with waypoint setting with extended BT connection (working fine on 2560 board including follow-me). Frsky connection is reliable long range telemetry for non FPV flyer like me.

Thanks!

Satoru
Screenshot_2013-05-03-21-17-19s.png

flyrobot
Posts: 73
Joined: Thu Apr 05, 2012 3:59 pm

Re: MultiWii EZ-GUI

Post by flyrobot »

Hi Ezio,

How to make change the map into satelite map at dashboard 3 ?

Thanks,

John

Post Reply