Basebot software: Difference between revisions

From Rsewiki
No edit summary
Line 5: Line 5:
The software is in an SVN repository.
The software is in an SVN repository.


SVN is an open-source repository management software
SVN is an open-source repository management software; see: https://subversion.apache.org/  
 
Adobe subversion, see: https://subversion.apache.org/  


Install a version for your platform.
Install a version for your platform.

Revision as of 08:23, 1 September 2024

Back to Basebot

Install SVN

The software is in an SVN repository.

SVN is an open-source repository management software; see: https://subversion.apache.org/

Install a version for your platform.

Get Basebot source

The repository address is

svn://repos.gbar.dtu.dk/jcan/basebot

If you have a command line version of SVN, then:

svn checkout svn://repos.gbar.dtu.dk

This will give you a file structure like this:

basebot
+ basebot_6
| + basebot_6.ino
| + Makefile
| + src
| | + (basebot support files)
+ include
+ lib
+ platformio.ini
+ test 

The top directory (basebot) is for "MS Visual Studio Code", the basebot.ino is the Arduino code and the subdirectory src is the support code that makes it a basebot.

Development environment (IDE)

Arduino

Open Arduino and select the basebot_6.ino.

Then, set the board to Teensy 4.1.

You should now be able to compile and upload the code to the robot.

Note

Editing the basebot files in the src subdirectory can not be done in the Arduino IDE, but maybe that is unnecessary.

The basebot will send data to the serial monitor. This data needs to be stored in a file for Matlab use, and another serial monitor or other tool probably has to be used.

Visual studio code (Linux)

Install MS Visual Studio from