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

ARC Pro is your passport to a world of endless possibilities in robot programming, waiting for you to explore.

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..