e-puck2 programmer development and Wheelphone: Difference between pages

From GCtronic wiki
(Difference between pages)
Jump to navigation Jump to search
 
No edit summary
 
Line 1: Line 1:
==Configuring the Programmer's settings==
=Features=
The on-board programmer of the e-puck2 is based on the [https://github.com/blacksphere/blackmagic/wiki Blackmagic probe open source project] firmware. <br>
* compatible with <b>Android</b> phones (USB communication) and <b>iPhone</b> (sound cable)
Some functionalities has been added on top of the original project to be able to control some functions of the robot, for example the power on or power off.
* telepresence (with Skype and robot remote control) <span class="plainlinks">[https://www.gctronic.com/doc/index.php/Wheelphone-videos#Wheelphone_robot_telepresence_with_Skype_.28iPhone_and_Android.29 <img width=16 src="https://www.gctronic.com/doc/images/phones-video-call-icon.png">]</span>
* avoid obstacles <span class="plainlinks">[https://www.gctronic.com/doc/index.php/Wheelphone-videos#Wheelphone_robot_capabilities <img width=16 src="https://www.gctronic.com/doc/images/phones-video-call-icon.png">]</span>
* doesn't fall from table <span class="plainlinks">[https://www.gctronic.com/doc/index.php/Wheelphone-videos#Wheelphone_robot_capabilities <img width=16 src="https://www.gctronic.com/doc/images/phones-video-call-icon.png">]</span>
* runs on carpet <span class="plainlinks">[https://www.gctronic.com/doc/index.php/Wheelphone-videos#Wheelphone_overcomes_obstacles <img width=16 src="https://www.gctronic.com/doc/images/phones-video-call-icon.png">]</span>
* docking station <span class="plainlinks">[https://www.gctronic.com/doc/index.php/Wheelphone-videos#Wheelphone_navigation_and_automatic_docking_with_markers <img width=16 src="https://www.gctronic.com/doc/images/phones-video-call-icon.png">]</span>
* charges phone
* available examples (apps) source code


To access to the available commands of the programmer, it is needed to connect to the programmer with a GDB console. <br>
For more technical specifications refer to the page [{{fullurl:Wheelphone technical specifications}} Wheelphone technical specifications]
To do so, you have to type the following command in a terminal window with the com port used by the '''e-puck2 GDB Server'' port of your e-puck2 :
<pre>
arm-none-eabi-gdb
target extended-remote your_gdb_com_port
</pre>


Once connected to the programmer with GDB, you can type
=Getting started=
<pre>monitor help</pre> or <pre>mon help</pre> to print the available commands of the programmer.
Informations on how to start playing with the Wheelphone robot can be found in the following page [{{fullurl:Getting started}} Getting started].


One command in particular is useful, which is mon select_mode. It is used to select in which mode the '''e-puck2 Serial Monitor''' com port will work.<br>
=Software=
mode 1 = the serial monitor is connected to the UART port of the main processor<br>
You can find the software related to the <b>Android</b> platform on the following page [{{fullurl:Android software}} <b>Android software</b>].<br/>
mode 2 = the serial monitor is connected to the UART of the ESP32<br>
You can find the software related to the <b>iPhone</b> platform on the follwing page [{{fullurl:IPhone software}} <b>iPhone software</b>].
mode 3 = the serial monitor works as a Aseba CAN to USB translator<br>


The choice made for the mode is the only setting that is stored in a flash zone of the programmer, which means the choice is remembered, even if the robot is completely turned off.
=Media=
You can find images of the Wheelphone in the following page: [{{fullurl:Wheelphone-images}} Wheelphone images].<br/>
You can find various videos of the Wheelphone in the following page: [{{fullurl:Wheelphone-videos}} Wheelphone videos].


Note : in mode 1 and 3, GDB can be used over the bluetooth connection of the e-puck2. But is is much slower than with USB and it doesn't work with Windows due to GDB limitations on this OS.
=Hands-on=
 
If you're interested in doing some mechanical experiments to play with the Wheelphone robot visit the section [{{fullurl:Hands-on}} Hands-on].
By being connected with GDB, you can also use the standard GDB command to program and debug the main processor of the e-puck2.

Latest revision as of 12:36, 27 January 2023

Features

  • compatible with Android phones (USB communication) and iPhone (sound cable)
  • telepresence (with Skype and robot remote control)
  • avoid obstacles
  • doesn't fall from table
  • runs on carpet
  • docking station
  • charges phone
  • available examples (apps) source code

For more technical specifications refer to the page Wheelphone technical specifications

Getting started

Informations on how to start playing with the Wheelphone robot can be found in the following page Getting started.

Software

You can find the software related to the Android platform on the following page Android software.
You can find the software related to the iPhone platform on the follwing page iPhone software.

Media

You can find images of the Wheelphone in the following page: Wheelphone images.
You can find various videos of the Wheelphone in the following page: Wheelphone videos.

Hands-on

If you're interested in doing some mechanical experiments to play with the Wheelphone robot visit the section Hands-on.