Search found 286 matches

by kos
Mon Apr 30, 2012 3:34 pm
Forum: Software development
Topic: Change GUI serial speed - help needed
Replies: 4
Views: 1622

Re: Change GUI serial speed - help needed

since I'm using MAC OS (as I wrote previously), I'm running the mac application not the .exe! BTW, I'm trying to check this solution. update: I downloaded processing, controlP5 library, made the folder strusture for controlP5. Then, I get the attached error message..... any ide? m http://www.multiw...
by kos
Mon Apr 30, 2012 3:05 pm
Forum: Getting Started - MultiWii config and setup
Topic: MultiWii 2.0 GUI seems to crash/dump on me
Replies: 15
Views: 6703

Re: MultiWii 2.0 GUI seems to crash/dump on me

bill516 wrote:A help me file would be a great addition to this piece of software or 'mouse over' would bring up an item display to tell you what it is. Dont know if you can do that with this software I know you can in VB.

http://docs.oracle.com/javase/tutorial/ ... oltip.html
by kos
Sun Apr 29, 2012 11:41 am
Forum: Software development
Topic: Bug in the code of the ADXL345
Replies: 65
Views: 23597

Re: Bug in the code of the ADXL345

dividing acc influence by 8 ?
by kos
Sun Apr 29, 2012 10:08 am
Forum: Ideas
Topic: MAVLink protocol
Replies: 21
Views: 19962

Re: MAVLink protocol

i have setup a little project to send and forward mwi data over MAVLink protocol , here are the source : m for the moment : read raw imu ,attitude, rc data , etc ... display HUD and roll/pitch angle over video feed , etc , etc .. readonly a short test video http://www.multiwii.com/forum/viewtopic.ph...
by kos
Sat Apr 28, 2012 11:21 pm
Forum: Connecting elements
Topic: Controlling without a standard transmitter?
Replies: 8
Views: 3852

Re: Controlling without a standard transmitter?

So I have been implementing the multiwii code on a custom quadcopter for a school project. .. the code I quoted can be found in the source code you said you ported i suggest your read the code again .. and search for the quoted strings in the code , rtfm http://www.multiwii.com/forum/viewtopic.php?...
by kos
Sat Apr 28, 2012 9:24 pm
Forum: Connecting elements
Topic: Controlling without a standard transmitter?
Replies: 8
Views: 3852

Re: Controlling without a standard transmitter?

rcdata[i] can range from 1000 to 2000 ... 1500 being the input with stick at neutral .. this is the user input.

it then converted into servo or motor command .
by kos
Sat Apr 28, 2012 8:58 pm
Forum: Connecting elements
Topic: Controlling without a standard transmitter?
Replies: 8
Views: 3852

Re: Controlling without a standard transmitter?

short story : put your value in rcData (have a look at computeRc) you can populate the rcdata by reading from i2c (fast) or from a serial uart (in annexCode) with the existing code switch (sr = SerialRead(0)) { #ifdef BTSERIAL case 'K': //receive RC data from Bluetooth Serial adapter as a remote rcD...
by kos
Sat Apr 28, 2012 7:17 am
Forum: Ideas
Topic: MAVLink protocol
Replies: 21
Views: 19962

Re: MAVLink protocol

mwi gyro reading with mavlink and qgroundcontrol

:geek:
by kos
Fri Apr 27, 2012 11:21 pm
Forum: Software development
Topic: baro/sonar automatic landing failsafe
Replies: 15
Views: 9109

Re: baro/sonar automatic landing failsafe

to me this altitude hold and position hold , then return to home , then autolanding .. cool but : remove the gps , will it still work .. ? set initial input to full throttle , will it still work ? for those who know about workflow pattern [1], what do you think about describing Flight Process Manage...
by kos
Thu Apr 26, 2012 3:53 pm
Forum: Software development
Topic: New Multiwii Serial Protocol
Replies: 409
Views: 219672

Re: New Multiwii Serial Protocol

i am unable to connect to mwc using the new serial protocol from MultiWii_dev_20120414.zip, witjout any modification .. i try with the gui , with the arduino ide console , with some python code , i try with 8mhz , 16mhz 328p with a usb ftdi and with a direct omap uart , i even boot in a real windows...
by kos
Thu Apr 26, 2012 5:03 am
Forum: Ideas
Topic: Should we fork code for Mega2560?
Replies: 17
Views: 5963

Re: Should we fork code for Mega2560?

May be its the time to fade out AtMega328 if you want to have a quad flying with a brain you have to option : - port the multiwii source to a high level board [1] - connect a high level board to a working flight controler ..and in this case you want to avoid 5v ( 328p 8mhz,3.3v is great) an 328p ca...
by kos
Wed Apr 25, 2012 10:14 pm
Forum: Software development
Topic: baro/sonar automatic landing failsafe
Replies: 15
Views: 9109

Re: baro/sonar automatic landing failsafe

the main issue is "HowTo safely test the failsafe" ?

i think it is time for HIL :)
by kos
Wed Apr 25, 2012 4:04 am
Forum: Software development
Topic: MWC on 8MHz
Replies: 16
Views: 11741

Re: MWC on 8MHz

tested again with a 10dof from drotek , cycletime is ~4300, no noticeable impact while flying here is the latest news for 8mhz/3.3v support : everything is working ⋅ servo, guimbal ok ⋅ hex and octo ok patched files : ⋅ output : adjust timer/counter based on F_CPU &sdot...
by kos
Mon Apr 23, 2012 8:38 pm
Forum: Shields, boards and sensors
Topic: tricks for avoiding magnetometer interference ?
Replies: 22
Views: 17228

Re: tricks for avoiding magnetometer interference ?

if you really want to compensate you magnetic sensor , i do not think you will be able to do it on the fly or using your motor rpm to deduce a voltage to applies to a solenoid.. m http://myreckonings.com/wordpress/Images/MagneticDeviation/MagneticDeviationComponents.png but here is the procedure for...
by kos
Mon Apr 23, 2012 8:16 pm
Forum: General discussions
Topic: MultiWii Source, Math
Replies: 1
Views: 1282

Re: MultiWii Source, Math

FredMF wrote:What i'am looking for here is an tip, an hint, or some papers. About the math inside the multiwii.
.


the source : http://code.google.com/p/multiwii/sourc ... 2FMultiWii

FredMF wrote:I want to start by developing an simulator where i can punch the control code in..


unless your are a real code guru.. just use an existing simulator ;)


http://code.google.com/p/arducopter/wiki/QuadHil
http://aeroquad.com/showthread.php?4555 ... FlightGear
http://www.youtube.com/watch?v=ISiia1syhTM


have fun :geek:
by kos
Fri Apr 20, 2012 2:16 pm
Forum: Software development
Topic: baro/sonar automatic landing failsafe
Replies: 15
Views: 9109

Re: baro/sonar automatic landing failsafe

it only work if initialThrottle is near hovering throttle ( lets says +/- 100 to be safe) .. the clamp in the baroPID will not allow automatic baro/sonar landing if a full initial trohttle is applied . this could be use for autlanding but not for every failsafe condition, unless there is an initial ...
by kos
Thu Apr 19, 2012 10:37 am
Forum: Software development
Topic: baro/sonar automatic landing failsafe
Replies: 15
Views: 9109

Re: baro/sonar automatic landing failsafe

Only thing that will really helps - automatic finding hover throttle value on-the-fly. Because it is hard to set precise filesafe throttle level in config (and hard to re-configure after changing hardware configuration). It is not so hard if we have baro. I would realy like to have this working wit...
by kos
Tue Apr 17, 2012 9:19 pm
Forum: Software development
Topic: baro/sonar automatic landing failsafe
Replies: 15
Views: 9109

Re: baro/sonar automatic landing failover motor calibration

with default settings the copter must lose 35cm in less of 20 second .. or shit happens outdoor, high altitude and full initial throttle ..not ready yet so, here is the indoor testing video : m #define FAILSAVE_BARO_OFF_DELAY (FAILSAVE_OFF_DELAY+20) #define FAILSAVE_PID_STEP 0 #define FAILSAVE_ALT_S...
by kos
Tue Apr 17, 2012 8:39 am
Forum: Software development
Topic: baro/sonar automatic landing failsafe
Replies: 15
Views: 9109

Re: baro/sonar automatic landing failover motor calibration

go flying switch off your tx .. the only issue when you tx is off is drift control and by managing it in the code, the system is 'cleaner', no switches & wires going down the frame and landing gears... true One idea would be to read the Z Axis of the Accelerometer, it should return to 1G on tou...
by kos
Sat Apr 14, 2012 11:12 pm
Forum: ESCs, propellers , servos and radios
Topic: 12A ESC Turnigy Plush
Replies: 8
Views: 3111

Re: 12A ESC Turnigy Plush

i use 10A esc for my 1kg quad , but i guess this is motor dependent .. CF2822 can pull 16A on 3S ..
by kos
Sat Apr 14, 2012 9:53 am
Forum: Software development
Topic: Refactoring I2C code
Replies: 37
Views: 8057

Re: Refactoring I2C code

- +1 for 7bit -> move all sensors address to sensors.h - move i2c function to i2c.c and use nice wrapper ( one read == one call , one write == one call) porting mwi to linux using m //BMA180 int res = i2c_smbus_write_byte_data(i2cBus, 0x0D, 1<<4); // register: ctrl_reg0, : set bit ee_w to 1 to enabl...
by kos
Sat Apr 14, 2012 9:19 am
Forum: Software development
Topic: Drift problem in auto level mode
Replies: 35
Views: 11086

Re: Drift problem in auto level mode

1. If I change the quad's pitch, trought stick on Tx, then I put the stick on the center the level is regained but in a very very fast way (I used the PID values for Level suggested by shickra. the level is regain as fast as the internal spring of your tx get the stick back in center -> graduate th...
by kos
Thu Apr 12, 2012 2:55 pm
Forum: Frames
Topic: Y4 vs QuadX vs Quad+
Replies: 9
Views: 6255

Re: Y4 vs QuadX vs Quad+

tovrin wrote: nobody seems to have much to say.


http://diydrones.com/forum/topics/quad- ... cto-copter


big quad for me ..

next build will be a hexa with a vtail ( or an asctec falcon [1] clone )


1 : http://www.asctec.de/asctec-falcon-flugsystem/
by kos
Thu Apr 12, 2012 10:24 am
Forum: General discussions
Topic: Can't connect to GUI / board on Mac - any suggestions?
Replies: 4
Views: 4090

Re: Can't connect to GUI / board on Mac - any suggestions?

Is there another test I can run to make sure the FTDI serial board is working correctly? Any ideas? you should be able to use screen with the serial usb device .. $screen /dev/ttyUSB0 115200 then send the 'M' char to mimic the gui , you should get some byte back --- - verify that the ftdi voltage m...
by kos
Tue Apr 10, 2012 8:12 am
Forum: Software development
Topic: New Multiwii Serial Protocol
Replies: 409
Views: 219672

Re: New Multiwii Serial Protocol

typo ? $M < [code][data][checksum] 1 octet '$' 1 octet 'M' 1 octet '<' 1 octet [code] several octets [data] 1 octet [checksum] messages are formated like this: $M>[code][data][checksum] 1 octet '$' 1 octet 'M' 1 octet '>' 1 octet [code] several octets [data] 1 octet [checksum] '>' and '<' are human ...
by kos
Tue Apr 10, 2012 7:19 am
Forum: Software development
Topic: C oding wizzards?
Replies: 10
Views: 3016

Re: C oding wizzards?

your have circulare dep (1) in your define .. that can not work EEBLOCK_SIZE require eep_entry require checkNewConf require EEBLOCK_SIZE I understand the principles of circular dependencies in general. but the size of the struct would be independent from the value of checkNewConf; and the sizeof(ch...
by kos
Sun Apr 08, 2012 7:24 pm
Forum: MultiWii tweaking - flying experience
Topic: Trouble adjusting yaw PID values
Replies: 10
Views: 5823

Re: Trouble adjusting yaw PID values

Tommie wrote:I checked all motors, but everything looks fine to me


are motor 10 and 11 counter clock wise rotating ?
by kos
Sun Apr 08, 2012 12:31 pm
Forum: Shields, boards and sensors
Topic: Problem compiling 2.0 with new Drotek IMU
Replies: 5
Views: 2432

Re: Problem compiling 2.0 with new Drotek IMU

Drotek 10DOF .. in the main branch since Feb 24, 2012 m //#define DROTEK_10DOF // Drotek 10DOF with ITG3200, BMA180, HMC5883, BMP085, w or w/o LLC or //#define DROTEK_10DOF_MS // Drotek 10DOF with ITG3200, BMA180, HMC5883, MS5611, LLC #if defined(DROTEK_10DOF) || defined(DROTEK_10DOF_MS) #define ITG...
by kos
Sat Apr 07, 2012 10:27 pm
Forum: General discussions
Topic: A very strange problem...
Replies: 5
Views: 2198

Re: A very strange problem...

cestb wrote:Any idea, static electricity ?


bad solder joint or exposed wire .. ?
by kos
Fri Apr 06, 2012 5:35 am
Forum: Shields, boards and sensors
Topic: Problem compiling 2.0 with new Drotek IMU
Replies: 5
Views: 2432

Re: Problem compiling 2.0 with new Drotek IMU

suggestions at microcopters.de We are not divine creature , so it is hard to know what those suggestions are if you do not provide any hints .. as a quick hack , in file def.h change #if defined(HMC5883) || defined(HMC5843) || defined(AK8975) || defined(MAG3110) #define MAG 1 #else #define MAG 0 #e...
by kos
Thu Apr 05, 2012 3:27 am
Forum: Software development
Topic: C oding wizzards?
Replies: 10
Views: 3016

Re: C oding wizzards?

your have circulare dep (1) in your define .. that can not work EEBLOCK_SIZE require eep_entry require checkNewConf require EEBLOCK_SIZE #define EEBLOCK_SIZE sizeof(eep_entry)/sizeof(eep_entry_t) static uint8_t checkNewConf = 17 + EEBLOCK_SIZE; // ****************************************************...
by kos
Mon Apr 02, 2012 9:19 pm
Forum: Ideas
Topic: Attemp to integrate sonar (ultrasonic sensor)
Replies: 265
Views: 223899

Re: Attemp to integrate sonar (ultrasonic sensor)

and by managing it in the code, the system is 'cleaner', no switches & wires going down the frame and landing gears... there are still some cases where a mechanical switch is preferable ? - landing on a not so flat ground , Z Axis will not return 1g - crashed against a wall : as the copter fall...
by kos
Sat Mar 31, 2012 11:28 pm
Forum: Ideas
Topic: Attemp to integrate sonar (ultrasonic sensor)
Replies: 265
Views: 223899

Re: Attemp to integrate sonar (ultrasonic sensor)

This is great news and one step closer to auto landing in my opinion. thing that is still required is a 'switch' to be activated when all landing gears touch the ground .. i just realized there is two unused inputs (1) on the nunchuck that could be used for that purpose. 1 : m // groundContact() st...
by kos
Sat Mar 31, 2012 6:19 pm
Forum: Getting Started - MultiWii config and setup
Topic: MultiWii 2.0 GUI seems to crash/dump on me
Replies: 15
Views: 6703

Re: MultiWii 2.0 GUI seems to crash/dump on me

likwidchz wrote:Kos.. I'll say it again, I really like your gui you built!


i did write a java gui only for monitoring (and log), i did not release anything , there is a confusion here ;)

the link i provided is for mw-gui wich was written by EOSBandit and is .NET based
by kos
Sat Mar 31, 2012 3:59 pm
Forum: Software development
Topic: MultiWii 2.0 Acc - Nunchuck in flight bug
Replies: 12
Views: 7027

Re: MultiWii 2.0 Acc - Nunchuck in flight bug

.. average wind 25kmh, autolevel on , after 2/3 min of speed circles and lot of throttle input , the quad flown away with an quite high angle (20/30°) to the left ,constant stick input did not manage to regain level as for back drift issue , failsafe cause the quad to keep drifting away (upwind). do...
by kos
Sat Mar 31, 2012 3:27 pm
Forum: Getting Started - MultiWii config and setup
Topic: MultiWii 2.0 GUI seems to crash/dump on me
Replies: 15
Views: 6703

Re: MultiWii 2.0 GUI seems to crash/dump on me

the gui just work out of the box with windows xp sp 3 with java jre 7 . it also work out of the box for linux ..

edit : i did write a java monitoring app (based on jfreechart) but only moniroting .. you might consider using wingui (1) as an altnerative .

1 : http://code.google.com/p/mw-wingui/
by kos
Sat Mar 31, 2012 9:14 am
Forum: Getting Started - MultiWii config and setup
Topic: MultiWii 2.0 GUI seems to crash/dump on me
Replies: 15
Views: 6703

Re: MultiWii 2.0 GUI seems to crash/dump on me

edit the .bat located in the multiwiiconf directory and add the fallowing -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false should them be able to connect from a remote computer using jconsole (1) to see what is going ...
by kos
Thu Mar 29, 2012 11:06 am
Forum: Getting Started - MultiWii config and setup
Topic: Exact Definition of MINCOMMAND, MINTHROTTLE and MAXTHROTTLE
Replies: 23
Views: 19912

Re: Exact Definition of MINCOMMAND, MINTHROTTLE and MAXTHROT

Thank you for your Tipps, it seems to get more complicated then I thought. I agree with you, that there are safety Reasons to look at, I don't want to loose my Copter to the Sky because shaky Wind is causing Corrections whitch let the Copter go up and up and up... if we enable level at all time , w...
by kos
Thu Mar 29, 2012 10:16 am
Forum: Software development
Topic: mwc 2.0 ++
Replies: 25
Views: 8955

Re: mwc 2.0 ++

use Camel style (cycleTimeMax) or get an all capitals prefix for the realm like GPS_latitude ( I found BaroAlt difficult to identify, rather prefer BAROalt or BARO_alt) everything with underscore or all upercase is const or a define, it is ok to use upper case for acronym or short word [1] int GPSM...
by kos
Thu Mar 29, 2012 9:15 am
Forum: Software development
Topic: GPS integration
Replies: 1724
Views: 880156

Re: GPS integration

Hi, managed to get my old Globalsat BU-303 GPS mouse working on Flyduino Mega. this one.... m The PL-2303 USB-RS232 converter Brilliant - many thanks for all this. Iain if you want to use 10 years old gps , this hack also work with the bluetooth serie (bt 231 , 236 , 238 ..) this way you have a dir...
by kos
Wed Mar 28, 2012 10:48 pm
Forum: Frames
Topic: Centerplate Template Quadcopter
Replies: 2
Views: 3763

Re: Centerplate Template Quadcopter

if you also got some nice templates, it would be great if you share them hello, here is another template for a quad , the main constraints for me are : - allow crash without immediate breaking - big crash must cause minimal repair in case of a big crash arms are here to bend and standard m4 screw a...
by kos
Wed Mar 28, 2012 12:22 am
Forum: Getting Started - MultiWii config and setup
Topic: Exact Definition of MINCOMMAND, MINTHROTTLE and MAXTHROTTLE
Replies: 23
Views: 19912

Re: Exact Definition of MINCOMMAND, MINTHROTTLE and MAXTHROT

we set error angle to 0 (ie : no correction) only if your are not armed and not in safe fail mode .. thats should do the trick I don't understand: Why do you want no correction in failsafemode? let me reverse the statment : if we are in fail safe mode , we do not set the error angle to 0 the copter...
by kos
Tue Mar 27, 2012 11:24 pm
Forum: Getting Started - MultiWii config and setup
Topic: Exact Definition of MINCOMMAND, MINTHROTTLE and MAXTHROTTLE
Replies: 23
Views: 19912

Re: Exact Definition of MINCOMMAND, MINTHROTTLE and MAXTHROT

if (rcData[THROTTLE] < MINCHECK) { if ( ! armed && !(failsafeCnt > (5*FAILSAVE_DELAY)) ) { errorGyroI[ROLL] = 0; errorGyroI[PITCH] = 0; errorGyroI[YAW] = 0; errorAngleI[ROLL] = 0; errorAngleI[PITCH] = 0; } rcDelayCommand++;[/code] we set error angle to 0 (ie : no correction) only if your ar...
by kos
Tue Mar 27, 2012 6:28 pm
Forum: Software development
Topic: dynThrPID and MIDRC
Replies: 1
Views: 1191

Re: dynThrPID and MIDRC

if (900<dTime && dTime<2200) rcValue[0] = dTime; // just a verification: the value must be in the range [1000;2000] + some margin if ((sbus[23]) & 0x0001) rcValue[16] = 2000; else rcValue[16] = 1000; should use define for those range .. duplicate static string is bad
by kos
Tue Mar 27, 2012 5:39 pm
Forum: Software development
Topic: mwc 2.0 ++
Replies: 25
Views: 8955

Re: mwc 2.0 ++

identation.. are you realy re-indenting the code by hand ? .. ctrl a - ctrl i should be enough.

...

proper variable naming and good comments are more important.

Image

:mrgreen:
by kos
Tue Mar 27, 2012 5:24 pm
Forum: Ideas
Topic: wishlist for v2.1
Replies: 62
Views: 21785

Re: wishlist for v2.1

abstract class or a wiki page for easy esc pwm timer and soft pwm calculation
official support for 8mhz (yes it is flying)
by kos
Tue Mar 27, 2012 5:15 pm
Forum: Software development
Topic: Run MultiWii @ 400 Hz - Very Important - ESC - Solution!
Replies: 65
Views: 29292

Re: Run MultiWii @ 400 Hz - Very Important !

yes , with the new output.pde (thanks to ronco) it is quite easy to change ..

ps : can you please update the title with 'esc'
by kos
Tue Mar 27, 2012 5:09 pm
Forum: General discussions
Topic: ardupirate
Replies: 2
Views: 1851

Re: ardupirate

The ArduPirates project focuses on speeding up development on ArduCopter especially by integrating self controlling mechanisms without any commercial interests or targets.

The base of this project is Hein's Code which is an exit of the "official" ArduCopter Code coming from http://code.google.com/p/arducopter/.


http://code.google.com/p/ardupirates/
by kos
Mon Mar 26, 2012 3:05 pm
Forum: Getting Started - MultiWii config and setup
Topic: Is VTail okay for starters?
Replies: 29
Views: 9264

Re: Is VTail okay for starters?

Okay, good to know. I was thinking along a similar approach as it seems to me that if the motors are pulling away from one another and the "prop wash" is colliding, there would be a lot more turbulence on the tail. Believe it or not, that collision is a benefit. is not .. please consider ...
by kos
Sat Mar 24, 2012 6:54 pm
Forum: Getting Started - MultiWii config and setup
Topic: Exact Definition of MINCOMMAND, MINTHROTTLE and MAXTHROTTLE
Replies: 23
Views: 19912

Re: Exact Definition of MINCOMMAND, MINTHROTTLE and MAXTHROT

Additional is it fact, that there is no correction from sensors/arduino when Throttlestick is ar minimum (why not? would be easy and stable sinking)? yes, this is true , looking a the code it apears that the rcData[THROTTLE] < MINCHECK is an historic way of determining the quad as 'not armed' and i...