Search found 1630 matches

by Alexinparis
Thu Mar 31, 2011 8:12 pm
Forum: MultiWii tweaking - flying experience
Topic: Tricopter - servo shaking
Replies: 9
Views: 7083

Re: Tricopter - servo shaking

you can try this:
#if defined(TRI)
gyroData[YAW] = (gyroYawSmooth*2+gyroData[YAW]+1)/3;
gyroYawSmooth = gyroData[YAW];
#endif


=>

#if defined(TRI)
gyroData[YAW] = (gyroYawSmooth*4+gyroData[YAW]+2)/5;
gyroYawSmooth = gyroData[YAW];
#endif
by Alexinparis
Thu Mar 31, 2011 8:08 pm
Forum: MultiWii tweaking - flying experience
Topic: How to reduce drift? What causes it?
Replies: 6
Views: 3433

Re: How to reduce drift? What causes it?

With or without ACC ?
You're maybe expecting too much from the IMU.
A WMP only multiwii will always drift and can't stay forever straight.
by Alexinparis
Thu Mar 31, 2011 8:04 pm
Forum: Software development
Topic: Bug causing random flips at take off?
Replies: 9
Views: 3310

Re: Bug causing random flips at take off?

Hi,

I tried to reproduce it withITG3200+BMA180 without success.
And I've no more a NK+WMP config...

Can someone else confirm this bug ? (with WMP+NK or WMP+BMA020 )
by Alexinparis
Thu Mar 31, 2011 8:02 pm
Forum: Software development
Topic: getEstimatedAttitude: Idea
Replies: 47
Views: 41024

Re: getEstimatedAttitude: Idea

Hi, I've just tried it, and it works well. It's also a smaller code It's a very interesting observation ! It would be perfect with: - the small angle approximation (one of the fastest code) - the compass integration (the heading value for small angle only would be ok) thanks, I think this is a part ...
by Alexinparis
Tue Mar 29, 2011 1:58 pm
Forum: Software development
Topic: Question on heading hold for Alex
Replies: 1
Views: 1215

Re: Question on heading hold for Alex

Hi,

You're right, but there is a "counter bug" ;)
The mag indication is reversed in this version. I'll fix it
by Alexinparis
Tue Mar 29, 2011 7:30 am
Forum: Ideas
Topic: NEW camer stable method - ( mechanical)
Replies: 11
Views: 4528

Re: NEW camer stable method - ( mechanical)

sorry, I gave a wrong advise.
the formula that should be changed is inside SERVO_TILT (without + rcCommand[...])
SERVO_TILT can be used with tricopter

GIMBAL is a pure cam stab setup
by Alexinparis
Mon Mar 28, 2011 10:35 pm
Forum: Software development
Topic: Bug in getEstimatedAttitude
Replies: 2
Views: 1800

Re: Bug in getEstimatedAttitude

right, it's a small bug ;)
but why an angle jump ?
by Alexinparis
Mon Mar 28, 2011 7:08 pm
Forum: MultiWii tweaking - flying experience
Topic: Autolevel trimming
Replies: 10
Views: 14647

Re: Autolevel trimming

by Alexinparis
Mon Mar 28, 2011 7:05 pm
Forum: Ideas
Topic: NEW camer stable method - ( mechanical)
Replies: 11
Views: 4528

Re: NEW camer stable method - ( mechanical)

Hi, I think I like it you should be able to play with this formula to adjust it: (maybe after trying +/- modifications) servo[1] = constrain(TILT_PITCH_MIDDLE + TILT_PITCH_PROP * angle[PITCH] /16 + rcCommand[PITCH], TILT_PITCH_MIN, TILT_PITCH_MAX); servo[2] = constrain(TILT_ROLL_MIDDLE + TILT_ROLL_P...
by Alexinparis
Sun Mar 27, 2011 1:11 pm
Forum: Software development
Topic: MultiWii v1.preter7 released
Replies: 22
Views: 7535

Re: MultiWii v1.preter7 released

do you think that the barometer in 1.7final will be improved It will be a little better than in 1.6 (small adjustment already implemented in prebis and preter). But clearly, there are many improvements to code about altitude stabilization. I think about Z ACC coupling. Not in 1.7 because I wan't to...
by Alexinparis
Sun Mar 27, 2011 1:06 pm
Forum: General discussions
Topic: Triwii design
Replies: 4
Views: 2233

Re: Triwii design

I think the triwii described here will be able to carry the extra weight, but I'm not sure it's the best config for it.
I would rather choose a bigger setup for this. (at least 8 inches props)
by Alexinparis
Sun Mar 27, 2011 11:00 am
Forum: Software development
Topic: MultiWii v1.preter7 released
Replies: 22
Views: 7535

Re: MultiWii v1.preter7 released

The scale for the gyro has been moved so the new L3G4200D doen't have a correct scale, please add: gyroADC[ROLL] = ((rawADC_L3G4200D[1]<<8) | rawADC_L3G4200D[0])/20 ; gyroADC[PITCH] = ((rawADC_L3G4200D[3]<<8) | rawADC_L3G4200D[2])/20 ; gyroADC[YAW] = -((rawADC_L3G4200D[5]<<8) | rawADC_L3G4200D[4])/...
by Alexinparis
Sun Mar 27, 2011 10:58 am
Forum: Software development
Topic: power meter for 1prebis7 - beta testers wanted
Replies: 56
Views: 23319

Re: power meter for 1prebis7 - beta testers wanted

@Hamburger,
do you want an access to the code repository ?
So that you could upload and share your modification in the branch section.
by Alexinparis
Sun Mar 27, 2011 10:55 am
Forum: General discussions
Topic: Triwii design
Replies: 4
Views: 2233

Re: Triwii design

Hi,

The frame construction of the triwiicopter you can find in articles is described here:
http://radio-commande.com/experimental_ ... tricopter/
Radius from center to arm extremity is 23cm.
After many crash and reenforcement, it's still live ;)
by Alexinparis
Fri Mar 25, 2011 7:57 pm
Forum: Shields, boards and sensors
Topic: BMP085 altitude sensor
Replies: 6
Views: 3723

Re: BMP085 altitude sensor

BlueAngel wrote:How good is "altitude hold" working now?
because in the change.txt:
BARO is still not working very well with huge amplitude (note it's a code issue, not a baro component issue)

It's still not perfect, but it's better since 1.prebis7.
by Alexinparis
Fri Mar 25, 2011 7:56 pm
Forum: Software development
Topic: MultiWii v1.preter7 released
Replies: 22
Views: 7535

Re: MultiWii v1.preter7 released

Yes, i have too failsafe on copter. So i don't need that code too. Unless there is something like a slow auto landing feature after a fixed time. (for sure only with baro sensor) Note the current failsafe will only work is there is no more ppm coming from the RX (a connexion problem for instance) I...
by Alexinparis
Fri Mar 25, 2011 7:54 pm
Forum: Software development
Topic: MultiWii v1.preter7 released
Replies: 22
Views: 7535

Re: MultiWii v1.preter7 released

Great, Thanks a lot Alex. It would be great to have the new added functions like fail-safe and Auto-level trim implemented so that we can just remove it by checking one line like for the LCD function for example. What make the multiwii software so wonderful it's simplicity and efficiency . We shoul...
by Alexinparis
Fri Mar 25, 2011 7:51 pm
Forum: Software development
Topic: MultiWii v1.preter7 released
Replies: 22
Views: 7535

Re: MultiWii v1.preter7 released

thanks Alex for you great work. I hope i can test the new software soon. I had sometimes too a strange behavior with the ACC. Flying fast in head holding mode and the switch to ACC and the quad does not level right. More 30° turned to one side. So, the stable mode is ok when your multi is static, b...
by Alexinparis
Thu Mar 24, 2011 9:26 pm
Forum: Software development
Topic: Direct connection of NUNCHACK
Replies: 29
Views: 12095

Re: Direct connection of NUNCHACK

ziss_dm wrote:Hi,

This is patch for MultiWii1_preter7.

Regards,
ziss_dm


Thanks, I forgot to add it in preter.
It will be in the next one ;)
by Alexinparis
Thu Mar 24, 2011 9:24 pm
Forum: Pictures & Videos
Topic: New Tri Takes Flight w/2 axis GoPro Mount
Replies: 8
Views: 3373

Re: New Tri Takes Flight w/2 axis GoPro Mount

Hi Doug,

Sure I'm interested also.
I've just bought my first GoproHD 15 days ago, and I've never had the opportunity to test my cam stab code.
by Alexinparis
Thu Mar 24, 2011 9:20 pm
Forum: Pictures & Videos
Topic: Test my AirCraft with Multii Wii
Replies: 6
Views: 3489

Re: Test my stock 1prebis7 Quad X

thanks for sharing your vid
by Alexinparis
Thu Mar 24, 2011 9:19 pm
Forum: Software development
Topic: MultiWii v1.preter7 released
Replies: 22
Views: 7535

Re: MultiWii v1.preter7 released

Hi rocketray,

It's in fact already implemented ;)
on the LEVEL row: check the 3 white boxes AUX1 low, AUX1 mid, AUX1 high
This way, the LEVEL mode will always be on.
by Alexinparis
Wed Mar 23, 2011 11:17 pm
Forum: Software development
Topic: MultiWii v1.preter7 released
Replies: 22
Views: 7535

MultiWii v1.preter7 released

differences with the previous dev 1.prebis7: OSD: thanks to Rurek and mis_b , optimisation of OSD code Serial write is driven by a switchable interrupt, minimising delay to transmit data MAIN SOFT: thanks to Syberian , a bug was corrected to prevent ACC correction just before hovering. It could exp...
by Alexinparis
Wed Mar 23, 2011 7:51 pm
Forum: Shields, boards and sensors
Topic: ITG3200 Driver Settings: LPF
Replies: 2
Views: 1797

Re: ITG3200 Driver Settings: LPF

Hi,

I didn't take time to tune this parameter.
10Hz works good, but you're right, there maybe better parameters.
by Alexinparis
Sun Mar 20, 2011 11:16 pm
Forum: Software development
Topic: power meter for 1prebis7 - beta testers wanted
Replies: 56
Views: 23319

Re: power meter for 1prebis7 - beta testers wanted

Hi,
Your a) assumption is very interesting. It's a sort of wattmeter approximation.
I didn't thing it would be precise enough to give something accurate enough.
by Alexinparis
Sun Mar 20, 2011 11:11 pm
Forum: Ideas
Topic: android remote configuration app
Replies: 22
Views: 8761

Re: android remote configuration app

I think it should be quite easy to make a smartphone app to reproduce what you see on the LCD.
Note that today, all parameters can be changed with the LCD.
This way all parameters could be seen on the smartphone, and changed via RC or maybe also via the smartphone.
by Alexinparis
Sun Mar 20, 2011 10:51 pm
Forum: Ideas
Topic: Quad (with Yaw Control)
Replies: 15
Views: 5862

Re: Quad (with Yaw Control)

Yes, you can change the limits. The code is here for this.
It won't influence the yaw stability.
by Alexinparis
Sun Mar 20, 2011 10:49 pm
Forum: Getting Started - MultiWii config and setup
Topic: HobbyKing Radio Throttle Range is too small!
Replies: 5
Views: 3205

Re: HobbyKing Radio Throttle Range is too small!

I'm a network/telecom engineer in real life ;)
So, my work is not really tied to RC&elec things.
by Alexinparis
Sat Mar 19, 2011 8:55 am
Forum: Ideas
Topic: Quad (with Yaw Control)
Replies: 15
Views: 5862

Re: Quad (with Yaw Control)

I think you should just lower your P Yaw
by Alexinparis
Sat Mar 19, 2011 8:54 am
Forum: Getting Started - MultiWii config and setup
Topic: HobbyKing Radio Throttle Range is too small!
Replies: 5
Views: 3205

Re: HobbyKing Radio Throttle Range is too small!

yes, it's possible:
there are MINCHECK and MAXCHECKvariable you can change for this.
by Alexinparis
Fri Mar 18, 2011 12:21 am
Forum: Shields, boards and sensors
Topic: WM+ with ITG3205
Replies: 84
Views: 54909

Re: WM+ with ITG3205

I think the Voltage stability of VCC is better than V D12.
So you can still power it via D12, no problem, but in this case it's probably better to power it via VCC.
by Alexinparis
Thu Mar 17, 2011 11:49 pm
Forum: Shields, boards and sensors
Topic: WM+ with ITG3205
Replies: 84
Views: 54909

Re: WM+ with ITG3205

The only device that needs to be reseted in case of frozen bus is the WMP.
About the Nunchuk in direct connection, I don't know.

I've never seen frozen bus with other I2C devices.
So probably no need to power it via D12
by Alexinparis
Thu Mar 17, 2011 12:10 am
Forum: Software development
Topic: MultiWii v1.prebis7 released
Replies: 9
Views: 4023

Re: MultiWii v1.prebis7 released

Hi, I don't catch your explanation the following are the 22 bytes sens from the GUI s[0] = 'C'; s[1] = byteP_ROLL; s[2] = byteI_ROLL; s[3] = byteD_ROLL; s[4] = byteP_PITCH; s[5] = byteI_PITCH; s[6] = byteD_PITCH; s[7] = byteP_YAW; s[8] = byteI_YAW; s[9] = byteD_YAW; s[10] = byteP_LEVEL; s[11] = byte...
by Alexinparis
Wed Mar 16, 2011 11:42 pm
Forum: Software development
Topic: 1_prebis7: ITG3200 driver: Overflow issue
Replies: 4
Views: 2963

Re: 1_prebis7: ITG3200 driver: Overflow issue

Hi,

Thank you ! It's was a bug not so easy to find.
your workaround is nice and simple
by Alexinparis
Mon Mar 14, 2011 7:48 pm
Forum: Software development
Topic: v1.pre7 GUI PID swapped
Replies: 1
Views: 1332

Re: v1.pre7 GUI PID swapped

Yes, you're right, it's a GUI bug I corrected on 1.prebis7
by Alexinparis
Sun Mar 13, 2011 9:27 pm
Forum: Software development
Topic: MultiWii v1.prebis7 released
Replies: 9
Views: 4023

MultiWii v1.prebis7 released

MAIN SOFT: anti yaw jump modification for multi with 4 motors or more ALL: BI COPTER is now a avatar style implementation, still in beta on a pro mini: 9 motor left, 10 motor right, 11 servo left, 3 servo right on mega: 3 motor left, 5 motor right, 6 servo left, 2 servo right ALL: addition of Y4 (no...
by Alexinparis
Sun Mar 13, 2011 12:34 am
Forum: Software development
Topic: YAW-Bug since Version 1.6 and 1.7 pre?
Replies: 4
Views: 2069

Re: YAW-Bug since Version 1.6 and 1.7 pre?

Now Alex, to make the Copter stop a Yaw spinning better, should i increase the +100 in the last line to +150 and should i also change the -100 to -150?


Yes, that's it.
+ addition of some I in the YAW PID
by Alexinparis
Sat Mar 12, 2011 10:23 am
Forum: Software development
Topic: YAW-Bug since Version 1.6 and 1.7 pre?
Replies: 4
Views: 2069

Re: YAW-Bug since Version 1.6 and 1.7 pre?

did you erase all the lines ?
normally, this one could be kept:
axisPID[YAW] = constrain(axisPID[YAW],-100-abs(rcCommand[YAW]),+100+abs(rcCommand[YAW]));

If the yaw stop is still not perfect, you could increase 100 to 150
by Alexinparis
Sat Mar 12, 2011 10:21 am
Forum: Shields, boards and sensors
Topic: WM+ with ITG3205
Replies: 84
Views: 54909

Re: WM+ with ITG3205

Hi, Whouah ! It is a real improvement in the low cost side ! It would allow anyone with a cheap clone to benefit from the ITG3200 perf, and the mod is not so complicated. This mod + a direct NK connection is a real good thing Hi, I'll try to explain how I did this mod: Hardware: 1) It is good idea t...
by Alexinparis
Sat Mar 12, 2011 10:17 am
Forum: Ideas
Topic: Photo trigger series on A2 remotely operated by AUX2
Replies: 6
Views: 3176

Re: Photo trigger series on A2 remotely operated by AUX2

Hi, it's not a on/off PIN pattern. It's made to drive a servo and you can define the duration and position: #define CAM_SERVO_HIGH 2000 // the position of HIGH state servo #define CAM_SERVO_LOW 1020 // the position of LOW state servo #define CAM_TIME_HIGH 1000 // the duration of HIGH state servo exp...
by Alexinparis
Tue Mar 08, 2011 8:53 pm
Forum: Software development
Topic: enabling ultrasonic sensor and altitude hold
Replies: 8
Views: 5067

Re: enabling ultrasonic sensor and altitude hold

At the risk of taking the fun obtained by working it out for yourself away, ... Don't worry, my aim is to bring the best I can find, from my brain or from other open place, I don't care One more example of open source power: I discovered today this video: m This man is a genius: he took my code, im...
by Alexinparis
Tue Mar 08, 2011 8:38 pm
Forum: Ideas
Topic: enabling/disabling camera stabilization from AUX
Replies: 9
Views: 5692

Re: enabling/disabling camera stabilization from AUX

It's planed: if you look at the last GUI, there are CAM1 and CAM2 RX input on channel 7&8 ;)
But there is currently no code behind.
by Alexinparis
Tue Mar 08, 2011 8:35 pm
Forum: Software development
Topic: WM+ Calibration procedure.
Replies: 1
Views: 1597

Re: WM+ Calibration procedure.

Hi,

1) there is no need to worry about that because the calibration should occur with no movement ;) the slow/fast mode is triggered only by the rotation speed.
2) this was my initial tought, but the gyrozero must be apply before the slow/fast correction and not after.
by Alexinparis
Mon Mar 07, 2011 7:47 pm
Forum: Ideas
Topic: enabling/disabling camera stabilization from AUX
Replies: 9
Views: 5692

Re: enabling/disabling camera stabilization from AUX

ok, good argument ;)
by Alexinparis
Sun Mar 06, 2011 10:45 pm
Forum: Ideas
Topic: Photo trigger series on A2 remotely operated by AUX2
Replies: 6
Views: 3176

Re: Photo trigger series on A2 remotely operated by AUX2

The cam trigger function is already implemented as an option with AUX1 HIGH state position.
I plan to standardize it like the other sensor activation.
by Alexinparis
Sun Mar 06, 2011 10:43 pm
Forum: Ideas
Topic: I2C integration of OSD
Replies: 1
Views: 2269

Re: I2C integration of OSD

The I2C bus is already booked with the sensors;)
There is no time slot for other non essential parts, otherwise the time loop would continue to grow.
For this, the serial port is a good option.
by Alexinparis
Sun Mar 06, 2011 10:40 pm
Forum: General discussions
Topic: Calibrating ESCs using multiiWii code
Replies: 7
Views: 4085

Re: Calibrating ESCs using multiiWii code

There was before in multiwii a procedure to calibrate the ESC with full throttle during 2 or 3s (writeAllMotors(2000);)
I suppressed it because it was too dangerous: the motors could go full throttle if the ESCs are already powered and initialized and if you boot again the arduino.
by Alexinparis
Sun Mar 06, 2011 10:34 pm
Forum: Software development
Topic: V1.6 on Duemilanove GUI connection problem
Replies: 7
Views: 4041

Re: V1.6 on Duemilanove GUI connection problem

@Plata:
There is a description of pullups needs in this post : viewtopic.php?f=8&t=104
by Alexinparis
Sun Mar 06, 2011 10:30 pm
Forum: Ideas
Topic: enabling/disabling camera stabilization from AUX
Replies: 9
Views: 5692

Re: enabling/disabling camera stabilization from AUX

What would be the interest to be able to disengage the cam stabilization ?