如何打开androidros roboware studioo的rosouse

相关文章推荐
方法1:下载 Android 23 (废话)方法2:修改 gradle 的 compileSdkVersion 23 为你已经有的源码版本。在 你的 SDK 目录\sources 下查看你有哪些版本 ...
转载请注明出处:http://blog.csdn.net/crazy1235/article/details/medium
平台有位作者总结了2017年初最棒最受欢迎的25个第三方库...
忙碌的工作终于可以停息一段时间了,最近突然有一个想法,就是自己写一个app,所以找了一些合适开源控件,这样更加省时,再此分享给大家,希望能对大家有帮助,此博文介绍的都是UI上面的框架,接下来会...
他的最新文章
他的热门文章
您举报文章:
举报原因:
原文地址:
原因补充:
(最多只允许输入30个字)相关文章推荐
最近新接触到Bugly平台,觉得很不错,分享给大家学习学习,平台地址。我们的项目如果发布了,用户 体验的时候遇到Bug,我们都在该平台查看到,这个效果就是我们需要的,毕竟会浪费掉较长的测试时间,不如直...
转自:/androidsdk
一、库文件导入
如果您使用Gradle编译Apk,我们强烈推荐您使用自动接入方式配置库文件(JCenter仓库)...
Android Studio 多渠道打包以及常见错误
ONE Goal ,ONE Passion !
在多渠道打包方面可以说Google真的是业界良心. studio支持多渠道打包啦.而且打包还...
1、Bugly目前采用微信Tinker
2、Bugly已经搭建了管理后台,对每个版本补丁进行管理。
3、实现自动下载补丁包、合成、并应用补丁。
1、添加插件依赖...
话不多说直接开干…
1、安装Bugly插件:Bugly
安装完成之后重启
2、在工程的build.gradle中设置:classpath ‘com.tencent.bugly:symtabf...
库文件导入
Bugly支持自动集成和手动集成两种方式,如果您使用Gradle编译Apk,我们强烈推荐您使用自动接入方式配置库文件。
自动集成(推荐)
Bugly支持JCenter仓库...
Bugly Android热更新详解
/docs/user-guide/instruction-manual-android-hotfix-demo/
极其好用,文档写的很清楚,不能算原创了。
Bugly(Android)
快速接入向导Bugly文档资料
一、库文件导入
如果您使用Gradle编译Apk,我们强烈...
该博客解决bugly自动升级无法适配7.0系统.
bug现象: 在7.0及以上系统上,bugly更新app后,不停重复下载, 无法进入安装界面. 同时, 在解决bugly该bug时, 与take...
本文是在原有的Bugly官方文档上进行修改(吐槽)而成
官方开发文档:/docs/user-guide/instruction-manual-android-h...
他的最新文章
他的热门文章
您举报文章:
举报原因:
原文地址:
原因补充:
(最多只允许输入30个字)1-December-2017
5-December-2017
1-December-2017
8-December-2017
1-December-2017
30-November-2017
4-December-2017
1-December-2017
1-December-2017
4-December-2017
11-December-2017
13-November-2017
1-December-2017
17-November-2017
19-November-2017
27-November-2017相关文章推荐
/forum.php?mod=viewthread&tid=240266&highlight=android%2Bstudio
使用android ...
1.导入eclipse的项目报错
compileSdkVersion 23
buildToolsVersion “19.0.0...
Android Studio 1.x 更改字体
Android Studio 1.x 设置显示行号
好不容易配置好了AS,正准备开个模拟器玩玩呢,在启动的时候给我冒了个VT-x is disabled in BIOS错误,顿时,内心几乎是崩溃的。还好后来找到解决方法,下面给出解决方法。
首先在SD...
很早之前就碰到过Android Studio模拟器无法启动的问题,今天终于尝试去解决了下,下面将我解决的方法记录下。
模拟器报错信息为:
emulator: ERROR: x86 emulati...
一、背景说明
最近开始学习Android,在安装Android Studio时遇到问题,提示HAXM安装失败,这样就导致无法调试运行App。
错误信息如上图,提示也比较清楚,Intel Vir...
1、The following classes could not be instantiated: - com.baidu.mapapi.map.MapView (Open Class, Show ...
1,Android Studio启动后一直 Checking for updated SDK components,(checking for sdk)
在 Android studio 安装目录的...
他的最新文章
他的热门文章
您举报文章:
举报原因:
原文地址:
原因补充:
(最多只允许输入30个字)ros Android software - linuxarmsummary的专栏 - CSDN博客
ros Android software
From GCtronic Wiki
&Apps shortcut list
: Visualize all the sensor information on the phone and implement &move-around-on-table&
behavior.&,&.
: odometry debug&: marker detection debug&: Follow the leader application. It allows the robot to follow an object in front of it, using the
front facing proximity sensors.&: record video while moving.&: Face-tracking application. It keeps track of the position of one face using the front facing camera,
then controls the robot to try to face always the tracked face.&: the Wheelphone robot follows a blob chosen by the user through the interface.&: it allows the robot to follow a black (or white) line on the floor using the ground sensors.&
: PET application. It makes the robot behave like a pet. A behavior module allows it to show expressions
and behave accordingly. Additionally has a face-tracking and text-to-speech modules to be able to interact with the environment.&&: Application that interfaces with the Wheelphone to provide a playful experience when the alarm rings.&,&
: markers based navigation.&&: environment navigation application. It allows the robot to navigate an environment looking
for targets while avoiding obstacles. It has two modules to avoid the obstacles: (1)the robot’s front proximity sensors and (2)the camera + Optical Flow.&&
: the robot publishes sensors and image data and the computer subscribes to them
phone-side:&,&.pc-side:&.
&Supported phones
Some phones are reported to not work due to mis you can test if your phone should be supported with the following application:&.
From the list of features that is shown the&android.hardware.usb.accessory&must be present. If you are intereseted you can find the source code from the following link&
Moreover the phone must be configured in order to accept installation of applications coming from different sources than Play Store.
Here is a list of phones that are tested to be working:
Sony Ericsson Xperia arc LT15i (Android 2.3.4)Sony Ericsson Xperia Mini (Android 2.3.4, Android 4.0.4)Sony Ericsson Xperia tipo ST21i2 (Android 4.0.4)LG Nexus 4 (Android 4.2+)Samsung Galaxy S2 (Android 4.0.3)Samsung Galaxy S3 Mini (Android 4.1.1)Samsung Galaxy S3 (Android 4.1.2)Samsung Galaxy S4 (Android 4.2.2)Samsung Galaxy S Duos (Android 4.0.4)Huawei Ascend Y300 (Android 4.1.1)Huawei Ascend Y530 (Android 4.3)
Phones running Android 4.1 (or later) works with the new Android Open Accessory Protocol Version 2.0, thus you need to update to the latest robot firmware (&= rev43).
Let us know if your phone is working at the following address:
&Wheelphone library
Wheelphone library to be used in android applications development to communicate with the robot (get sensors data and send commands).
The source code is available from the following repository:
svn checkout /gctronic/wheelphone-library/trunk/android-wheelphone-library android-wheelphone-library-read-only
Alternatively you can download directly the jar file to be included in your project&.
You can find the API documentation in the&doc&folder or you can download it from&.
&Android side
&ROS Fuerte
The android application can be downloaded from the Google Play store&, or directly from&.
The source code is available from the following repository:
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/WheelphoneROS WheelphoneROS
It's based on the&android_tutorial_pubsub&contained in the&android package.
Requirements building
1) once the application is started the IP address of the computer running&roscore&need to be inserted, then press&OK
2) on top of the window you should see &Connected& and right after the camera image that is
after some seconds you should receive the sensors values and the camera image in the computer. If you see &Robot disconnected& you need to restart
the application
&ROS Hydro
The android application can be downloaded from directly from&.
The source code is available from the following repository:
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/wheelphone_ros wheelphone_ros
How to build
download and install Andorid Studio + SDK, refer to&sudo apt-get install ros-hydro-catkin ros-hydro-ros ros-hydro-rosjava python-wstooldownload android core frome the repo&&and extract it to your
preferred dir (e.g. ~/hydro_workspace/android)open Android Studio (run studio.sh) and open a project pointing to &~/hydro_workspace/android/android_core/settings.gradle& (refer to previous dir path); build the project (this can take a while...)download the &wheelphone_ros& project (svn repo) and put it inside the &android_core& directorymodify the file &settings.gradle& inside the &android_core& directory in order to include also the &wheelphone_ros& projectclose and reopen Android S the wheelphone project should be available for building
Alternatively you can download directly a virtual machine which includes all the system requirements you need to start playing with ROS and Wheelphone from the following link&&(based
on the VM from&); this is the easiest way!
How to run
1) once the application is started the IP address of the computer running&roscore&need to be inserted, then press&Connect
2) on top of the window you should see &Connected& and right after the camera image that is
after some seconds you should receive the sensors values and the camera image in the computer. If you see &Robot disconnected& you need to restart
the application
Useful links
This is a monitor interface of the Wheelphone based on ROS:
You can move the robot through the interface or through the keyboard: arrow keys to move and enter to stop.
Here is the nodes involved in ROS:&
A video of the this demo can be seen here&.
&ROS Fuerte
Requirements running
&(previous version not tested), refers also to the&
The source code is available from&. It's based on the&rosjava_tutorial_pubsub&contained
in the&rosjava package.
Follow these steps to start the PC-side node:
download the&modify the script&start-ros.sh&in the&bin&directory with the correct IP address of the host computerexecute&start-ros.sh&(if the script isn't executable type&chmod +x -R path-to/bin&where bin is the bin directory of the zip)
&ROS Hydro
Requirements
; you can download a virtual machine with ROS Hydro already installed (Ubuntu) from here&; type the following commands in a terminal to install rosjava:
sudo apt-get updatesudo apt-get install openjdk-6-jresudo apt-get install ros-hydro-rosjava
Alternatively you can download directly a virtual machine which includes all the system requirements you need to start playing with ROS and Wheelphone from the following link&&(based
on the VM from&); this is the easiest way!
How To Build
cd ~/hydro_workspace/mkdir -p rosjava/srccd srccatkin_create_rosjava_pkg rosjava_catkin_package_wheelphonecd ..catkin_makesource devel/setup.bashcd src/rosjava_catkin_package_wheelphonecatkin_create_rosjava_project my_pub_sub_tutorialcd ../..catkin_makedownload the&&and substitute the &my_pub_sub_tutorial& directory with the content
of the zipcd ~/hydro_workspace/rosjavacatkin_make
How To Run
open a terminal and type:
export ROS_MASTER_URI=&(IP should be the host machine IP, e.g. 192.168.1.10)export ROS_IP=IP (the same IP as before)
open a second terminal and type the previous two commandsin the first terminal type &roscore&in the second terminal type:
cd ~/hydro_workspace/rosjava/src/rosjava_catkin_package_wheelphone/my_pub_sub_tutorialcd build/install/my_pub_sub_tutorial/bin./my_pub_sub_tutorial com.github.rosjava_catkin_package_wheelphone.my_pub_sub_tutorial.Listener
Useful links
&ROS Tools
you can use&&to visualize odometry information, type &rosrun rviz rviz& and open one of the following configuration files depending
on your ROS version&.you can use&&or&&to visualize a diagram of the nodes and topics available in ROS simply type &rxgraph& or &rqt_graph& in a terminal
&Navigation
&Wheelphone markers navigation
Wheelphone makes a tour of the apartment taking snapshot pictures and then returns back to the charging station.
This application shows the potentiality of the Wheelphone robot in an home environment. With the help of some target points identified with different markers, the Wheelphone robot is able to navigate from one room to the oth moreover it
takes pictures and uploads them to a web page. When the Wheelphone battery is low it can automatically charge itself thanks to the docking station.
There are two tabs: one illustrates some sensors values, the target detection information (direction and orientation), the current state of the robot and som the second one shows the camera view and when a frame target is detected a nice
augmented reality letter is visualized.
The application is designed for the following sequence:
the robot moves around looking for once detected it approaches the docking station and charges itself for a while
the robot goes out of the charger, takes a picture and then looks around for the first marker (living room); once detected it goes towards the marker until it reaches it, rotates 180 degrees and takes a picture
the robot looks for the next target (kitchen); once detected it goes towards the marker and takes a picture. Then the sequence is repeated.
In the &Robot& tab you can see the HTTP address to which to connect in order to see the pictures taken by the robot.
Frame target detection is performed using the Vuforia Augmented Reality SDK (license agreements:&).
A nice video of the demo can be seen here&. The following
image shows the history of a complete tour taken from the HTTP page published by the Wheelphone:
The markers used in the demo can be donwloaded from here:&,&,&.
A similar application was developed also for iPhone, have a look&&for more information.
The android application can be downloaded from the Google Play store&, or directly from&.
The source code is available from the following repository:
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/WheelphoneTargetNavigation WheelphoneTargetNavigation
A version of the application without rendering on the phone display (no 3D letter visualized on target position) is available from the f this version was created since the rendering causes the application to be unstable:
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/WheelphoneTargetNavigation_no_rendering WheelphoneTargetNavigation_no_rendering
1) prepare the docking station with the marker&, the &navigation targets& with markers&&and&&and place them in a triangular shape in such a way that form the docking
station the robot is able to detect the &living room&, from the &living room& the robot is able to detect the &kitchen& and from the kitchen the robot is able to detect the docking station, like shown in the following figures:
2) once the application is started you should see &Connected& on top of the window, otherwise you need to restart the application (back button, turn off the robot, turn on the robot, select the app from the list)
3) the robot start searching (pivot rotation) the marker id 2 (living room); when the robot finds the marker it goes towards it until it is near, then it rotates for about 180 degrees saying what target it found and then takes a picture that will be automatically
updated on the web page. In case the marker isn't found then after 30 seconds the robot start searching the next target&
4) the searching sequence is: target id 2 (living room), target id 3 (kitchen), target id 0/1 (charger station). When the robot is approaching the charging station it need two id, one big to be detected at long distances and one small used to center itself
to the docking station when it is near the charger. If the robot fails to connect to the charger station, then it applies some movements to try making a good cont anyway in case after a while it hasn't reach the contact then it search
for the next target. In case of success it charges itself for a while (user definable), then it goes out of the charger, rotates for about 180 degrees saying what target it found and then takes a picture.
The following figure explains the values and parameters available in the application:
&Wheelphone Navigator
This is a navigation application. It allows the robot to navigate an environment looking for targets while avoiding obstacles. It has two modules to avoid the obstacles: (1)the robot’s front proximity sensors and (2)the camera + Optical Flow.
Requirements building
Eclipse: 4.2Android SDK API level: 18 (JELLY_BEAN_MR2)Android NDK: r9&OpenCV: 2.4.6&
Requirements running
Android API version: 14 (ICE_CREAM_SANDWICH)Back cameraOpenCV: 2.4.6&&(Android app)
Building process
This application has some JNI code (C/C++), so it is necessary to have the android NDK to compile the C/C++ code. Once you have the NDK, the C/C++ code can be compiled by running (while at the jni folder of the project):
${NDKROOT}/ndk-build –B
Note:&Make sure that the NDKROOT and OPENCVROOT environment variables are set to the NDK and OpenCV SDK paths respectively.
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/Wheelphone_navigator Wheelphone_navigator
How to interact with the application: add at least two targets and then tap on “start”. This makes the robot go between all the targets in its list, while avoiding the obstacles.
&Autonomous docking
&Wheelphone blob docking
This demo uses OpenCV to detect a colored blob placed on
the blob is used to give the robot a direction to follow to reach the docking station. When the robot is near the docking it detect a black line (placed on the ground) and follow
it to correctly orient itself towards the charging contacts. The project contains also a stripped version of&&(only
HTTP server) that let the user start and stop the demo remotely from a PC or another phone.
Requirements building
Developer requirements (for building the project):
Requirements running
User requirements (to run the application on the phone):
the OpenCV package is required to run the appl on Google Play you can find&&that let you install easily the needed library
The android application can be downloaded from the Google Play store&, or directly from&.
The source code is available from the following repository:
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/WheelphoneBlobDocking WheelphoneBlobDocking
1) once the application is started the robot start moving around with obstacle avoidance enabled looking for a docking station
2) take the robot in your hands and press the &Blob tab& that show you the camera view. Point the robot to the docking station and touch on the screen to select the blob to follow as shown in the following figure:
3) place the robot on the ground and press the &Calibrate sensors& button to calibrate the robot be sure to remove any object near the robot
4) set a threshold corresponding to the value of the ground sensors related to the black line used to centering to if the ground sensor value & threshold then the black line is detected
5) place the robot away from the charger (1 or 2 meters) and let i when the robot reaches the charging station it will stay there
There is also a web page you can navigate with any browser inserting the address given in the &Robot tab&; in this page you'll see 5 motion commands (forward, backward, left, right, stop); stop is used to stop the robot, the others to start the robot.
&Wheelphone target docking
This demo uses the Vuforia Augmented Reality SDK to detect a frame target placed on
the target is used to give the robot a direction to follow to reach the docking station. With this library you get also the orientation of the robot respect
to the target, that is re with this information it's easier for the robot to be aligned to the charging station before reaching it. The project contains also a stripped version of&&(only
HTTP server) that let the user start and stop the demo remotely from a PC or another phone.
A video of the this demo can be seen here&.
Requirments building
Developer requirements (for building the project):
The android application can be downloaded from the Google Play store&, or directly from&.
The source code is available from the following repository:
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/WheelphoneTargetDocking WheelphoneTargetDocking
1) prepare the docking station with the marker&&as shown in the following figure:
2) once the application is started you should see &Connected& on top of the window, otherwise you need to restart the application (back button, turn off the robot, turn on the robot, select the app from the list)&
3) the robot starts searching for the charging station rotating on place at little steps
4) take the robot on your hands, place it on the ground and press &Calibrate sensors& (remove any object near the robot); if the phone camera is not centered you can also set a camera offset (move the slider in the position of the phone camera)
5) place the robot away from the charger (1 or 2 meters) and let i when the robot reaches the charging station it will stay there
There is also a web page you can navigate with any browser inserting the address given in the &Robot tab&; in this page you'll see 5 motion commands (forward, backward, left, right, stop); stop is used to stop the robot, the others to start the robot.
The &Target tab& shows the camera view and when a marker is detected a nice augmented reality
this can be used to know the maximum distance at which the charging station can be still detected.
&Remote control
&Telepresence with Skype
Wheelphone allows worldwide telepresence simply using Skype. One can have a real time video feedback from a remote place where the robot is moving. To control the Wheelphone robot movement, just open the Skype numpad and pilot the robot while seeing the real
time images.&
A video of the this demo can be seen here&.
start Skype application on the phone and loginconnect the sound cable to the phone in order to send commands from S make sure that Skype recognizes the robot as earphone, if this isn't the case try to disconnect and reconnect the audio cableremove the micro USB cable from the phone because USB communication has priority over the audio communication at the momentenable the &Answer call automatically& option in the Skype settings in order to automatically respond to incoming call and be able to immediately control the robotstart the Skype application in the computer (or alternatively from another phone), login and make a video call to the account you use on the phone connected to the robot (if you are in the same room disable the microphone)now you should be able t open the Skype numpad on the computer side and use it to move the robot, the commands are shown in the following figure:
&Wheelphone remote
The robot can be easily controlled via a browser after having configured the computer and the robot to be in the same wifi network. The project is based on the&spydroid (v6.0)application, refer to&&for
more information.&
The android application can be downloaded from the Google Play store&, or directly from&.
The source code is available from the following repository:
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/WheelphoneRemote WheelphoneRemote
1) make sure to have the latest&&insta unfortunately there is no VLC plugin for mobile phone so at the moment
the video cannot be visualized if a connection&phone to robot&is performed (only movment commands are available).&
2) connect the phone and the computer within the same network&
3) once the application is started you'll see the address to be inserted in the browser to be able
open a browser an if all is working well you'll see the following html page:
4) click on the &Connect& button in the html page and you should rece on the right you've some commands to send to the robot, i.e. sounds, motions, ...
&Wheelphone remote mini
This is a stripped version of&Wheelphone remote&that contains only an HTTP server used to receive the motion commands for the robot. It is implemented to have a minimal interface to pilot the robot both from the PC and another
Moreover the&&is used to track a marker when it is in the robot view (pivot rotation at the moment).
The android application can be downloaded from the&, or directly from&.
The source code is available from the following repository:
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/WheelphoneRemoteMini WheelphoneRemoteMini
it is based on the&.
1) connect the phone and the computer within the same network&
2) once the application is started you'll see the address to be inserted in the browser to be able
open a browser an if all is working well you'll see the following html page:
3) press the &Start animation& button to start the visualization of various images that will change based on the commands sent to the robot t coupled with the images there will be also sounds related to motion commands
If you try to raise the Wheelphone robot, or place an object near the front proximity sensors you'll see a reaction from the robot.
Moreover you can place a marker (ID0 or ID1) on front of the robot and the robot will start to follow it (pivot rotation only), moreover information about the target will be shown on the screen, like in the following figure:
&Interactive demos
&Wheelphone Pet
This is a PET application. It makes the robot behave like a pet. A behavior module allows it to show expressions and behave accordingly. Additionally has a face-tracking and text-to-speech modules to be able to interact with the environment.
Requirements building
Eclipse: 4.2Android SDK API level: 18 (JELLY_BEAN_MR2)Android NDK: r9&
Building process:
This application has some JNI code (C/C++), so it is necessary to have the android NDK to compile the C/C++ code. Once you have the NDK, the C/C++ code can be compiled by running (while at the jni folder of the project):
${NDKROOT}/ndk-build –B
Note:&Make sure that the NDKROOT environment variable is set to the NDK path
Requirements running
Android API version: 14 (ICE_CREAM_SANDWICH)Front facing camera
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/Wheelphone_pet Wheelphone_pet
Speech recognition has been partially implemented using googles API. It would be better to use cmusphinx.The FaceExpressions module, used to express the robot state, could be extended to support animations instead of static images. For this purpose, libgdx can be used.
How to interact with the application: start the application and stand where the phone can see your face.
&Wheelphone Alarm
This is an alarm application that interfaces with the Wheelphone to provide a playful experience when the alarm rings.
Requirements building
Eclipse: 4.2Android SDK API level: 18 (JELLY_BEAN_MR2)
Building process:
Nothing special: download the code, import to Eclipse and run.
Requirements running
Android API version: 14 (ICE_CREAM_SANDWICH)Proximity sensor on the phone
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/Wheelphone_alarm Wheelphone_alarm
State:&It is a concept app, so it actually does not actually ring.
It is possible to set the alarm time, the escape speed and a delay in which the robot will be stopped before starting escaping around when ringing. The alarm can be set to anytime within the next 24 hours. When the alarm is ringing, the phone proximity sensor
will also detect the approaching hand and will make the robot run away from the hand. In order to setup an alarm follow these steps:
once the application is started you should see &Connected& on top of the window, otherwise you need to restart the application (back button, turn off the robot, turn on the robot, select the app from the list)setup an alarm (or use the &quick alarm& button to set an alarm in the next 5 seconds); choose also the desired escape speed and waiting timepress the&home&button to leave the application running in the background, this way you can still use your phone be aware not to press the&back&button because you'll
terminate the applicationpress the&power&button to put the phone in sleep and put the phone on its charger station (hint: place the robot near your bed)wake up!
The alarm song that is played is the one chosen in the system.
&Basic demos
&Monitor advanced
This is the Wheelphone demo that shows you all the sensors values (proximity, ground, battery) and let you move the robot and sets some onboard behaviors. This is the first application that you will probably install to start playing with the robot.
The android application can be downloaded from the Google Play store&,
or directly from&.
The source code is available from the following repository:
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/Wheelphone Wheelphone
The application has two tabs, in left one the sensors information are displayed, in the right one you can choose to start the &stay-on-the-table& behavior that basically let the robot move safely on any table (not a black one though) without the risk to falling
down (put the robot on the table before starting the behavior).
&Wheelphone odometry
This is a demo that can be used as a starting point to work with the odometry information received from the robot. The application let the robot either rotate in place by an angle (degrees) specified by the user or move forward/backward for a distance (cm)
specified by the user.&
The android application can be downloaded directly from&.
The source code is available from the following repository:
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/WheelphoneOdomMotion WheelphoneOdomMotion
once the application is started you should see &Connected& on top of the window, otherwise you need to restart the application (back button, turn off the robot, turn on the robot, select the app from the list)set the movement speed in the &Settings& section (given in mm/s)now you can decide whether to do a rotation (robot rotates on place for the given degrees) or a linear movement (robot goes forward for the given distance in cm); set the desired value and press the related &GO& button based on the motion you want to doif you want to stop the robot you can press the &Stop robot& button in any moment
The following figure show the interface of the application:
In the &Robot status& section are visualized: current left and right speed given to the robot (mm/s); the absolute position X (mm, pointing forward), Y (mm, pointing left), theta (degrees); the battery level
&Wheelphone tag detection
This is a demo that can be used as a starting point to work with the vuforia tag detection library (). You can use this application
to get useful information about the tag detected such a you can analyse the performance of the tag detection for instance setting a speed and seeing the maximum speed at which the robot can still detect the tag rotating in place, or seeing
the maximum distance at which the phone can detect the tag.
The android application can be downloaded directly from&.
The source code is available from the following repository:
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/WheelphoneTargetDebug WheelphoneTargetDebug
once the application is started you should see &Connected& on top of the window, otherwise you need to restart the application (back button, turn off the robot, turn on the robot, select the app from the list)now you can either take the robot in your hands and manually debug target detection or set motors speed and see how perform target detection at various speeds (e.g. max rotation speed in which the marker is still detected)
Actually you can also start the application without being connected to the robot only for tracking debugging purposes.
The following figure show the interface of the application:
in the &Speed status& you can set the motors speed (mm/s)in the &Target status& you have the current marker id detected (from 0 to 49), the X and Y screen coordinates of the marker center, the distance (scene units) from the marker, the orientation of the robot (degrees) and the angle between the robot and the
target (degrees); moreover you receive timing informations about the tracking processing (min, max, current, average in ms)in the &Robot status& you can enable/disable speed control and soft acceleration and you have the battery valuein the &Phone status& you get information about CPU and RAM usage
&Wheelphone Follow
This is a follow the leader application. It allows the robot to follow an object in front of it using the front facing proximity sensors.
Requirements building
Eclipse: 4.2Android SDK API level: 18 (JELLY_BEAN_MR2)
Building process:
Nothing special: download the code, import to Eclipse and run.
Requirements running
Android API version: 14 (ICE_CREAM_SANDWICH)
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/Wheelphone_follow Wheelphone_follow
Start the application and place something within 5cm in front of the robot. This will make the robot start following the object.
&Wheelphone Recorder
This is a recording application. It makes the robot record while it moves. The purpose of this application is to provide the perspective of the robot while it is moving.&
Be aware that this application is not stable, take it as a starting point.
For a workaround on how to record a video directly from the robot refer to section [].
Requirements building
Eclipse: 4.2Android SDK API level: 18 (JELLY_BEAN_MR2)
Requirements running
Android API version: 14 (ICE_CREAM_SANDWICH)Back camera
Building process:
Nothing special: download the code, import to Eclipse and run.
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/Wheelphone_recorder Wheelphone_recorder
Tap on the screen to start and stop the recording/movement. The recorded video is QUALITY_480P (720 x 480 MP4), saved into the sdcard in the following path: /DCIM/wheelphone_capture.mp4.
&Wheelphone Faceme
This is face-tracking application. It keeps track of the position of one face using the front facing camera, then controls the robot to try to face always the tracked face.
Requirements building
Eclipse: 4.2Android SDK API level: 18 (JELLY_BEAN_MR2)Android NDK: r9&
Building process:
This application has some JNI code (C/C++), so it is necessary to have the android NDK to compile the C/C++ code. Once you have the NDK, the C/C++ code can be compiled by running (while at the jni folder of the project):
${NDKROOT}/ndk-build –B
Note:&Make sure that the NDKROOT environment variable is set to the NDK path
Requirements running
Android API version: 14 (ICE_CREAM_SANDWICH)Front facing camera
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/Wheelphone_faceme Wheelphone_faceme
State:&Could be extended to allow setting the rotation/acceleration constant, and draw a square on top of the tracked face.
How to interact with the application: start the application and stand where the phone can see your face.
&Blob following
The demo shows the potentiality of having a mobile phone attached to the robot, in this example the phone is responsible of detecting a color blob and to send commands to the robot in order to follow it.
A video of the this demo can be seen here&.
Requirements building
Developer requirements (for building the project):
Requirements running
User requirements (to run the application on the phone):
the OpenCV package is required to run the appl on Google Play you can find&&that let you install easily the needed library
The android application can be downloaded from&.
The source code is available from the following repository:
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/WheelphoneBlobDetection WheelphoneBlobDetection
It's based on the&blob-detection&example contained in the&OpenCV-2.4.2-android-sdk.
Once the application is started you will see that all the values are 0; that's normal, you have to select the blob to follow in order to start the hunting. Select the &Blob tab& and touch on the blo the robot should start moving, otherwise
you need to restart the application (back button, turn off the robot, turn on the robot, select the app from the list).
The following figures show the interface of the application:
&Line following
This demo shows one of the possible behaviors that can be programmed on the phone, in particular it instructs the robot to follow a line. The threshold and logic (follow a black or a white line) can be choosen from the application.
The android application can be downloaded from&.
The source code is available from the following repository:
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/WheelphoneLineFollowing WheelphoneLineFollowing
once the application is started you should see &Connected& on top of the window, otherwise you need to restart the application (back button, turn off the robot, turn on the robot, select the app from the list)the robot start moving immediately, thus take it in your hands for doing some settingsset the base speed of the robot in the bottom of the window, section &Settings&set the threshold of the black line you want to follow, basically when the ground value is smaller than the threshold it means tha use the ground sensors values reported in the &Ground sensors& section to help you choose the best valueplace the robot on the ground and press the button &Calibrate sensors&, remove all object near the rob this is needed to be sure that the front proximity sensors are well calibrated since the onboard obstacle avoidance is also enabled
by defaultput the robot near a black line and check that it can follow it
The following figure shows the interface of the application:
Webots allows you to simulate the Wheelphone robot and program different behaviors for the robot in simulation before transferring them onto the real robot. You can download the Wheelphone simulation files from&&(which
includes several demo programs) as well as the corresponding student&.
&Bootloader
The robot firmware can be easily updated through this app when a new version is available. Refer to the&&guide for more information on how to update your robot.
The project is based on the example&Web Bootloader Demo - OpenAccessory Framework&contained in the&.
&Newest firmware
This bootloader version has to be used to update the robot to the last developed firmware with all new features and bugs corrected. Pay attention that this version breaks compatibility with old applications, section&&shows the list of compatible applications that depend on the Wheelphone library.&
The android application can be downloaded directly from&&(firmware rev 3.0).
The source code is available from the following repository:
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/WheelphoneBootloader WheelphoneBootloader
&Older firmwares
This bootloader has to be used to return to the old firmware that is compatible with the applications developed before the Wheelphone Library release.
The android application can be downloaded from&&(firmware
The source code of the application can be download from&&(Eclipse
&Hardware revision 0.1
This bootloader has to be used for robots numbered from 10 to 15; the firmware that will be uploaded to the robot is the same as described in section&.&
The android application can be downloaded from&&(firmware
The source code of the application can be download from&&(Eclipse
&Calibration
Since the motors can be slightly different a calibration can improve the behavior of the robot in terms of speed.
An autonomous calibration process is implemented onboard: basically a calibration is performed for both the right and left wheels in three modes that are forward with speed control enabled, forward with speed control disabled and backward with speed control
disabled. In order to let the robot calibrate istelf a white sheet in which a black line the robot will measure the time between detection of the line at various speed. The calibration sheet can be downloaded from the following link&.&
A small application was developed to accomplish the calibration that can be downloaded from&;
simply follow the directions given.&
The source code is available from the following repository:
svn checkout /gctronic/wheelphone-applications/trunk/android-applications/WheelphoneCalibration WheelphoneCalibration
相关文章推荐

我要回帖

更多关于 ros android studio 的文章

 

随机推荐