Regbot

From Rsewiki
(Difference between revisions)
Jump to: navigation, search
(Install software tools)
 
(82 intermediate revisions by one user not shown)
Line 1: Line 1:
REGBOT is a small robot designed for exercises for our linear control course (PID control) ([http://www.dtu.dk/english/Service/Phonebook/Person?id=14453 author]).
 
  
[[File:regbot-final.png|200px]]
+
REGBOT is a small robot designed for exercises for our linear control 1 course (PID control) ([http://www.dtu.dk/english/Service/Phonebook/Person?id=14453 author]).
  
==Introduction==
+
[[file:foto_of_Alba_40.png | 250px]]
  
[[Design overview]] can be found here.
+
Figur 1. Version 2 of Regbot.
  
[[User interface]] with configuration using the client, and how to write a mission.
+
== Overview ==
  
REGBOT comes in 4 versions:
+
This section is intended for users.
* version 1A - with robot numbers 1..15 (to be upgraded to version 3)
+
* version 2B - with robot numbers 16..52
+
* version 2.9 - last prototype before version 3
+
* [[REGBOT version 3]] - first version 3 prototype
+
  
[[REGBOT robot status]]
+
[[Getting started]] with REGBOT GUI.
  
Video presentation https://www.youtube.com/watch?v=mOz4eNkjTM0
+
[[User interface]], how to configure the robot using the Regbot client.
  
==Use software as is==
+
[[Control]] overview gives some information on control possibilities.
  
To use regbot two software parts are needed - one for the robot (regbot.hex) and the client (regbot.exe (for windows)).
+
[[Mission]], how to write a mission.
  
====Client software====
+
[[Regbot calibration]] for better performance.
  
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.
+
[[Regbot maintenance]] for longer life.
  
A USB driver must be installed to get in contact with the robot - see [[installation in windows]] - should be OK in Windows 10
+
[[Regbot GUI]] installation.
  
The driver will (on Windows) create a com-port when connected - most likely com3 or any higher number.
+
== Install notes ==
When the robot is disconnected by unplugging the cable, then the client may need to be restarted if it was connected when the cable was unplugged (no connection detect in windows).
+
  
Then run the regbot.exe file.
+
This section is primarily installation notes and more detailed descriptions not usually needed by the end-user.
  
 +
[[Regbot command interface]] - command list.
  
===Robot software===
+
[[Software installation]] on REGBOT (Arduino) and tool-chain - Linux
  
The robot software is compiled into a regbot.hex file, that is loaded into the robot flash disk using a teensy loader.
+
[[Regbot old stuff]]
 
+
The loader is found here https://www.pjrc.com/teensy/loader.html.
+
 
+
Start the teensy loader - it looks like this
+
 
+
[[File:teensy_loader_button.png]]
+
 
+
Load the regbot.hex file (found on file sharing for the course) into the teensy loader application.
+
 
+
With the robot connected over USB, press the small "software load" button on the teensy board.
+
 
+
NB! It may take up to 30 seconds before the teensy loader detects the board.
+
 
+
[[File:teensy_button_regbot.png]]
+
 
+
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 itself also. On some robots a total power cycle is needed to reboot properly. The robot should blink every 1 second with a short blink.
+
 
+
==Software download==
+
 
+
The source code for the robot and the client is available here.
+
NB! the software source can not be compiled without the proper tool-chain (compiler and library for the robot and python and libraries for the client)
+
 
+
repository for software - client and robot (version 3)
+
 
+
* client: svn://repos.gbar.dtu.dk/jcan/regbot/qtgui
+
* robot:  svn://repos.gbar.dtu.dk/jcan/regbot/regbot
+
 
+
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 .
+
 
+
*Robot software (including regbot.hex): version 3.484 (as of 15 November 2016) - modular control implement done, new mission elements and servo control, adaption for hardware version 3 incl wifi and battery shutdown control.
+
*Robot software (including regbot.hex): version 3.371 (as of 9 August 2016) - changed to more modular control implement - not finished - use version 2 for demos
+
*Robot software (including regbot.hex): version 2.301 (as of 10 February 2016) - fixed error in disabling faulty velocity estimator.
+
*Robot software (including regbot.hex): version 2.290 (as of 5 February 2016) - fixed loss of ID if saved mission has more than a few lines.
+
*Robot software (including regbot.hex): version 2.285 (as of 31 January 2016) - ready for F16 course
+
 
+
*Client software : 3.484 (as of 15 November 2016) - adapted to hardware 3, modular control settings and wifi access
+
*Client software : 3.371 (as of 9 August 2016) - changed to more modular control implement - not finished - use version 2 for demos
+
*Client software : 2.290 (as of 5 February 2016) - fixed tilt offset error en saved configuration file (regbot.ini)
+
*Client software (including regbot.exe for windows): 2.285 (as of 31 January 2016) - ready for F16 course
+
 
+
=== Older version===
+
 
+
repository for software - client and robot (version 2)
+
 
+
* client: svn://repos.gbar.dtu.dk/jcan/regbot/version2/qtgui
+
* robot:  svn://repos.gbar.dtu.dk/jcan/regbot/version2/regbot
+
 
+
==Install software tools==
+
 
+
The software tools to modify the software requires some tools.
+
 
+
* [[Software installation]] and tool-chain - Linux
+
* [[installation in windows]] with some of the tool-chain
+
* [[Schematic]]
+
 
+
==Extensions==
+
 
+
===Camera based line follower===
+
 
+
This extension adds a Raspbery Pi with a Raspberry Pi camera on top of the robot.
+
The Raspberry Pi is connected to the robot base through the UART serial connection.
+
 
+
[[File:regbotVision.JPG|200px]]
+
 
+
The [[Camera based line follower]] detects a tape line in front of the robot and controls the robot to follow the line through the serial connection.
+
 
+
Go to [[Vision based Line Follower]] for detailed information on the project and instructions on how to setup a new Line Following RegBot.
+
 
+
 
+
===ESP8266===
+
 
+
This extension adds wireless communication to the robot through the Teensy's UART serial connection.
+
 
+
 
+
[[File:esp8266.jpg|200px]]
+
 
+
Go to [[ESP8266]] for instructions on how to add the ESP8266 to the Teensy board.
+

Latest revision as of 19:16, 7 December 2023

REGBOT is a small robot designed for exercises for our linear control 1 course (PID control) (author).

Foto of Alba 40.png

Figur 1. Version 2 of Regbot.

[edit] Overview

This section is intended for users.

Getting started with REGBOT GUI.

User interface, how to configure the robot using the Regbot client.

Control overview gives some information on control possibilities.

Mission, how to write a mission.

Regbot calibration for better performance.

Regbot maintenance for longer life.

Regbot GUI installation.

[edit] Install notes

This section is primarily installation notes and more detailed descriptions not usually needed by the end-user.

Regbot command interface - command list.

Software installation on REGBOT (Arduino) and tool-chain - Linux

Regbot old stuff

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox