Robobot: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
Figure 1. Robobot | Figure 1. Robobot, - 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). | ||
== Overview == | == Overview == |
Revision as of 09:53, 24 December 2020
This page is for ROBOBOT, an extension of REGBOT with a raspberry pi and three wheels.
Figure 1. Robobot, - 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).
Overview
hardware
ROBOBOT based on navigation box with line-sensor (Edge 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.
The motors in the image are JGB37-545 with encoder and a 1:10 gearing (max 600RPM out).
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.
Software description
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. - add also a fix to get date and time on DTU network, where NTP port is blocked.
Insert this in /etc/rc.local before the "exit 0" line
# DTU fix for time over blocked network htpdate -q www.linux.org www.freebsd.org # bridge autostart 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.
The Mission application is started manually from an ssh console.
Python interface
A python based control example - including especially camera streaming and inrerface.
Setup issues
Installation instructions
This section contains instructions for setting up a clean Raspberry Pi.
Install on raspberry on a clean SD-card.
Instructions for getting started - primarily network, Linux intro and wifi setup.
Access from PC (Linux or Windows).
Other windows tools - run graphics from Windows
Robobot on Raspberry PI specifics for ROBOBOT.
Full installation instructions - like Linux itself, sound and camera and how to connect the Raspberry disk to Windows and Linux computers.
REGBOT setup
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):
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, e.g. schematics and connector pinout.
Connection of the line display to the Raspberry pi is here Robobot Hardware.
The navigation box opened. The main part is a Raspberry pi and the REGBOT low-level control board with a Teensy 3.5.
Navigation box assembly may look a bit complex, but look here for more details.
On this page is a short assembly instruction for the navigation box.
Status
Some status for individual ROBOBOT robots may be available here. ROBOBOT status