Singapore
Asked — Edited
Resolved Resolved by DJ Sures!

Adding Buttons+Scripts To Customer Movement Panel

I am building a control interface for a custom quadcopter. when i call out the "custom movement panel" control, i notice there are only left/right/forward/reverse buttons, however they are no landing/take-off buttons. would like to seek assistance/tutorial to add new/additional buttons (scripting enabled type) to the "customer movement panel".

thanks.


ARC Pro

Upgrade to ARC Pro

Become a Synthiam ARC Pro subscriber to unleash the power of easy and powerful robot programming

PRO
Synthiam
#1  

Use the Mobile Interface Builder instead - That way your project will also work on mobile phones. And you can still use it within your ARC Windows project

Singapore
#2  

trying out now. may i know where is the tutorial to assign script to all these "mobile interface controls"?

PRO
Synthiam
#3  

On every control is a ? next to the X (close) button on the top right. Press the ? for the Mobile Interface Builder

Singapore
#4  

Hi Sures.. thanks for prompt response. trying to enable camera "color tracking" demo --- for the quadcopter to follow the coloured ball. i notice that the camera movement performs left/right beautifully, however it only process forward/reverse without up/down. i am hoping to create:

  1. when the ball move-up of the centre-grid, need a custom button "up" to be activated (and similarly for the down).

  2. when the ball is getting further from the drone and become smaller, drone will move towards the ball. (and vice versa from reverse).

thanks.

PRO
Synthiam
#5  

Oh neat :)

I never thought of that! Having the drone move up and down rather than follow the ball with forward. That's a great idea!

Singapore
#6  

i don't have access to your camera control code, so i don't know ho to modify it. but i believe there is a possibility to borrow from some methodology such as "coloured ball", "centre of grid", and "pixel count of object" to estimate ball distance (or something like that? haha.. :))

so, any possibility to modify your camera control for this purpose?

Singapore
#8  

woww... you are FAST ! and cool ! what about the forward and reverse? i can do some research and see what kind of implementation has been done and you can incorporate into this..

just imagining now you can have a magic wand with a ball on top, and start directing the drone from take-off to land, all vision based.. cool..

thanks..

PRO
Synthiam
#9  

This video will help you understand how to use the Mobile Interface Builder

Singapore
#10  

hey sures.. thanks for the info. i have got the 1st cut out on my quadcopter -- based on walkera w100s fpv. all the controls seem fine, however it seems that the quadcopter is really not stable with no hovering mode, end up it drift "badly", response "slowly" to command, and the tracking object fall out of its frame before the quad can follow..

it seems that ar drone is a more stable version of quad, and noticed u support only ar drone version 1.0. is it possible to support ar drone 2.0, or do you want to share your .ezb file so that the community can help you upgrade it to 2.0 ?

thanks.

PRO
Synthiam
#11  

I have been working on the v2.0 support for a bit lately. I don't have a release date as of yet.

Can you set this question to resolved please? Thanks!

Singapore
#12  

thanks man. feel free to let me know if you have stuff that needs help