Raspberry Pi directory structure for Robobot

From Rsewiki
(Difference between revisions)
Jump to: navigation, search
(Contact with robot)
(Contact with robot)
Line 9: Line 9:
 
On your PC, start Putty (install if you don't have it)
 
On your PC, start Putty (install if you don't have it)
  
[[File:putty-10.197.218.202.png | 400px]]
+
[[File:putty-10.197.218.202.png | 500px]]
 +
 
 
Putty (Linux version), but Putty is also available for Windows and Mac.
 
Putty (Linux version), but Putty is also available for Windows and Mac.
  
Line 16: Line 17:
 
Press 'open' to connect.
 
Press 'open' to connect.
  
[[File:putty_connect_jack.png | 400px]]
+
[[File:putty_connect_jack.png | 500px]]
 +
 
 +
Connection to robot Jack (with another IP)
 +
 
 +
The connection will ask for username and password.
 +
* username is 'local'
 +
* password is (ask)
 +
 
 +
Then you should see the the files in the home directory (like shown above).
  
 
== Directory structure ==
 
== Directory structure ==

Revision as of 12:12, 25 January 2024

Back to Robobot B

Contact with robot

When you start the robot, and the robot has contact with the wifi net (DTU Secure), then its IP address is shown on the small display (above the name and battery voltage).

This IP (e.g. 10.197.218.202) gives access to an SSH (secure shell).

On your PC, start Putty (install if you don't have it)

Putty-10.197.218.202.png

Putty (Linux version), but Putty is also available for Windows and Mac.

Insert the IP, select the connection type (SSH), then port should default to 22.

Press 'open' to connect.

Putty connect jack.png

Connection to robot Jack (with another IP)

The connection will ask for username and password.

  • username is 'local'
  • password is (ask)

Then you should see the the files in the home directory (like shown above).

Directory structure

On the Raspberry, the main directories and files are:

/home/local/
+-git        - Directory for libraries available from a GIT repository (mostly Teensy/Arduino libraries).
|  +-CLI11   - Directory with command line interface library CLI (from GitHub)
+-svn        - Directory for software from the subversion repository (Robobot-specific software).
|  +-regbot  - Directory for the Teesny software (firmware); this part is called Regbot.
|  |  +- regbot_gui Debug app for Regbot.
|  |  +- regbot     The firmware source code.
|  +-robobot        Directory for the Robobot-specific code.
|  |  +- setup      Directory with some default configuration files.
|  |  +- raubase    The basic Raspberry Pi software for Robobot.
|  |  |  +-src      Source code 
|  |  |  +-build    Build directory with Makefile
|  |  |  |  +-log*  Directory for data-monitoring logfiles
|  |  |  |  Makefile     Compile directives
|  |  |  |  robot.ini    Configuration and calibration file
|  |  |  |  raubase      Compiled base mission control software
|  |  |  CMakeList.txt   Directives to generate a Makefile using cmake
|  |  +- ip_disp   Small app to update the IP address of the Raspberry.
|  |     log_ip_dist.txt Logfile for IP and temperature monitoring
|  +-log     - Directory with logfiles from ip_disp (IP, users and CPU temperature)
on_reboot.bash  - Script to start applications that should start after a reboot (ip_disp)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox