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

Re: MultiWii EZ-GUI

Postby Blasterke » Mon Apr 01, 2013 9:43 am

Your phone runs macosx? :) this software is meant for mobile phones with android. You can use the original multiwiiconf on your mac.
Blasterke
 
Posts: 3
Joined: Sun Feb 17, 2013 9:31 am

Odp: MultiWii EZ-GUI

Postby ezio » Mon Apr 01, 2013 10:55 am

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
ezio
 
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris

Re: MultiWii EZ-GUI

Postby alll » Mon Apr 01, 2013 4:37 pm

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.
User avatar
alll
 
Posts: 220
Joined: Fri Dec 07, 2012 9:53 am

Re: MultiWii EZ-GUI

Postby mahowik » Mon Apr 01, 2013 4:58 pm

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...
mahowik
 
Posts: 331
Joined: Sun Apr 10, 2011 6:26 pm

Re: MultiWii EZ-GUI

Postby nhadrian » Mon Apr 01, 2013 5:11 pm

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.
nhadrian
 
Posts: 421
Joined: Tue Oct 25, 2011 9:25 am

Re: MultiWii EZ-GUI

Postby mahowik » Mon Apr 01, 2013 5:27 pm

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...
mahowik
 
Posts: 331
Joined: Sun Apr 10, 2011 6:26 pm

Re: MultiWii EZ-GUI

Postby nhadrian » Mon Apr 01, 2013 5:38 pm

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
nhadrian
 
Posts: 421
Joined: Tue Oct 25, 2011 9:25 am

Odp: MultiWii EZ-GUI

Postby ezio » Tue Apr 02, 2013 10:17 am

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
User avatar
ezio
 
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris

Re: Odp: MultiWii EZ-GUI

Postby nhadrian » Fri Apr 05, 2013 5:17 am

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
nhadrian
 
Posts: 421
Joined: Tue Oct 25, 2011 9:25 am

Re: MultiWii EZ-GUI

Postby stolken » Sat Apr 06, 2013 10:35 pm

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 ?
stolken
 
Posts: 4
Joined: Sat Apr 06, 2013 10:32 pm

Odp: MultiWii EZ-GUI

Postby ezio » Sun Apr 07, 2013 9:36 am

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.
User avatar
ezio
 
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris

Re: Odp: MultiWii EZ-GUI

Postby stolken » Sun Apr 07, 2013 3:55 pm

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 ?
stolken
 
Posts: 4
Joined: Sat Apr 06, 2013 10:32 pm

Re: MultiWii EZ-GUI

Postby Geebles » Sun Apr 07, 2013 6:44 pm

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
Geebles
 
Posts: 24
Joined: Sat Jan 26, 2013 2:23 am

Re: MultiWii EZ-GUI

Postby jrt4fun » Mon Apr 08, 2013 8:23 am

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,
jrt4fun
 
Posts: 11
Joined: Fri Mar 16, 2012 2:37 pm

Odp: MultiWii EZ-GUI

Postby ezio » Mon Apr 08, 2013 9:16 am

Setting home position should work with GPS i2c.
User avatar
ezio
 
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris

Re: Odp: MultiWii EZ-GUI

Postby Geebles » Mon Apr 08, 2013 1:39 pm

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
Geebles
 
Posts: 24
Joined: Sat Jan 26, 2013 2:23 am

Odp: MultiWii EZ-GUI

Postby ezio » Mon Apr 08, 2013 3:22 pm

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
User avatar
ezio
 
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris

Re: Odp: MultiWii EZ-GUI

Postby stolken » Mon Apr 08, 2013 10:12 pm

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 ?
stolken
 
Posts: 4
Joined: Sat Apr 06, 2013 10:32 pm

Re: MultiWii EZ-GUI

Postby doppler » Tue Apr 09, 2013 1:43 am

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!
doppler
 
Posts: 64
Joined: Wed Sep 26, 2012 1:35 pm

Re: MultiWii EZ-GUI

Postby Prikupets » Tue Apr 09, 2013 7:20 pm

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
Prikupets
 
Posts: 2
Joined: Tue Apr 09, 2013 7:08 pm

Re: Odp: MultiWii EZ-GUI

Postby Alexinparis » Tue Apr 09, 2013 8:13 pm

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.
Alexinparis
 
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

Re: Odp: MultiWii EZ-GUI

Postby ezio » Wed Apr 10, 2013 3:15 pm

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

Re: MultiWii EZ-GUI

Postby ezio » Wed Apr 10, 2013 3:19 pm

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

Re: Odp: MultiWii EZ-GUI

Postby ezio » Wed Apr 10, 2013 3:25 pm

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

Re: MultiWii EZ-GUI

Postby ezio » Wed Apr 10, 2013 4:03 pm

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

Re: MultiWii EZ-GUI

Postby ezio » Wed Apr 10, 2013 4:06 pm

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 ?
User avatar
ezio
 
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris

Re: MultiWii EZ-GUI

Postby fryefryefrye » Thu Apr 11, 2013 9:51 am

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.
fryefryefrye
 
Posts: 57
Joined: Thu Apr 11, 2013 7:19 am

Re: MultiWii EZ-GUI

Postby ezio » Fri Apr 12, 2013 1:38 am

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.
User avatar
ezio
 
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris

Re: MultiWii EZ-GUI

Postby fryefryefrye » Fri Apr 12, 2013 4:00 am

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.
fryefryefrye
 
Posts: 57
Joined: Thu Apr 11, 2013 7:19 am

Re: MultiWii EZ-GUI

Postby Prikupets » Fri Apr 12, 2013 6:27 am

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!
Prikupets
 
Posts: 2
Joined: Tue Apr 09, 2013 7:08 pm

Re: MultiWii EZ-GUI

Postby ezio » Mon Apr 15, 2013 2:01 am

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
User avatar
ezio
 
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris

Re: MultiWii EZ-GUI

Postby Jackuzy » Fri Apr 19, 2013 8:57 am

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 ;)
Jackuzy
 
Posts: 1
Joined: Fri Apr 19, 2013 8:52 am

Re: MultiWii EZ-GUI

Postby ezio » Sat Apr 20, 2013 12:37 am

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
User avatar
ezio
 
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris

Re: MultiWii EZ-GUI

Postby Alexinparis » Sun Apr 21, 2013 11:12 pm

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

Postby Alexinparis » Sun Apr 21, 2013 11:15 pm

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.
Alexinparis
 
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

Re: MultiWii EZ-GUI

Postby ezio » Sun Apr 21, 2013 11:23 pm

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

Re: MultiWii EZ-GUI

Postby ezio » Sun Apr 21, 2013 11:40 pm

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

Re: MultiWii EZ-GUI

Postby ezio » Fri Apr 26, 2013 12:34 am

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!
User avatar
ezio
 
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris

Re: MultiWii EZ-GUI

Postby doppler » Fri Apr 26, 2013 2:30 am

Awesome, thanks so much!
doppler
 
Posts: 64
Joined: Wed Sep 26, 2012 1:35 pm

FrSky i/f working?

Postby ssatorugm » Tue Apr 30, 2013 3:00 pm

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
ssatorugm
 
Posts: 7
Joined: Thu Aug 23, 2012 1:05 am

Re: FrSky i/f working?

Postby ezio » Tue Apr 30, 2013 10:01 pm

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
User avatar
ezio
 
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris

Re: MultiWii EZ-GUI

Postby ssatorugm » Wed May 01, 2013 2:09 pm

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
ssatorugm
 
Posts: 7
Joined: Thu Aug 23, 2012 1:05 am

Odp: MultiWii EZ-GUI

Postby ezio » Wed May 01, 2013 4:45 pm

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
User avatar
ezio
 
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris

Re: MultiWii EZ-GUI

Postby ssatorugm » Thu May 02, 2013 6:11 am

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
ssatorugm
 
Posts: 7
Joined: Thu Aug 23, 2012 1:05 am

Odp: MultiWii EZ-GUI

Postby ezio » Thu May 02, 2013 6:22 am

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?
User avatar
ezio
 
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris

Re: Odp: MultiWii EZ-GUI

Postby ssatorugm » Thu May 02, 2013 1:52 pm

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?
ssatorugm
 
Posts: 7
Joined: Thu Aug 23, 2012 1:05 am

Re: Odp: MultiWii EZ-GUI

Postby ezio » Fri May 03, 2013 12:36 am

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

Re: Odp: MultiWii EZ-GUI

Postby ezio » Fri May 03, 2013 2:20 am

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
User avatar
ezio
 
Posts: 827
Joined: Sun Apr 01, 2012 11:03 pm
Location: Paris

Re: MultiWii EZ-GUI

Postby ssatorugm » Fri May 03, 2013 2:23 pm

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
ssatorugm
 
Posts: 7
Joined: Thu Aug 23, 2012 1:05 am

Re: MultiWii EZ-GUI

Postby flyrobot » Fri May 03, 2013 4:40 pm

Hi Ezio,

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

Thanks,

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

PreviousNext

Return to Software development

Who is online

Users browsing this forum: No registered users and 1 guest