e-puck2 PC side development: Difference between revisions

From GCtronic wiki
Jump to navigation Jump to search
Line 1: Line 1:
=Robot configuration=
=Robot configuration=
The robot is initially programmed with a firmware that includes many demos that could be started based on the selector position, refer to section [http://www.gctronic.com/doc/index.php?title=e-puck2#Standard_firmware Standard firmware] for a list of all the demos and related description. <br/>
The robot is initially programmed with a firmware that includes many demos that could be started based on the selector position, refer to section [http://www.gctronic.com/doc/index.php?title=e-puck2#Standard_firmware Standard firmware] for a list of all the demos and related description. <br/>
If the robot isn't programmed with the standard firmware or if you want to be sure to have the last firmware on the robot, you need to program the robot, refer to section [http://www.gctronic.com/doc/index.php?title=e-puck2_PC_side_development#Robot_firmware_update Robot firmware update].<br/>
If the robot isn't programmed with the standard firmware or if you want to be sure to have the last firmware on the robot, you need to program it with the last standard firmware, refer to section [http://www.gctronic.com/doc/index.php?title=e-puck2_PC_side_development#Robot_firmware_update Robot firmware update].<br/>
When you want to interact with the robot from the computer you need to place the selector in position 3 if you want to work with Bluetooth, or in position 8 if you want to work with USB. For working with the WiFi there is a special firmware, refer to section [].
When you want to interact with the robot from the computer you need to place the selector in position 3 if you want to work with Bluetooth, or in position 8 if you want to work with USB. For working with the WiFi there is a special firmware, refer to section [].



Revision as of 09:33, 26 July 2018

Robot configuration

The robot is initially programmed with a firmware that includes many demos that could be started based on the selector position, refer to section Standard firmware for a list of all the demos and related description.
If the robot isn't programmed with the standard firmware or if you want to be sure to have the last firmware on the robot, you need to program it with the last standard firmware, refer to section Robot firmware update.
When you want to interact with the robot from the computer you need to place the selector in position 3 if you want to work with Bluetooth, or in position 8 if you want to work with USB. For working with the WiFi there is a special firmware, refer to section [].

Robot firmware update

Now and then there could be an official firmware update for the robot and it's important to keep the robot updated with the last firmware to get possibile new features, improvements and for bug fixes.
The onboard programmer run a GDB server, so we use GDB commands to upload a new firmware, for this reason a toolchain is needed to upload a new firmware to the robot.
The following steps explain how to update the robot firmware:
1. Download the package containing the required toolchain and script to program the robot: Windows, [Linux], [Mac OS]
2. Download the last version of the robot standard firmware, see section Robot standard firmware
3. Extract the package and put the firmware file (with elf extension) inside the package directory
4. Run the script:

Windows: double click program.bat
Linux:
Mac OS:

Webots

TBD

ROS

TBD