ARDrone-on-Android icon indicating copy to clipboard operation
ARDrone-on-Android copied to clipboard

Working Version (for Tablets)

Open MORP opened this issue 13 years ago • 3 comments

Hi,

I've updated the project a little, so that I can use my Asus Transformer (1280x800) for controlling the drone. Therefore, layouting might be bad when used on other devices. However, I improved the video-view (reducing buffersize helps a lot), connectivity (following a comment from the JavaDrone community), added soft-joysticks and flight instruments (the original projects those were taken from are credited in the readme).

I hope that some of my changes will make it to the main project.

Cheers,

MORP

MORP avatar Jan 10 '12 13:01 MORP

Hey Christian,

Sorry I'm a bit late. I got the email notification (didn't check github) and thought it was from the javadrone group and passed over it. First I'd like to say thanks for working on the project. I don't have an ARDrone anymore so I can't personally work on it. Since your pull request was based on a tablet I'd like to ask if you have tested on an Android phone or something of smaller resolution to ensure that it still works. Since the phone was my primary target for the code I want to make sure that it can still run on it, of course. :) If you know for sure that it is still runs on the phone and whatever UI you have implemented still looks good then I will definitely merge your pull request.

PS. If you don't want your name put all over github (don't know if you care), change the .classpath file since it currently links the project to " C:/Users/Christian Bunse/Downloads/JavaDrone-1.1/lib/..."

Thanks again, UnknownGuardian www.profusiongames.com

On Tue, Jan 10, 2012 at 5:24 AM, MORP < [email protected]

wrote:

Hi,

I've updated the project a little, so that I can use my Asus Transformer (1280x800) for controlling the drone. Therefore, layouting might be bad when used on other devices. However, I improved the video-view (reducing buffersize helps a lot), connectivity (following a comment from the JavaDrone community), added soft-joysticks and flight instruments (the original projects those were taken from are credited in the readme).

I hope that some of my changes will make it to the main project.

Cheers,

MORP

You can merge this Pull Request by running:

git pull https://github.com/MORP/ARDrone-on-Android master

Or you can view, comment on it, or merge it online at:

https://github.com/UnknownGuardian/ARDrone-on-Android/pull/5

-- Commit Summary --

  • Added flight animations and blinking. Optimzed and tested on an Asus Transfornmer Tbaler
  • Reduced Number of Permissions
  • Integrated a Soft-Joystick.
  • Added Copyright and improved joystick
  • Update README.txt
  • Removed unused permissions and streamlined layout
  • Signed-off-by: MORP Project [email protected]
  • Merge branch 'master' of [email protected]:MORP/ARDrone-on-Android
  • Streamlined the layout and further optimized permissions
  • Integrated an option menu for configuring the drone (trim, outdoor, etc.)
  • Signed-off-by: MORP Project [email protected]
  • Extended Konfig-Menu
  • Allowed to select Camera via Context-Menu
  • Optimized Joystick-Handling
  • Moved most GUI Elements to DockPanels. These were taken from the Widget Project of MobileAnarchy
  • Reaaranged Dock-Panels. Button in Left. Sensor-Data in Top.
  • Added a Gauge for Altitude Data and a progressbar for the battery
  • Updated Battery Display
  • Changed Default State (Dock)
  • Sensordata visualization was completely redesigned.
  • Added a Compass View for the Controller
  • Addressed Connection Problem by enabling the reuse of socket addresses
  • Improved Video Speed
  • Improved Video - Still minimal lag
  • Beta; Ready To Use :-)

-- File Changes --

M .classpath (8) M AndroidManifest.xml (88) M README.txt (13) A assets/Gauge.html (131) A assets/js/old/steelseries-min.js (1) A assets/js/steelseries-min.js (7) A assets/js/steelseries.js (14286) A assets/js/tween-min.js (1) A assets/js/tween.js (311) A bin/ARDrone_JavaDrone.apk (0) A bin/classes.dex (0) A bin/classes/com/codeminders/ardrone/ARDrone$Animation.class (0) A bin/classes/com/codeminders/ardrone/ARDrone$ConfigOption.class (0) A bin/classes/com/codeminders/ardrone/ARDrone$LED.class (0) A bin/classes/com/codeminders/ardrone/ARDrone$State.class (0) A bin/classes/com/codeminders/ardrone/ARDrone$VideoChannel.class (0) A bin/classes/com/codeminders/ardrone/ARDrone.class (0) A bin/classes/com/codeminders/ardrone/CommandQueue.class (0) A bin/classes/com/codeminders/ardrone/CommandSender.class (0) A bin/classes/com/codeminders/ardrone/Dimension.class (0) A bin/classes/com/codeminders/ardrone/DroneCommand.class (0) A bin/classes/com/codeminders/ardrone/DroneStatusChangeListener.class (0) A bin/classes/com/codeminders/ardrone/DroneVideoListener.class (0) A bin/classes/com/codeminders/ardrone/NavData$ControlAlgorithm.class (0) A bin/classes/com/codeminders/ardrone/NavData$CtrlState.class (0) A bin/classes/com/codeminders/ardrone/NavData$FlyingState.class (0) A bin/classes/com/codeminders/ardrone/NavData$Mode.class (0) A bin/classes/com/codeminders/ardrone/NavData$NavDataTag.class (0) A bin/classes/com/codeminders/ardrone/NavData.class (0) A bin/classes/com/codeminders/ardrone/NavDataFormatException.class (0) A bin/classes/com/codeminders/ardrone/NavDataListener.class (0) A bin/classes/com/codeminders/ardrone/NavDataReader.class (0) A bin/classes/com/codeminders/ardrone/Point.class (0) A bin/classes/com/codeminders/ardrone/VideoReader.class (0) A bin/classes/com/codeminders/ardrone/VideoReaderBackup.class (0) A bin/classes/com/codeminders/ardrone/VisionTag$VisionTagType.class (0) A bin/classes/com/codeminders/ardrone/VisionTag.class (0) A bin/classes/com/codeminders/ardrone/commands/ATCommand.class (0) A bin/classes/com/codeminders/ardrone/commands/ConfigureCommand.class (0) A bin/classes/com/codeminders/ardrone/commands/ControlCommand.class (0) A bin/classes/com/codeminders/ardrone/commands/EmergencyCommand.class (0) A bin/classes/com/codeminders/ardrone/commands/FlatTrimCommand.class (0) A bin/classes/com/codeminders/ardrone/commands/HoverCommand.class (0) A bin/classes/com/codeminders/ardrone/commands/KeepAliveCommand.class (0) A bin/classes/com/codeminders/ardrone/commands/LandCommand.class (0) A bin/classes/com/codeminders/ardrone/commands/MoveCommand.class (0) A bin/classes/com/codeminders/ardrone/commands/PCMDCommand.class (0) A bin/classes/com/codeminders/ardrone/commands/PlayAnimationCommand.class (0) A bin/classes/com/codeminders/ardrone/commands/PlayLEDCommand.class (0) A bin/classes/com/codeminders/ardrone/commands/QuitCommand.class (0) A bin/classes/com/codeminders/ardrone/commands/RefCommand.class (0) A bin/classes/com/codeminders/ardrone/commands/TakeOffCommand.class (0) A bin/classes/com/codeminders/ardrone/util/BufferedImageVideoListener.class (0) A bin/classes/com/codeminders/ardrone/video/BufferedVideoImage.class (0) A bin/classes/com/codeminders/ardrone/video/ImageSlice.class (0) A bin/classes/com/codeminders/ardrone/video/MacroBlock.class (0) A bin/classes/com/profusiongames/ErrorList.txt (6) A bin/classes/com/profusiongames/FusionDrone$1.class (0) A bin/classes/com/profusiongames/FusionDrone$2.class (0) A bin/classes/com/profusiongames/FusionDrone$3.class (0) A bin/classes/com/profusiongames/FusionDrone$DroneEnder.class (0) A bin/classes/com/profusiongames/FusionDrone$DroneStarter.class (0) A bin/classes/com/profusiongames/FusionDrone$VideoDisplayer.class (0) A bin/classes/com/profusiongames/FusionDrone.class (0) A bin/classes/com/profusiongames/MathUtil.class (0) A bin/classes/com/profusiongames/R$array.class (0) A bin/classes/com/profusiongames/R$attr.class (0) A bin/classes/com/profusiongames/R$drawable.class (0) A bin/classes/com/profusiongames/R$id.class (0) A bin/classes/com/profusiongames/R$layout.class (0) A bin/classes/com/profusiongames/R$string.class (0) A bin/classes/com/profusiongames/R.class (0) A bin/res/drawable-hdpi/icon.png (0) A bin/res/drawable-ldpi/icon.png (0) A bin/res/drawable-mdpi/bottom_focused.png (0) A bin/res/drawable-mdpi/bottom_normal.png (0) A bin/res/drawable-mdpi/bottom_pressed.png (0) A bin/res/drawable-mdpi/icon.png (0) A bin/res/drawable-mdpi/left_focused.png (0) A bin/res/drawable-mdpi/left_normal.png (0) A bin/res/drawable-mdpi/left_pressed.png (0) A bin/res/drawable-mdpi/logo.png (0) A bin/res/drawable-mdpi/top_focused.png (0) A bin/res/drawable-mdpi/top_normal.png (0) A bin/res/drawable-mdpi/top_pressed.png (0) A bin/resources.ap_ (0) M gen/com/profusiongames/R.java (58) A project.properties (11) A res/drawable-mdpi/bottom_dock_handle.xml (6) A res/drawable-mdpi/bottom_focused.png (0) A res/drawable-mdpi/bottom_normal.png (0) A res/drawable-mdpi/bottom_pressed.png (0) A res/drawable-mdpi/left_dock_handle.xml (6) A res/drawable-mdpi/left_focused.png (0) A res/drawable-mdpi/left_normal.png (0) A res/drawable-mdpi/left_pressed.png (0) A res/drawable-mdpi/logo.png (0) A res/drawable-mdpi/plastic.jpg (0) A res/drawable-mdpi/top_dock_handle.xml (6) A res/drawable-mdpi/top_focused.png (0) A res/drawable-mdpi/top_normal.png (0) A res/drawable-mdpi/top_pressed.png (0) A res/layout/dockpanel_horizontal_bottom_content.xml (28) A res/layout/dockpanel_horizontal_top_content.xml (24) A res/layout/dockpanel_vertical_content.xml (58) M res/layout/main.xml (211) A res/layout/main2.xml (153) A res/layout/main3.xml (98) A res/menu/configmenu.xml (24) A res/values/arrays.xml (42) A res/values/attr.xml (52) M res/values/strings.xml (8) A src/AndroidManifest.xml (49) A src/bin/classes/com/profusiongames/ErrorList.txt (6) A src/com/MobileAnarchy/Android/Widgets/DockPanel/DockPanel.java (320) A src/com/MobileAnarchy/Android/Widgets/DockPanel/DockPosition.java (5) A src/com/MobileAnarchy/Android/Widgets/Joystick/DualJoystickView.java (148) A src/com/MobileAnarchy/Android/Widgets/Joystick/JoystickClickedListener.java (6) A src/com/MobileAnarchy/Android/Widgets/Joystick/JoystickMovedListener.java (7) A src/com/MobileAnarchy/Android/Widgets/Joystick/JoystickView.java (522) M src/com/codeminders/ardrone/ARDrone.java (3) M src/com/codeminders/ardrone/NavDataReader.java (1) M src/com/codeminders/ardrone/VideoReader.java (135) M src/com/profusiongames/FusionDrone.java (500) A src/res/layout/main.xml (149) A src/res/layout/main2.xml (149) A src/res/menu/configmenu.xml (9) A src/res/values/arrays.xml (42) A src/res/values/strings.xml (9) A src/src/com/MobileAnarchy/Android/Widgets/Joystick/DualJoystickView.java (148) A src/src/com/MobileAnarchy/Android/Widgets/Joystick/JoystickClickedListener.java (6) A src/src/com/MobileAnarchy/Android/Widgets/Joystick/JoystickMovedListener.java (7) A src/src/com/MobileAnarchy/Android/Widgets/Joystick/JoystickView.java (523) A src/src/com/profusiongames/FusionDrone.java (589)

-- Patch Links --

https://github.com/UnknownGuardian/ARDrone-on-Android/pull/5.patch https://github.com/UnknownGuardian/ARDrone-on-Android/pull/5.diff


Reply to this email directly or view it on GitHub: https://github.com/UnknownGuardian/ARDrone-on-Android/pull/5

My Game Development Blog - www.profusiongames.com

matt4530 avatar Jan 26 '12 03:01 matt4530

Hi, i have an ar-drone, a tablet (archos 8G9) and a smartphone (lgp990).

I can test on this, but i'm beginner with eclipse. I import the project and it tells me it has errors but not where are they. Can you help me? Thank's

FrankSAURET avatar Mar 17 '12 15:03 FrankSAURET

Now it's ok. I haven't the good path for apijava.

FrankSAURET avatar Mar 17 '12 16:03 FrankSAURET