New pages
From Rsewiki
- 11:16, 4 September 2024 Basebot main code (hist | edit) [7,496 bytes] Jca (talk | contribs) (Created page with "Back to [Basebot]] === Main code === The main code is in ''basebot_6.ino'' (sometimes renamed to ''basebot_6.cpp). The code is based on the Arduino environment. Here the normal C-main function is hidden. But ''setup()'' is called first, followed by an endless loop that calles ''loop()''. ===== Setup ===== The ''setup()'' function is like this and initializes all support modules: void setup() // INITIALIZATION { // to be able to print to USB interface Serial....")
- 10:14, 2 September 2024 Basebot modules (hist | edit) [3,854 bytes] Jca (talk | contribs) (Created page with "Back to Basebot == Module description == === Main code === === Support modules === ==== Motor blocks ==== 400px Motor voltage is translated to a PWM at 65kHz where the average value corresponds to the set motor voltage. Current battery voltage is taken into consideration. PWM = motorVoltage * MAX_PWM/(battery_voltage - voltageLoss) The motor controller has a minimum pulse width. If the motor voltage is not zero, a minimum PWM is...")
- 08:32, 1 September 2024 Prepare for compile (hist | edit) [2,444 bytes] Jca (talk | contribs) (Created page with "Back to Basebot == Development environment (IDE) == === Arduino === Open Arduino and select the '''basebot_6.ino'''. 500px Then, set the board to Teensy 4.1. 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'...")
- 08:01, 1 September 2024 Basebot software (hist | edit) [1,203 bytes] Jca (talk | contribs) (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_...")
- 16:46, 29 August 2024 Compile and upload code (hist | edit) [1,820 bytes] Jca (talk | contribs) (Created page with "Back to Basebot. == Compile the code == Use the PlatformIO -> PROJECT TASKS -> teensy 4.1 -> General -> build to compile the project. It should now compile with a "SUCCESS" result, something like the one shown here: 500px")
- 15:57, 29 August 2024 Import code to Visual Studio (hist | edit) [1,520 bytes] Jca (talk | contribs) (Created page with "Back to Basebot == import code == Visual studio can import an Arduino project. This will make a copy of the Basebot code as a new PlatformIO project. Open the "Visuel Studio Code" and press the PlatformIO icon file:MS_Visual_Studio_Code_Platform_IO_icon.png. 500px 500px")
- 08:51, 29 August 2024 Visual studio support (hist | edit) [1,028 bytes] Jca (talk | contribs) (Created page with "Back to Basebot == Install == === Visual Studio === Use your DTU account to get a free version of Visual Studio Code. * Go to https://www.inside.dtu.dk/da/medarbejder under IT and software; there is a menu item "MS Visual Studio" that refers to https://azureforeducation.microsoft.com/devtools; go to this link.")
- 11:41, 28 August 2024 Serial port handling (hist | edit) [2,307 bytes] Jca (talk | contribs) (Created page with "Back to Basebot == Windows == == Linux == == Apple == I don't know")