Basebot software: Difference between revisions

From Rsewiki
No edit summary
Line 32: Line 32:


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.
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'''.
[[file:arduino_open_project.png | 500px]]
Then, set the board to Teensy 4.1.
[[file:arduino_set board.png | 500px]]
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; see [[Visual studio support | Visual studio install]]

Revision as of 09:27, 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.