Basebot software: Difference between revisions

From Rsewiki
(Created page with "Back to Basebot == Install SVN == The software is in an SVN repository. SVN is an open-source repository management software Adobe subversion, 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_...")
 
No edit summary
(6 intermediate revisions by the same user not shown)
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.
Line 33: Line 31:
  + test  
  + 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.
The top directory "basebot" is for "MS Visual Studio Code", the "basebot.ino" is the Arduino code and the subdirectory '''src''' is the support files (c++ code) that make it a Basebot. The "platformio.ini" tells MS PlatformIO about needed libraries etc.
 
== 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 not needed.


=== Visual studio code (Linux) ===
If using MS Visual Studio, the top directory "basebot_6" should be called "src". Either rename it or make a symbolic link called src that points to basebot_6 in the same directory. Further, some items in MS Visual Studio Code work better if you rename basebot_6.ino to basebot_6.cpp.

Revision as of 08:45, 7 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 files (c++ code) that make it a Basebot. The "platformio.ini" tells MS PlatformIO about needed libraries etc.

If using MS Visual Studio, the top directory "basebot_6" should be called "src". Either rename it or make a symbolic link called src that points to basebot_6 in the same directory. Further, some items in MS Visual Studio Code work better if you rename basebot_6.ino to basebot_6.cpp.