Robobot base software installation: Difference between revisions

From Rsewiki
No edit summary
No edit summary
Line 22: Line 22:
=== IP display ===
=== IP display ===


Go to svn/robobot/ip_disp, the app that handles display of IP and listens to the start button.
Go to svn/robobot/ip_disp, the app that handles the display of IP and listens to the start button.


  cd ~/svn/robobot/ip_disp
  cd ~/svn/robobot/ip_disp
Line 30: Line 30:
  make -j3
  make -j3


This will be styarted at reboot
This will be started at reboot


=== Teensy_interface ===
=== Teensy_interface ===


Go to ~/svn/robobot/teensy_interface, this app communicates with the Teensy and translates to and from MQTT.
Go to ~/svn/robobot/teensy_interface. This app communicates with Teensy and translates to and from MQTT.


  cd ~/svn/robobot/teensy_interface
  cd ~/svn/robobot/teensy_interface
Line 41: Line 41:
  cmake ..
  cmake ..
  make -j3
  make -j3
== Configure ==
The Teensy interface is configured using an initialization file ''robot.ini''.
Copy the "factory" settings to the build directory:
cd ~/svn/robobot/teenst_interface
cp robot.ini build/
This file looks like this (svn version 864 of 9 Jan 2025):

Revision as of 09:25, 9 January 2025

Back to Robobot B

Robobot base software

To make the initial copy from the repository (Linux)

cd
mkdir -p svn
cd svn
svn checkout svn://repos.gbar.dtu.dk/jcan/robobot

To update with a new version

cd
cd svn/robobot
svn update

If you want to see the source code on other platforms, the repository is open for reading.

Compile base software

IP display

Go to svn/robobot/ip_disp, the app that handles the display of IP and listens to the start button.

cd ~/svn/robobot/ip_disp
mkdir build
cd build
cmake ..
make -j3

This will be started at reboot

Teensy_interface

Go to ~/svn/robobot/teensy_interface. This app communicates with Teensy and translates to and from MQTT.

cd ~/svn/robobot/teensy_interface
mkdir build
cd build
cmake ..
make -j3

Configure

The Teensy interface is configured using an initialization file robot.ini.

Copy the "factory" settings to the build directory:

cd ~/svn/robobot/teenst_interface
cp robot.ini build/

This file looks like this (svn version 864 of 9 Jan 2025):