SMALL - espritmodel.com SMALL - Telemetry SMALL - Radio
Reply
Thread Tools
This thread is privately moderated by brontide, who may elect to delete unwanted replies.
Old Dec 10, 2012, 09:36 AM
Stop me before I build again!
United States, NY, Albany
Joined Sep 2012
1,320 Posts
Discussion
Playing with kk2

Code:
cam23:
	b16sub Temp, CamRoll, CamPitch	
	b16mov Out7, Temp
	b16add Temp, CamRoll, CamPitch
	b16mov Out8, Temp
Trivial first attempt at vtail camstab mixing. This changes the output on M7 and M8 to the differential with Roll as the dominant ( servos pointing towards or away from each other ).

If it rolls in the wrong direction, invert the roll gain.
If it pitches in the wrong direction, reverse the servo connections.
brontide is offline Find More Posts by brontide
Reply With Quote
Sign up now
to remove ads between posts
Old Dec 23, 2012, 09:25 AM
HeliHarry
harrym's Avatar
United States, OK, Tulsa
Joined Dec 2006
338 Posts
Is there any other change other than the v-tail mix on 7 & 8?
Is the mix strictly for v-tail or does it work for all other frames?
Will it work on a Quad?

"If it pitches in the wrong direction, reverse the servo connections."
Does that mean to reverse 7 & 8 ?

-----

Update - Got the answer on another Forum. Yes to reverse 7 & 8!
harrym is offline Find More Posts by harrym
Last edited by harrym; Dec 23, 2012 at 10:51 AM.
Reply With Quote
Old Jan 18, 2013, 08:38 AM
Stop me before I build again!
United States, NY, Albany
Joined Sep 2012
1,320 Posts
I have started moving development to github. Below is the link to the same code as above ( well, almost, I realized I could do it with less code ). This is for safe keeping and my own personal reference moving forward.

https://github.com/brontide/kk2-alt/...d8a2ae79844693

Someday this repo may also contain pre-built hex files, but for now it's only code.
brontide is offline Find More Posts by brontide
Reply With Quote
Old Mar 22, 2013, 10:19 PM
Registered User
Joined Feb 2005
100 Posts
Can you assist me with specifics on how to compile and flash me controller with your gamble code for kk2?
I would like very much to flash my kk2 board with what you have written so that I can use the servos and v tail mixing on my camera/tricopter.
RickerG is offline Find More Posts by RickerG
Reply With Quote
Reply

Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion The Hobbyking KK2 Flight Controller sg1anubis Multirotor Electronics 165 Oct 06, 2013 10:47 AM
Discussion just playing with shutter priority mode :) Didgeridood Your Plane Photos 1 Jul 09, 2012 05:03 PM
Discussion Anyone else playing with 12mm inrunners? Dave Campbell High Performance 21 Apr 15, 2012 01:18 PM
Help! SportBEC won't play nice with Phoenix 60 ESC rc-eflyer Power Systems 12 Mar 09, 2012 07:11 PM
Discussion Parkflyer-Sized ARF Warbird made with Balsa, Play, & Covering roo_ster Electric Warbirds 1 Feb 28, 2012 12:50 PM