Regbot

From Rsewiki
(Difference between revisions)
Jump to: navigation, search
(Client software)
Line 17: Line 17:
 
To use regbot two software parts are needed - the one on the robot (regbot.hex) and the client (regbot.exe (for windows)).
 
To use regbot two software parts are needed - the one on the robot (regbot.hex) and the client (regbot.exe (for windows)).
  
===Client software===
+
====Client software====
  
 
Get the client software (regbot.exe) from file sharing on campusnet, place it in a directory, this directory will be default for configuration file and result files from the robot.
 
Get the client software (regbot.exe) from file sharing on campusnet, place it in a directory, this directory will be default for configuration file and result files from the robot.
Line 27: Line 27:
  
 
The run the regbot.exe file
 
The run the regbot.exe file
 +
 +
The user interface can configure and run the robot, as well as inspecting almost all values on the robot. Written in python using Qt GUI library.
 +
 +
[[User interface]]
 +
 +
====Robot software===
 +
 +
The robot software is compiled into a regbot.hex file, that is loaded into the robot flash disk using a teensy loader.
 +
 +
The loader is installed from the page https://www.pjrc.com/teensy/loader.html.
 +
 +
Start the teensy loader - it looks like this
 +
 +
[[File:teensy_loader_button.jpg]]
 +
 +
Press the "Open hex file" button and load the regbot.hex file (found on file sharing for the course).
 +
 +
With the robot connected over USB, press the small button on the teensy board.
 +
 +
[[File:teensy_button_regbot.jpg]]
 +
 +
Then press "Program" and "Reboot" on the teensy loader application. It may be necessary to press the big "reboot" or "power" button on the robot also.
  
 
==Software download==
 
==Software download==
Line 52: Line 74:
 
* [[installation in windows]] and some of the tool-chain
 
* [[installation in windows]] and some of the tool-chain
 
* [[Schematic]]
 
* [[Schematic]]
 
==User interface (Client)==
 
 
The user interface can configure and run the robot, as well as inspecting almost all values on the robot. Written in python using Qt GUI library.
 
 
[[User interface]]
 

Revision as of 08:01, 16 January 2016

Small robot intended for control-1 exercises.

Regbot-final.png

Contents

Hardware

Design overview can be found here.

REGBOT comes in 2 versions:

  • version 1A - with robot number 1..15
  • version 2B - with robot number 16..36

REGBOT robot status

Use software as is

To use regbot two software parts are needed - the one on the robot (regbot.hex) and the client (regbot.exe (for windows)).

Client software

Get the client software (regbot.exe) from file sharing on campusnet, place it in a directory, this directory will be default for configuration file and result files from the robot.

A USB driver must be installed to get in contact with the robot - see installation in windows

The driver will (on Windows) create a com-port when connected - most likely com3 or any higher number. When the robot is disconnected by unplugging the cable, then the client probably needs to be restarted if it was connected when the cable was unplugged (no connection detect in windows).

The run the regbot.exe file

The user interface can configure and run the robot, as well as inspecting almost all values on the robot. Written in python using Qt GUI library.

User interface

=Robot software

The robot software is compiled into a regbot.hex file, that is loaded into the robot flash disk using a teensy loader.

The loader is installed from the page https://www.pjrc.com/teensy/loader.html.

Start the teensy loader - it looks like this

File:Teensy loader button.jpg

Press the "Open hex file" button and load the regbot.hex file (found on file sharing for the course).

With the robot connected over USB, press the small button on the teensy board.

File:Teensy button regbot.jpg

Then press "Program" and "Reboot" on the teensy loader application. It may be necessary to press the big "reboot" or "power" button on the robot also.

Software download

  • Robot software (regbot.hex): 2.241
  • Client software for windows (regbot.exe): 2.247

(as of 1 January 2016)

repository for software - client and robot

On a Linux computer do something like this:

svn co svn://repos.gbar.dtu.dk/jcan/regbot/regbot .
svn co svn://repos.gbar.dtu.dk/jcan/regbot/qtgui .

Install software tools

The software tools to modify the software requires some tools.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox