Search found 1630 matches

by Alexinparis
Mon Sep 23, 2013 10:57 pm
Forum: Software development
Topic: Suggestion for Baro temperature in getEstimatedAltitude
Replies: 22
Views: 12618

Re: Suggestion for Baro temperature in getEstimatedAltitude

IMHO, this optimisation may be usefull. 267 static float baroGroundTemperatureScale,baroGroundPressureSum; 278 baroGroundPressureSum = baroPressureSum; 285 BaroAlt = log( baroGroundPressureSum / baroPressureSum ) * baroGroundTemperatureScale; Change to: 267 static float baroGroundTemperatureScale,l...
by Alexinparis
Sat Sep 21, 2013 11:26 pm
Forum: Software development
Topic: Release v2.3 is coming soon... prepare
Replies: 96
Views: 46943

Re: Release v2.3 is coming soon... prepare

I also think it's time to release a new version.
I'm currently on the MSP documentation in order to ease the integration with third party apps
by Alexinparis
Tue Sep 17, 2013 10:28 am
Forum: Software development
Topic: Suggestion for Baro temperature in getEstimatedAltitude
Replies: 22
Views: 12618

Re: Suggestion for Baro temperature in getEstimatedAltitude

Well, the original idea was to speed up the altitude estimation which was a slow "pow()" implementation. The "log()" approach was faster, but needs the temperature. It could work with some medium value if you don't care about "correct" altitude display. But if the chip...
by Alexinparis
Mon Sep 16, 2013 12:01 am
Forum: Software development
Topic: Suggestion for Baro temperature in getEstimatedAltitude
Replies: 22
Views: 12618

Re: Suggestion for Baro temperature in getEstimatedAltitude

Hi,

I think you're right.
According to AP_Baro.cpp, it's also the case.
by Alexinparis
Sun Sep 15, 2013 11:31 pm
Forum: Software development
Topic: Suggestion for Althold adjustment with sticks
Replies: 3
Views: 2134

Re: Suggestion for Althold adjustment with sticks

Yes, it is.
Before, the default baro code was based on temporary deactivation of pid control when the throttle is changed.
Resetting I term was useful to start a new pid control condition.

Now, the only mode is vario, and there is no need to reset I term as the pid control is always active.
by Alexinparis
Sun Sep 15, 2013 5:31 pm
Forum: Software development
Topic: Suggestion for Althold adjustment with sticks
Replies: 3
Views: 2134

Re: Suggestion for Althold adjustment with sticks

Hi,

ok, I think it makes sense in a mode where alt change is smooth (vario)
by Alexinparis
Sat Sep 14, 2013 11:23 pm
Forum: Software development
Topic: Default sensor orientation and fly modes ?
Replies: 5
Views: 2458

Re: Default sensor orientation and fly modes ?

lets take the gyro and acc sensors where X/Y/Z spec are aligned. a rotation around X axis will: - influence X value of the gyro (rotation rate around X axis) - influence Y axis of the acc (magnitude change on Y) That explains you don't have alignment GYRO X / ACC X in formulas even on one chip senso...
by Alexinparis
Sat Sep 14, 2013 10:29 pm
Forum: Software development
Topic: Default sensor orientation and fly modes ?
Replies: 5
Views: 2458

Re: Default sensor orientation and fly modes ?

flight modes: http://www.multiwii.com/forum/viewtopic.php?f=16&t=3011&hilit=flight+mode+names Orientation: You don't have the same orientation of sensors in any board. So you can't expect a standard on this for every boards. X/Y/Z for each sensor follows however what is in each spec sensor. ...
by Alexinparis
Sat Sep 14, 2013 10:19 pm
Forum: Software development
Topic: Sensors orientations
Replies: 13
Views: 5609

Re: Sensors orientations

crazyal wrote:just to be clear, the sensor orientation issue has never been resolved ?

it was solved in 2.0
by Alexinparis
Sat Sep 14, 2013 10:17 pm
Forum: Shields, boards and sensors
Topic: AAC Calibration When Powering Up
Replies: 6
Views: 2112

Re: AAC Calibration When Powering Up

So do I have to make sure it's perfectly level when I plug in the battery. It seems to do better if this is the case but it's somewhat annoying in the field. You can plug the battery even with the copter reversed, there is no problem. what is important is: - to calibrate acc at least once before (t...
by Alexinparis
Sat Sep 14, 2013 10:11 pm
Forum: Software development
Topic: MWii and GPS waypoints (x,y and z)...
Replies: 75
Views: 26728

Re: MWii and GPS waypoints (x,y and z)...

In theory you can add a new command on the serial interface used by GUI, for set the GPS HOME location ... but then your copter will go to that location, and you will have to come back manually ... So ... you definitely need more then this ... so wait for EOSbandi official implementation It's alrea...
by Alexinparis
Sat Sep 14, 2013 9:45 pm
Forum: Getting Started - MultiWii config and setup
Topic: Can't use stick combinations to arm multiwii 328p
Replies: 2
Views: 1400

Re: Can't use stick combinations to arm multiwii 328p

Hi,

If you choose to use a box to arm, it becomes the only way and the stick combination does not work anymore.
If you want to use the stick, don't check any box to arm.
by Alexinparis
Tue Sep 10, 2013 10:58 pm
Forum: MultiWii tweaking - flying experience
Topic: Multiwii 2.2 RTH or Crab to Home Tail First
Replies: 13
Views: 4791

Re: Multiwii 2.2 RTH or Crab to Home Tail First

I think the response is here, in config.h: /* GPS navigation can control the heading */ #define NAV_CONTROLS_HEADING true // copter faces toward the navigation point, maghold must be enabled for it #define NAV_TAIL_FIRST false // true - copter comes in with tail first #define NAV_SET_TAKEOFF_HEADING...
by Alexinparis
Tue Sep 10, 2013 10:55 pm
Forum: Software development
Topic: MSP protocol documentation
Replies: 32
Views: 10307

Re: MSP protocol documentation

Ok, I will try to complete your doc and put it on the wiki.
by Alexinparis
Tue Sep 10, 2013 10:51 pm
Forum: MultiWii tweaking - flying experience
Topic: Can you change PID's in flight
Replies: 9
Views: 3636

Re: Can you change PID's in flight

Hi, currently, you can, but the EEPROM write process takes some time (few ms).
So you could encounter a big glitch at the moment you click on Write
by Alexinparis
Tue Sep 10, 2013 10:49 pm
Forum: Getting Started - MultiWii config and setup
Topic: Stick ranges
Replies: 12
Views: 3154

Re: Stick ranges

Hello I'm using Paris Sirius v4r6. In MultiWii in instruction they tell you to set your radio to 1095 1500 1905 (low mid high). Should I calibrate my tx so that in MultiWii Conf I have 1095 1500 1905? Or other values? I would really like to get some clarification because I did't find any single ref...
by Alexinparis
Sat Sep 07, 2013 7:59 pm
Forum: Software development
Topic: generic wireless UART with OLRS pair
Replies: 3
Views: 1811

Re: generic wireless UART with OLRS pair

With stock antennas and max power, I would say something like 1km in direct view.
With specific antennas, probably several km.
by Alexinparis
Sat Sep 07, 2013 6:06 pm
Forum: Software development
Topic: DEV r1553 - Minthrottle not setting correctly
Replies: 15
Views: 7125

Re: DEV r1553 - Minthrottle not setting correctly

ok, Patrick, you got the correct answer. The MultiWiiConf_shared MUST be used when using MultiWii_shared firmware!! this is what I posted in the vbat thread ok, I ran into this issue, as well as the throttle issue. and as others pointed out, the MW GUI is the problem. If you are using code in share...
by Alexinparis
Sat Sep 07, 2013 5:55 pm
Forum: Getting Started - MultiWii config and setup
Topic: What to do when you can't set endpoints on your reciever?
Replies: 3
Views: 1380

Re: What to do when you can't set endpoints on your reciever

Hi, I have a really cheap HobbyKing reciever where I can't set the endpoints. Right now they range from 1200 to 1900. This is not enough to trigger arming etc. Is there any setting in config.h that let's me "scale" this to the 1000-2000 range? If not, is there any place in the code I coul...
by Alexinparis
Sat Sep 07, 2013 5:45 pm
Forum: General discussions
Topic: Board Request - FPV, OSD, Cameras
Replies: 3
Views: 1513

Re: Board Request - FPV, OSD, Cameras

I know that it is not specific to MultiWii, but neither is "ESCs, propellers , servos and radios". Most of us have at least at sometime put a camera on our quad/multi, and many of us fly FPV. It would be a good addition, and hopefully maintain the better "Signal to Noise Ratio" ...
by Alexinparis
Thu Sep 05, 2013 6:58 pm
Forum: Software development
Topic: KV Team Multiwii OSD
Replies: 1021
Views: 394060

Re: SW Development on Minim Osd

Anyway, developments were made on the Multiwii code regarding (and I repeat) ANALOG READINGS (nothing to do with PWM) and I would recommend them because in the future we need to have as much as we can on the serial protocol... I second that. I predict OSD will sooner or latter become on ground devi...
by Alexinparis
Wed Sep 04, 2013 11:03 pm
Forum: Software development
Topic: generic wireless UART with OLRS pair
Replies: 3
Views: 1811

generic wireless UART with OLRS pair

Hi, As quoted here: http://www.multiwii.com/forum/viewtopic.php?f=6&t=3945&p=40325#p40325 Here is some simple code to build a transparent wireless UART with 2 OLRS compatible modules. - guaranteed 20ms delay - air speed: 57600 (same as OLRS => same expected range) - UART interface: 115200 wi...
by Alexinparis
Wed Sep 04, 2013 10:47 pm
Forum: Software development
Topic: UART Radio project
Replies: 112
Views: 51222

Re: UART Radio project

Hi, Alex You mentioned in another thread that it is possible for you to make a sketch supporting transparent serial with higher baud rates. With the low price of this modules and the DIY possibilities, I think this will be a great addition to any type of project in need of connectivity between two ...
by Alexinparis
Tue Aug 27, 2013 10:32 pm
Forum: Software development
Topic: UART Radio project
Replies: 112
Views: 51222

Re: UART Radio project

Hi, Alex You mentioned in another thread that it is possible for you to make a sketch supporting transparent serial with higher baud rates. With the low price of this modules and the DIY possibilities, I think this will be a great addition to any type of project in need of connectivity between two ...
by Alexinparis
Fri Aug 23, 2013 1:02 am
Forum: Software development
Topic: UART Radio project
Replies: 112
Views: 51222

Re: UART Radio project

1) There is a way to keep my "traditional" RX connected at the same time ? ..just for contigency reasons in case something goes wrong ? yes just keep the traditional RX connected. with no signal on the UART line, your traditional RC will regain control after a short timeout (less than 1s)...
by Alexinparis
Fri Aug 23, 2013 12:58 am
Forum: MultiWii tweaking - flying experience
Topic: Multiwii 2.2 GPS question and PID's
Replies: 9
Views: 5772

Re: Multiwii 2.2 GPS question and PID's

hi all i am using the "MultiWii_MEGA2_GPS_HEX6X" code for my Hex. The following setup i have -MultiWii PRO 2.0 Flight Controller w/ GPS Option -Turnigy 4S 5000 mah Lipo -F550 frame -DJI 30A OPTO ESC -Team black Sheep KV900 motors. Here my question: Today i flew the first time with the sto...
by Alexinparis
Fri Aug 23, 2013 12:54 am
Forum: Software development
Topic: DEV r1553 - Minthrottle not setting correctly
Replies: 15
Views: 7125

Re: DEV r1553 - Minthrottle not setting correctly

Hi,

5. Using oscilloscope, when disarmed the waveform is ~20% ON (normal - looks like its at 'MINCOMMAND 1000')

not really normal: disarmed means signal = 1000us => at 490Hz, the waveform should be around 50%
I would start investigation here
by Alexinparis
Fri Aug 23, 2013 12:43 am
Forum: Shields, boards and sensors
Topic: Wanted: wireless replacement for serial/bluetooth
Replies: 9
Views: 4008

Re: Wanted: wireless replacement for serial/bluetooth

How about this....? m which is used here http://www.multiwii.com/forum/viewtopic.php?f=8&t=3101 This solution is good only for MSP messages, but is not transparent to something which is not MSP (reason: as we can insert some additional MSP for RC control, we need to control the input in order t...
by Alexinparis
Fri Aug 23, 2013 12:28 am
Forum: Getting Started - MultiWii config and setup
Topic: Doing accro in horizon mode
Replies: 3
Views: 1224

Re: Doing accro in horizon mode

Hi,

It's a known bug in 2.2 which can be corrected according to this post (of via a dev download)
viewtopic.php?f=8&t=3480&hilit=GYRO_SCALE
by Alexinparis
Fri Aug 23, 2013 12:20 am
Forum: Software development
Topic: New official dev please ....
Replies: 2
Views: 1245

Re: New official dev please ....

-ralf- wrote:Hi,

I think r1554 is running stable, so whats about a new official dev in download-section?


Hi,

ok, r1555 is online.
by Alexinparis
Fri Aug 16, 2013 6:23 pm
Forum: Software development
Topic: MWii and GPS waypoints (x,y and z)...
Replies: 75
Views: 26728

Re: MWii and GPS waypoints (x,y and z)...

Hi, There is some animation here I think some subjects need some clarification. About the way things are included in the code. In a project, there is always a main code where choices must be made and where there are several options available. As I told here: http://www.multiwii.com/forum/viewtopic.p...
by Alexinparis
Fri Aug 16, 2013 5:18 pm
Forum: Software development
Topic: Safety alarm!!!Copter want to take off immediately after arm
Replies: 21
Views: 13786

Re: AW: Safety alarm!!!Copter want to take off immediately a

Maybe this can solve the problem .... (only compiled with AIOP, not yet tested) if(!f.ARMED && !f.BARO_MODE) { // arm now! f.ARMED = 1; headFreeModeHold = att.heading; #if MAG magHold = att.heading; #endif ok, I think it's fine like this. just corrected in r1553
by Alexinparis
Mon Aug 12, 2013 9:53 am
Forum: MultiWii tweaking - flying experience
Topic: Expo lowering control range
Replies: 1
Views: 873

Re: Expo lowering control range

Plüschi wrote: I think this is caused by the expo calculation using 1000 to 2000 us

Yes it is and it's one basis of multiwii: your radio should be able to reach [1000;2000] range.
If not, there are some tweaks to make multiwii works, but it's not ideal.
by Alexinparis
Mon Aug 12, 2013 9:43 am
Forum: General discussions
Topic: Parameters Lost during flight
Replies: 12
Views: 4874

Re: AW: Parameters Lost during flight

jevermeister wrote:Hey... Happened again. Maybe it is the Android tool from EZ...


With EZ gui, it is very important you make a read parameters before any write.
Otherwise, everything could be set to 0. I had also this problem once on the field.
by Alexinparis
Mon Aug 12, 2013 9:41 am
Forum: Software development
Topic: MWii and GPS waypoints (x,y and z)...
Replies: 75
Views: 26728

Re: MWii and GPS waypoints (x,y and z)...

Hello, I am close to temporally leave Multiwii and move to ArduCopter there i have a feeling the main developers (Alex, EOSBandi, …) are not really present anymore. Especially for the GPS waypoint features there is no clear agenda on what is coming and when. manu Hi, Did you noticed the yaw control...
by Alexinparis
Mon Aug 12, 2013 9:36 am
Forum: Software development
Topic: UART Radio project
Replies: 112
Views: 51222

Re: UART Radio project

Hi, Not sure if I'm writing in the correct thread, but here it goes.... I've been flying with the UART radio module (V5 code) and Multiwii EZ-gui for a few weeks now (since I finally got a (used) smartphone), with great succes. Today, I flew in another location, in a park, in the middle of town, an...
by Alexinparis
Mon Aug 12, 2013 9:20 am
Forum: Software development
Topic: Safety alarm!!!Copter want to take off immediately after arm
Replies: 21
Views: 13786

Re: Safety alarm!!!Copter want to take off immediately after

Hi,

And just included in dev ;)
It's effectively something that shouldn't happen as baro is supposed to be activated only in flight.
by Alexinparis
Mon Aug 12, 2013 9:09 am
Forum: Software development
Topic: Unified communication (for telemetry, GUI, logging, etc)
Replies: 21
Views: 7908

Re: Unified communication (for telemetry, GUI, logging, etc)

Hi,

I did some split in the code yesterday to ease the task.
by Alexinparis
Sun Aug 04, 2013 10:49 pm
Forum: Software development
Topic: How do I use the dbg 1-4
Replies: 4
Views: 1579

Re: How do I use the dbg 1-4

no define is required (#define DEBUG is for other thing)
just put anywhere in the code debug[0] = your_var; in the code and see in the gui the debug 0 value in the graph.
same for 1,2,3
by Alexinparis
Sun Aug 04, 2013 10:46 pm
Forum: Getting Started - MultiWii config and setup
Topic: Firmware 2.2 sketch gets to big Drotek Board
Replies: 10
Views: 3159

Re: Firmware 2.2 sketch gets to big Drotek Board

kaarnaskeeper wrote:i run into the same probs. Could you link me the location of the dev version?

Thanks a lot!

one of the last dev version here should be ok for your need:
https://code.google.com/p/multiwii/downloads/list
by Alexinparis
Sun Aug 04, 2013 10:45 pm
Forum: General discussions
Topic: Arduino IDE required?
Replies: 5
Views: 1822

Re: Arduino IDE required?

I have used now Arduino to flash my board, because I don't know which programmer I shall select by avrdude. If anyone knows how I determine which programmer I need I would be glad to hear about it. But basically I don't like Arduino IDE m maybe you should understand how Arduino IDE works before avo...
by Alexinparis
Sun Aug 04, 2013 10:40 pm
Forum: MultiWii tweaking - flying experience
Topic: Need help for BARO tuning
Replies: 5
Views: 3293

Re: Need help for BARO tuning

It acts as if Baro mode turns off when not level and angle-correction also off when Baro mode on. I experienced the same behavior in 2.2. (Without angle-correction, of course) I have Alt P set to 4 to eliminate altitude oscillation. Nick Hi, Quite strange, thee is no such deactivation of baro code ...
by Alexinparis
Sun Aug 04, 2013 10:25 pm
Forum: MultiWii tweaking - flying experience
Topic: Pitch up after fast flight or windgusts
Replies: 1
Views: 1010

Re: Pitch up after fast flight or windgusts

I don't think a PID setting can correct this. It it due to the way the IMU estimate angle from ACC & GYRO. During a fast forward translation, the ACC does not indicate the right earth magnitude. This vector is however used to estimate the level. there is some hack in the code to try to eliminate...
by Alexinparis
Sun Aug 04, 2013 10:16 pm
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25519

Re: Need better 6050 gyro calibration, any ideas?

Just a quick addition: MultiWii is called MultiWii because of the use of the sensors from a Wii remote. Those gyros and accelerometers were fine 5 years ago, but the 6050 and currently the 9050 from Invensense run circles around them in terms of accurary, cross-axis error, temperature drift, etc .....
by Alexinparis
Sun Aug 04, 2013 10:01 pm
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25519

Re: Need better 6050 gyro calibration, any ideas?

Explanation: If the calib sum will be 1020, the division will make 1020 / 512 = 1 out of it. But (1020 + 256) / 512 = 2 which is more accurate. Same applies to acc calibraton. This is an accuracy improvement which wont break anything else. I have even tested it for neg numbers: -1025 / 512 = -3, bu...
by Alexinparis
Sun Aug 04, 2013 9:38 pm
Forum: Ideas
Topic: RC averaging / filter mod
Replies: 12
Views: 3608

Re: RC averaging / filter mod

While RC averaging / dead band is useful with PPM or PPM-SUM input because of the 4us resolution, the filtering / deadband makes absolutely NO SENSE with spektrum sat or sbus routines. Could someone KICK OUT the averaging / deadband for spek-sat / sbus please? yes and no. Yes because there is no PW...
by Alexinparis
Fri Aug 02, 2013 2:43 pm
Forum: MultiWii tweaking - flying experience
Topic: Flight Modes and FPV
Replies: 3
Views: 1999

Re: Flight Modes and FPV

Does anyone else fly FPV in acro?


This is also the only mode I use in FPV mode.
Keeping the horizon constant is not really an issue when you have a camera feedback.
by Alexinparis
Fri Aug 02, 2013 2:38 pm
Forum: Getting Started - MultiWii config and setup
Topic: Serial.println not working with (2.2) code
Replies: 5
Views: 2173

Re: Serial.println not working with (2.2) code

Every Serial Arduino specific code won't work with multiwii 2.2 because the whole Serial stuff was redesigned from scratch.
If you want to print some values in the terminal, use instead debug[] array and the GUI.