MikroKopter - Forum » Photo & Video » Slew mode for nick axis control

Slew mode for nick axis control

Moderatoren: jamiro, Joop, killagreg, ligi, nebukad.

Seite: 1

Autor Neuer Beitrag
Mitglied
Registriert seit: Jun 2011
Beiträge: 37
Hello,

Please add the slew mode to the nick axis control in the Flight-Ctrl firmware:

The idea of slew mode is that you issue a command with the stick and the servo will move in the commanded direction. It will only stop moving when the stick is returned to center and it will stop at the last commanded position. The speed the servo gets there is determined by how far over you push the stick. To make the servo turn the other way the stick has to be pushed to the opposite side. Again, the servo will stop moving when the stick is returned to center.

Thank you.
MK-Betatester
Registriert seit: Aug 2008
Beiträge: 4459
Ort: München , Neu-Perlach
:-)
you will the same things like Picloc have.
We will the things to :-)
maybe in next or overnext software version
Mitglied
Registriert seit: Jun 2011
Beiträge: 37
yes, same as PICLOC 3X and Skyline RSGS. It's essential!
Mitglied
Registriert seit: Oct 2007
Beiträge: 381
Ort: Poing
Maybe i can help.

I don't know how a "PICLOC 3X" or a "Skyline RSGS" works, but i made a special version of the 0.88 with slew rate mode on Nick (look at Parameter4, 5 and 6) for using it on a additional fc mounted to a 3 axis cinestar gimbal.

This version should still be usable as a standard FC version but i have not tested this myself. I use it as gimbal control only.

Flight-Ctrl_MEGA1284P_V0_88Walter_CineStar3xG.hex
(for Flight Ctrl V2.1 ONLY !!!)

Connections for the gimbal:
Servo1 output attached to Nick Servo
Servo2 output attached to Roll Servo
Servo3 output attached to Yaw Servo (eg. a modified servo for 360° turns, means poti replaced by a fixed resistor)


There are a couple of "user parameter" to adjust things.

Here you will find a picture with the user defined values that i use as default.
UserParam.jpg

Parameter1:
Input scaling (higher resolution on Servo1, Servo2 and Servo3 input channels)
0 = better input scaling off (as on original 0.88 )
1 = better input scaling on

Parameter2:
Center value of Servo3
Note: this center value changes with the "Input scaling" setup, so different values needed depending if "better input scaling" is "on" or "off"

Parameter3:
Speed setting for Servo3
Note:
Make sure it's not set to 0, minimum allowed value is 1 !!!

Parameter4:
0 = Nick Channel (Servo1) is used in standard mode
1 = Nick Channel (Servo1) is used in slew mode
Note:
If set to 1, Travel adjustment at the radio do not affect the endpoint of the Nick axis anymore, it only defines the speed at which the nick axis is moving)
Limit setting at the camera tab are still active and limits the overall output to the servo (manual + stabilisation), so use this to prevent binding at absolut maximum positions.

Parameter5: (Only needed if Parameter4 is set to 1)
This is the lower end definition of the input channels (like the lower travel value set at the radio when in standard mode). Use this for defining the minimum manual guided endpoint

Parameter6: (Only needed if Parameter4 is set to 1)
This is the higher end definition of the input channels (like the lower travel value set at the radio when in standard mode). Use this for defining the maximum manual guided endpoint

Parameter7:
This defines the dead-band for Sticks Servo1, Servo2 and Servo3.
Deadband means you can define a area in the stick middle where no reaction is caused, this is useful to have no interaction between two stick function on the same stick without using exponential setting on the radio that cause strange stick characteristics.

Note:
Make sure it's not set to 0, minimum allowed value is 1 !!!




Additional modifications are:
- no more fuzzy servo movements during initialization process (with a heavy camera installed this nearly killed one of the servos)

- modified the servo speed adujst routines to allow better reaching the real guided position. On original 0.88 there seems to be always some small movements missing.

- Implemented a special feature that helps calibrating the ACC's of the fc when fc is only used as camera stabilization.
Now, if FC detects less brushless controlles as what is defined in the settings (like no brushless, but fc is set to quadro) then it switches to a mode where it emulates the throttle stick to be at maximum position. With this feature its is now enough to have the yaw channel assigned to do GYRO and ACC calibration. No need to additionaly assign the throttle channel for calibration if throttle is not needed otherwise.



best regards,
Walter
« Bearbeitet von walter am 16.06.2012 11:07. »
Mitglied
Registriert seit: Jun 2012
Beiträge: 1
Hi,

i can see that Alex asked what i complained to him about the gimbal control las week :)))))

And thank you for your answers :)

May i ask you, if it is also possible to include a small but very usefull function for controlling at user definable speed the third axis of gimbal ( example: for cinestar) for making panoramas in video ?

Reason is, it is much easier to keep position even with wind gusts without using Yaw of the multicopter and instead have the camera rotating.

Thank you very much,

Fabien
Mitglied
Registriert seit: Oct 2007
Beiträge: 381
Ort: Poing
Hi Bricobrac,

for this i would use the D/R (dualrate) function in the radio and if needed a additional mixer.


best regards,
Walter
Mitglied
Registriert seit: Oct 2007
Beiträge: 381
Ort: Poing
btw.

maybe this thread should be moved into the international area ?

best regards,
Walter
Mitglied
Registriert seit: Oct 2007
Beiträge: 381
Ort: Poing
please note that the software is for Flight Ctrl V2.1 only (needs "Mega1284P" and Servo Output Multiplexer)

Best regards,
Walter
Mitglied
Registriert seit: Oct 2010
Beiträge: 246
Ort: Österreich / Tirol / Bad Häring
thanks @ walter!
your firmware is very great!
Mitglied
Registriert seit: Dec 2011
Beiträge: 8
Walter.. great stuff! Works perfectly. Question for you or maybe those that know better. Id also like to power my video transmitter from the FC2.1 board. I cant seems to get any power out of the servo 4 or 5 connections. Any ideas on where I can get 5v and a GND to power the transmitter?
Mitglied
Registriert seit: Dec 2009
Beiträge: 237
Walter.

I have one doubt.
The yaw control will be stabilized too, like in Picloc X Pro ?
I know i will have stabilization on Nick and Roll, but will i have it also on yaw ?

Thanks

Cristiano
Mitglied
Registriert seit: Oct 2010
Beiträge: 1334
Ort: Copenhagen, Denmark
Would really like to have slew control as well!
Mitglied
Registriert seit: Jul 2012
Beiträge: 5
Ort: Canada
Thank you Walter! It would be great to see this in future updates.
Mitglied
Registriert seit: Aug 2012
Beiträge: 5
Sergey meinte
:-)
you will the same things like Picloc have.
We will the things to :-)
maybe in next or overnext software version


Hello Sergey,

I opened the following thread regarding gimbal pan/yaw stabilization: http://forum.mikrokopter.de/topic-36375.html

Camera pan/yaw stabilization in conjunction with Walter's slew firmware would be an amazing update. This update request is for customers who use a 2nd MK board mounted directly on a 360-degree camera gimbal for stabilization. Is this possible?

MK camera gimbal stabilization works better than most other solutions in my opinion.

Thank you for any feedback.
« Bearbeitet von dapedo am 17.08.2012 15:00. »
Mitglied
Registriert seit: Dec 2009
Beiträge: 110
Ort: KÖLN
Da ich genau vor dieser Aufgabe stehe, folgende Frage zum Verständnis:

extra FC 2,1 zur Steuerung und Stabilisierung des Kameramounts.
Servo 1 und 2 für Nick und Roll
Servo 3 für die Drehung bis 360 Grad und unendlich
Wichtig ist nun dass die FC auch ohne angeschlossene BL Cntl arbeitet und über eine eigene Funke angesteuert werden kann.
Die genauen Parametereinstellungen muß ich mir erst mal anschauen, aber soweit alles richtig verstanden, oder?
Diese Funktionnalität wird aber erst durch die modifizierte SW 0.88 von Walter ermöglicht?
Ich habe noch nie getestet ob eine FC auch ohne BL Cnt arbeitet.

Wäre nett wenn mir jemand was dazu sagen oder raten könnte, bevor ich loslege.

Danke willi
Mitglied
Registriert seit: Oct 2010
Beiträge: 1334
Ort: Copenhagen, Denmark
koptorist meinte
Da ich genau vor dieser Aufgabe stehe, folgende Frage zum Verständnis:

extra FC 2,1 zur Steuerung und Stabilisierung des Kameramounts.
Servo 1 und 2 für Nick und Roll
Servo 3 für die Drehung bis 360 Grad und unendlich
Wichtig ist nun dass die FC auch ohne angeschlossene BL Cntl arbeitet und über eine eigene Funke angesteuert werden kann.
Die genauen Parametereinstellungen muß ich mir erst mal anschauen, aber soweit alles richtig verstanden, oder?
Diese Funktionnalität wird aber erst durch die modifizierte SW 0.88 von Walter ermöglicht?
Ich habe noch nie getestet ob eine FC auch ohne BL Cnt arbeitet.

Wäre nett wenn mir jemand was dazu sagen oder raten könnte, bevor ich loslege.

Danke willi


English please. You're in the English part of the forum!

Seite: 1

MikroKopter - Forum » Photo & Video » Slew mode for nick axis control