2016年5月29日 星期日

Build tower app



Build Setup Android Studio

Fredia Huya-Kouadio edited this page on 4 Oct 2015 · 4 revisions

Android Studio environment setup

Tower is configured to use Android Studio, so you'll need to download Android Studio.
Once Android Studio is installed and running, choose Import Project and navigate to your localtower folder. Choose the build.gradle file and Android Studio should import and open the project.

Building the app

You should now be ready to build and run the app on your test device.
The first time you try to run the application you'll need to set up your Run/Debug Configuration.
Choose Run > Edit Configurations... and click the '+' symbol at the top left of the window. Enter a name for the configuration at the top of the window ('Tower' is fine), then select 'Android Application.'
Now choose 'Tower' in the Module dropdown and 'USB Device' under the Target Device section.
Save these settings, then connect your Android device via USB and choose Run > Debug. At this point the app should install and launch on your device. If you are having trouble, feel free to ping the developers on the gitter channel.


Ref : https://github.com/DroidPlanner/Tower/wiki/Build-Setup---Android-Studio

follow me explain


Follow Me is now supported for all 3DR copters running ArduCopter version 3.2! For instructions on how to update the ArduCopter firmware on your vehicle, view the video tutorial here.
Follow Me is an advanced in-flight feature of Tower that uses an Android phone or tablet as a virtual tether, allowing the drone to track you with the camera as you move.
You’ll need one person–the actor–that will carry the ground station and be followed by the drone, and one person–the operator–that will carry the controller and be ready to regain manual control at any time. 3DR’s 3PV™ (Third Person View) Follow Me technology requires a GPS enabled Android device with OTG USB.
In order to use Follow Me, you’ll first need to connect to Tower.

Start Follow Me

When you’re ready to start, take off in loiter (LTR), and climb to the altitude that you want the drone to maintain during Follow Me. Don’t forget to turn on your camera before takeoff! To activate Follow Me, select Follow on Tower.




When Follow Me is activated, you will see Guided as the mode at the top of the screen.



If the Follow-Me icon turns red, Tower is searching for GPS on your device. When the device acquires a strong GPS lock, the icon will turn blue and Follow Me will activate.





Angles

Follow Me features six angles to compose your shot. Select the name of the angle to choose from the drop-down menu.

Leash
The drone follows behind the actor at a specified distance.
Lead
The drone flies in front of the actor, facing towards them and maintaining a specified distance.
Left/Right
The drone keeps pace with the actor on either their left or right side, faces towards them, and maintains a specified distance.
Circle
The drone flies a circle pattern around the actor at a specified radius, facing in.

Altitude

When activated, Follow Me will maintain the drone’s current altitude. To adjust the radius during Follow Me, select the + and – options under “Altitude” to increase or decrease the altitude by one meter. Tower will display the current target altitude in parentheses.

Radius

The radius determines the horizontal distance between the actor and the drone. Each angle has a specified default radius that will be used when you activate Follow Me.
AngleDefault Radius
Leash8 m
Lead15 m
Left/Right10 m
Orbit15 m
Above*0 m
To adjust the radius during Follow Me, select the + and – options under “Radius” to increase or decrease the radius by one meter. Tower will display the current radius in parentheses.

Safety

To switch out of Follow Me from Tower the actor can tap “Loiter”. The drone must have GPS lock to engage loiter mode. To switch out of Follow Me using the controller, the operator can switch into standard (altitude hold) and regain manual control or switch RTL ON to recall the drone to the launch point. To switch into loiter using the controller, the operator must switch into standard and back into loiter.

GPS Failsafe

Follow Me requires GPS lock. If the drone loses GPS lock during Follow Me, it will initiate a GPS failsafe and switch to standard manual flight (altitude hold mode). If this is occurs, the drone will immediately transfer manual control to the operator. Because of this, the operator should ensure that the throttle stick is set to center position at all times during Follow Me.

Pebble Watch Control

To control the drone using a Pebble watch, make sure the Pebble is synced and connected to your tablet. In Tower, select the Tower logo in the top-left corner of the screen, select Settings, and select Update Pebble. The Tower app will automatically launch onto the Pebble.




Ref : https://3dr.com/kb/follow-instructions/