Basebot software: Difference between revisions

From Rsewiki
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 21: Line 21:


  basebot
  basebot
  + basebot_6
  + basebot_6 (renamed to '''src''' for MSVS Code)
  | + basebot_6.ino
  | + basebot_6.ino (renamed to '''basebot_6.cpp''' for MSVS Code)
  | + Makefile
  | + Makefile
  | + src
  | + src
Line 31: 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 files (c++ code) that make it a Basebot. The "platformio.ini" tells MS PlatformIO about needed libraries etc.
The top directory "basebot" is for "MS Visual Studio (MSVS) 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.
If using MS Visual Studio, the top directory "basebot_6" must be called "src". Either rename it or make a symbolic link called src that points to basebot_6 in the same directory. Further, some MS Visual Studio Code tools work better if you rename basebot_6.ino to basebot_6.cpp.

Latest revision as of 09:34, 12 November 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  (renamed to src for MSVS Code)
| + basebot_6.ino (renamed to basebot_6.cpp for MSVS Code)
| + Makefile
| + src
| | + (basebot support files)
+ include
+ lib
+ platformio.ini
+ test 

The top directory "basebot" is for "MS Visual Studio (MSVS) 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" must be called "src". Either rename it or make a symbolic link called src that points to basebot_6 in the same directory. Further, some MS Visual Studio Code tools work better if you rename basebot_6.ino to basebot_6.cpp.