Robobot

From Rsewiki
(Difference between revisions)
Jump to: navigation, search
Line 39: Line 39:
  
 
[[Instructions for getting started]]
 
[[Instructions for getting started]]
 
==Software installation ==
 
 
[[Full installation instructions]]
 
  
 
==Software description==
 
==Software description==
Line 74: Line 70:
 
This section contains instructions for setting up a clean Raspberry Pi.
 
This section contains instructions for setting up a clean Raspberry Pi.
  
[[Robobot on Raspberry PI]]
+
 
 +
[[Robobot on Raspberry PI]] specifics for ROBOBOT
 +
 
 +
[[Full installation instructions]] and ???
  
  

Revision as of 10:53, 4 January 2020

This page is for ROBOBOT, an extension of REGBOT with a raspberry pi and three wheels.

Onshape-view.png Robobot v5.png


Figure 1. Robobot (V4 - left and V5 right), - see drawing https://cad.onshape.com/documents/97c36fb21a7a858c57c0af9f/w/0d867586bc28d7a9194d7ff3/e/ca0f539fa3eee3cfe0ed4130 and https://cad.onshape.com/documents/97c36fb21a7a858c57c0af9f/w/0d867586bc28d7a9194d7ff3/e/432d56e456affc4edca37317. The camera should be able to see the floor about 105mm in front of the robot (V4 robot).

Contents

Overview

hardware

Robobot-solvej-robot-ann.png Robobot-solvej line-sensor-ann.png

ROBOBOT based on navigation box with line sensor and IR distance sensor. In this case with big rear wheels and two castor front wheels. To the right is a bottom view with line sensor and motors visible.

Robobot-solvej indre-ann.png

The navigation box opened. The main part is a Raspberry pi and the REGBOT low-level control board with a Teensy 3.5.

software

Robobot-overview.png

Figure 2. ROBOBOT is an extension of the simpler robot REGBOT. The REGBOT part controls the wheels, interfaces to sensors like an IMU (6 axis accelerometer and gyro), IR distance sensors (2), and a line edge detector. REGBOT further controls up to 3 servos and controls the battery supply. ROBOBOT is further equipped with a Raspberry Pi to allow more complicated missions. On the Raspberry Pi runs an interface process called robobot_bridge, this interfaces to a small 5-line display, to a game-pad and is the main interface to the REGBOT. The mission process collects data from the bridge and from ROBOBOT, and supplies the REGBOT with small mission code snippets. The mission process further holds the interface to the Raspberry Pi camera and may use the Open-CV library functions. The speaker allows debugging messages or other sound effects.

The ROBOBOT functions are available on the net at port number 24001. The existing user interface for REGBOT can access REGBOT functions from this port.

The gamepad can take control of the robot if the mission fails, and can be used to initiate missions or other functions using the gamepad buttons and axis.

Getting started

This section contains a quick-start guide for the user. It includes how to get the robot connected to Eduroam WiFi for easy access, an explanation of software and software structure and present a few examples to get the robots driving. Press the link below to go to the instructions page.

Instructions for getting started

Software description

Mission software

For the mission block, there is a template that illustrates how to make s mission and send it to the robot in snippets.

Mission template software

Bridge software

The bridge - called robobot_bridge - runs on the Raspberry Pi and is started when the Raspberry Pi starts.

Robobot_bridge overview

The autostart feature is implemented in '/etc/rc.local' with the following line

cd /home/local/robobot_bridge/build && ./robobot_bridge -a &

Mission software

The mission application is the primary user control for the robot.

Robobot mission application overview.

Mission is started manually from an ssh console.

Installation instructions

This section contains instructions for setting up a clean Raspberry Pi.


Robobot on Raspberry PI specifics for ROBOBOT

Full installation instructions and ???


Setup issues

A number of parameters in the REGBOT part of the robot need setting.

Some suggestions are provided here using the REGBOT GUI (available on the raspberry in the 'qtgui' directory, and in a Windows version):

Regbot settings

Hardware

The Robobot frame is 3D printed, the design is in onshape - see this link https://cad.onshape.com/documents/97c36fb21a7a858c57c0af9f/w/0d867586bc28d7a9194d7ff3/e/ca0f539fa3eee3cfe0ed4130, in the list of parts to the left it is possible to export (right-click) as STL files, that you can slice for your 3D printer.

The REGBOT part of the hardware is described on the Regbot_version_4 page.

Connection of the line display to the Raspberry pi is here Robobot Hardware.

Status

Some status for individual ROBOBOT robots may be available here. ROBOBOT status

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox