WinGUI 2.3 error
-
- Posts: 26
- Joined: Wed Jun 24, 2015 2:41 pm
WinGUI 2.3 error
Anybody come across this error and know what the issue is, I've tried downloading a fresh copy and reinstalled all the runtime software for the program. Tried connecting via FTDI and through the 3DR Tel link, and get the same error, the lights on the chips light up like its communicating so I'm at a loss, the normal config software works just fine, I just want to be able to program in a course for it to fly.
Any help is appreciated.
I'm using multiwii code v2.3, and crius multiwii MWC FC 2.5 board, with I2C GPS, and a 3DR Radio.
Any help is appreciated.
I'm using multiwii code v2.3, and crius multiwii MWC FC 2.5 board, with I2C GPS, and a 3DR Radio.
-
- Posts: 234
- Joined: Wed Dec 24, 2014 1:20 am
- Location: ......
Re: WinGUI 2.3 error
.
Last edited by FengShuiDrone on Fri Aug 07, 2015 1:48 am, edited 1 time in total.
Re: WinGUI 2.3 error
You can try mwii 2.4 but ensure to edit in multiwii.h the line:
#define VERSION 230 instead of 240
i'm using this and winGui is running OK.
#define VERSION 230 instead of 240
i'm using this and winGui is running OK.
-
- Posts: 234
- Joined: Wed Dec 24, 2014 1:20 am
- Location: ......
Re: WinGUI 2.3 error
.
Last edited by FengShuiDrone on Fri Aug 07, 2015 1:49 am, edited 1 time in total.
-
- Posts: 26
- Joined: Wed Jun 24, 2015 2:41 pm
Re: WinGUI 2.3 error
I dont have that entry in my Multiwii.h code. Below is mine, I'm still new to the multiwii code, so please forgive my ignorance here.
Code: Select all
#ifndef MULTIWII_H_
#define MULTIWII_H_
#define VERSION 230
#include "types.h"
// default POSHOLD control gains
#define POSHOLD_P .11
#define POSHOLD_I 0.0
#define POSHOLD_IMAX 20 // degrees
#define POSHOLD_RATE_P 2.0
#define POSHOLD_RATE_I 0.08 // Wind control
#define POSHOLD_RATE_D 0.045 // try 2 or 3 for POSHOLD_RATE 1
#define POSHOLD_RATE_IMAX 20 // degrees
// default Navigation PID gains
#define NAV_P 1.4
#define NAV_I 0.20 // Wind control
#define NAV_D 0.08 //
#define NAV_IMAX 20 // degrees
#define MINCHECK 1100
#define MAXCHECK 1900
extern volatile unsigned long timer0_overflow_count;
extern const char pidnames[];
extern const char boxnames[];
extern const uint8_t boxids[];
extern uint32_t currentTime;
extern uint16_t previousTime;
extern uint16_t cycleTime;
extern uint16_t calibratingA;
extern uint16_t calibratingB;
extern uint16_t calibratingG;
extern int16_t magHold,headFreeModeHold;
extern uint8_t vbatMin;
extern uint8_t rcOptions[CHECKBOXITEMS];
extern int32_t AltHold;
extern int16_t sonarAlt;
extern int16_t BaroPID;
extern int16_t errorAltitudeI;
extern int16_t i2c_errors_count;
extern uint8_t alarmArray[16];
extern global_conf_t global_conf;
extern imu_t imu;
extern analog_t analog;
extern alt_t alt;
extern att_t att;
#ifdef LOG_PERMANENT
extern plog_t plog;
#endif
extern int16_t debug[4];
extern conf_t conf;
extern int16_t annex650_overrun_count;
extern flags_struct_t f;
extern uint16_t intPowerTrigger1;
extern int16_t gyroZero[3];
extern int16_t angle[2];
#if BARO
extern int32_t baroPressure;
extern int32_t baroTemperature;
extern int32_t baroPressureSum;
#endif
extern int16_t axisPID[3];
extern int16_t motor[8];
extern int16_t servo[8];
extern int16_t failsafeEvents;
extern volatile int16_t failsafeCnt;
extern int16_t rcData[RC_CHANS];
extern int16_t rcSerial[8];
extern int16_t rcCommand[4];
extern uint8_t rcSerialCount;
extern int16_t lookupPitchRollRC[5];
extern int16_t lookupThrottleRC[11];
#if defined(POWERMETER) || ( defined(LOG_VALUES) && (LOG_VALUES >= 3) )
#define PMOTOR_SUM 8 // index into pMeter[] for sum
extern uint32_t pMeter[PMOTOR_SUM + 1]; // we use [0:7] for eight motors,one extra for sum
extern uint8_t pMeterV; // dummy to satisfy the paramStruct logic in ConfigurationLoop()
extern uint32_t pAlarm; // we scale the eeprom value from [0:255] to this value we can directly compare to the sum in pMeter[6]
extern uint16_t powerValue; // last known current
#endif
#if defined(LCD_TELEMETRY)
extern uint8_t telemetry;
extern uint8_t telemetry_auto;
#endif
#ifdef LCD_TELEMETRY_STEP
extern char telemetryStepSequence[];
extern uint8_t telemetryStepIndex;
#endif
#if defined(LOG_VALUES) || defined(LCD_TELEMETRY)
extern uint16_t cycleTimeMax; // highest ever cycle timen
extern uint16_t cycleTimeMin; // lowest ever cycle timen
extern int32_t BAROaltMax; // maximum value
extern uint16_t GPS_speedMax; // maximum speed from gps
extern uint16_t powerValueMaxMAH;
#endif
#if defined(LOG_VALUES) || defined(LCD_TELEMETRY) || defined(ARMEDTIMEWARNING) || defined(LOG_PERMANENT)
extern uint32_t armedTime;
#endif
// **********************
// GPS common variables
// **********************
extern int16_t GPS_angle[2]; // the angles that must be applied for GPS correction
extern int32_t GPS_coord[2];
extern int32_t GPS_home[2];
extern int32_t GPS_hold[2];
extern uint8_t GPS_numSat;
extern uint16_t GPS_distanceToHome; // distance to home - unit: meter
extern int16_t GPS_directionToHome; // direction to home - unit: degree
extern uint16_t GPS_altitude; // GPS altitude - unit: meter
extern uint16_t GPS_speed; // GPS speed - unit: cm/s
extern uint8_t GPS_update; // a binary toogle to distinct a GPS position update
extern uint16_t GPS_ground_course; // - unit: degree*10
extern uint8_t GPS_Present; // Checksum from Gps serial
extern uint8_t GPS_Enable;
#define LAT 0
#define LON 1
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Serial GPS only variables
//navigation mode
#define NAV_MODE_NONE 0
#define NAV_MODE_POSHOLD 1
#define NAV_MODE_WP 2
extern uint8_t nav_mode; // Navigation mode
extern int16_t nav[2];
extern int16_t nav_rated[2]; //Adding a rate controller to the navigation to make it smoother
// default POSHOLD control gains
#define POSHOLD_P .11
#define POSHOLD_I 0.0
#define POSHOLD_IMAX 20 // degrees
#define POSHOLD_RATE_P 2.0
#define POSHOLD_RATE_I 0.08 // Wind control
#define POSHOLD_RATE_D 0.045 // try 2 or 3 for POSHOLD_RATE 1
#define POSHOLD_RATE_IMAX 20 // degrees
// default Navigation PID gains
#define NAV_P 1.4
#define NAV_I 0.20 // Wind control
#define NAV_D 0.08 //
#define NAV_IMAX 20 // degrees
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Serial GPS only variables
//navigation mode
#define NAV_MODE_NONE 0
#define NAV_MODE_POSHOLD 1
#define NAV_MODE_WP 2
extern volatile uint8_t spekFrameFlags;
extern volatile uint32_t spekTimeLast;
#if defined(OPENLRSv2MULTI)
extern uint8_t pot_P,pot_I; // OpenLRS onboard potentiometers for P and I trim or other usages
#endif
// **********************
//Automatic ACC Offset Calibration
// **********************
#if defined(INFLIGHT_ACC_CALIBRATION)
extern uint16_t InflightcalibratingA;
extern int16_t AccInflightCalibrationArmed;
extern uint16_t AccInflightCalibrationMeasurementDone;
extern uint16_t AccInflightCalibrationSavetoEEProm;
extern uint16_t AccInflightCalibrationActive;
#endif
#if defined(ARMEDTIMEWARNING)
extern uint32_t ArmedTimeWarningMicroSeconds;
#endif
#if defined(THROTTLE_ANGLE_CORRECTION)
extern int16_t throttleAngleCorrection;
extern int8_t cosZ;
#endif
void annexCode();
#endif /* MULTIWII_H_ */
-
- Posts: 234
- Joined: Wed Dec 24, 2014 1:20 am
- Location: ......
Re: WinGUI 2.3 error
.
Last edited by FengShuiDrone on Fri Aug 07, 2015 1:49 am, edited 1 time in total.
-
- Posts: 26
- Joined: Wed Jun 24, 2015 2:41 pm
Re: WinGUI 2.3 error
Is there a different version of the GUI for Navigation? I've tried searching for them, but always get the same one pictured above.
-
- Posts: 26
- Joined: Wed Jun 24, 2015 2:41 pm
Re: WinGUI 2.3 error
Well progress check, got the code to fit the cirus MWC 2.5 fc, had to disable the settings tab under memory savings, just checking but if I don't use an OLD display, then the settings tab is basically useless anyways right?
Code: Select all
/********************************************************************/
/**** Memory savings ****/
/********************************************************************/
/* options to counter the general shortage of both flash and ram memory, like with leonardo m32u4 and others */
/**** suppress handling of serial commands.***
* This does _not_ affect handling of RXserial, Spektrum or GPS. Those will not be affected and still work the same.
* Enable either one or both of the following options */
/* Remove handling of all commands of the New MultiWii Serial Protocol.
* This will disable use of the GUI, winGUI, android apps and any other program that makes use of the MSP.
* You must find another way (like LCD_CONF) to tune the parameters or live with the defaults.
* If you run a LCD/OLED via i2c or serial/Bluetooth, this is safe to use */
//#define SUPPRESS_ALL_SERIAL_MSP // saves approx 2700 bytes
/* Remove handling of other serial commands.
* This includes navigating via serial the lcd.configuration menu, lcd.telemetry and permanent.log .
* Navigating via stick inputs on tx is not affected and will work the same. */
//#define SUPPRESS_OTHER_SERIAL_COMMANDS // saves approx 0 to 100 bytes, depending on features enabled
/**** suppress keeping the defaults for initial setup and reset in the code.
* This requires a manual initial setup of the PIDs etc. or load and write from defaults.mwi;
* reset in GUI will not work on PIDs
*/
//#define SUPPRESS_DEFAULTS_FROM_GUI
#define DISABLE_SETTINGS_TAB // Saves ~400bytes on ProMini
-
- Posts: 234
- Joined: Wed Dec 24, 2014 1:20 am
- Location: ......
Re: WinGUI 2.3 error
.
Last edited by FengShuiDrone on Fri Aug 07, 2015 1:50 am, edited 2 times in total.
-
- Posts: 234
- Joined: Wed Dec 24, 2014 1:20 am
- Location: ......
Re: WinGUI 2.3 error
.
Last edited by FengShuiDrone on Fri Aug 07, 2015 1:50 am, edited 1 time in total.
-
- Posts: 26
- Joined: Wed Jun 24, 2015 2:41 pm
Re: WinGUI 2.3 error
Ha! Yeah I just changed over the Arduino to reflect the Mega 2560 found on that board, and the code only takes up 12% of the memory when the 328p used up 98%.
I do have a few questions though, sense I only bought the main FC, are all the components that would work with the 328p work for the Mega 2560 as well? Such as the Ublox GPS, I've read that you do not need the I2C board anymore with this FC and you just plug the GPS directly in? Any pointers to help a newb out are greatly appreciated haha.
I do have a few questions though, sense I only bought the main FC, are all the components that would work with the 328p work for the Mega 2560 as well? Such as the Ublox GPS, I've read that you do not need the I2C board anymore with this FC and you just plug the GPS directly in? Any pointers to help a newb out are greatly appreciated haha.