This repository was archived by the owner on May 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
update documentation based on docx #220
Open
callmewoem
wants to merge
19
commits into
master
Choose a base branch
from
robot
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d11a3a5
added
callmewoem ee233d1
added 2
callmewoem e6fd459
Update config.js
callmewoem c24f2d2
meow
callmewoem a6ba60c
meow4
callmewoem f0d9331
meow5
callmewoem 6a7aaa0
Update config.js
callmewoem b2fc97f
fixed
callmewoem 97710e5
Merge branch 'robot' of https://github.com/systemetric/robocon-websit…
callmewoem 62f96e7
floor
callmewoem a2dc3b3
fixed most issues, i have no clue about the retroreflective tape
callmewoem 9fb60ef
a
callmewoem b68e310
b
callmewoem 7e3ab1e
c
callmewoem 3396a79
d
callmewoem fe2baa7
e
callmewoem 4cbb69d
balls
callmewoem 10e9450
f
callmewoem 84d88eb
g
callmewoem File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
.vuepress/public/images/BrainBox lego attachment side profile photo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
.vuepress/public/images/BrainBox motor connector side profile photo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
.vuepress/public/images/BrainBox power connector side profile photo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
.vuepress/public/images/BrainBox servo connector side profile photo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,16 +22,16 @@ R = robot.Robot() | |
| Motor power is automatically scaled for the 3-6V motors included in the kit, if you are sourcing your own motors then see https://hr-robocon.org/docs/motors.html for how to allow faster speeds. | ||
| ::: | ||
|
|
||
| Now that everything is set up, it's time to set the motors. All the motors are stored in a list inside the Robot variable - to access the first motor, you can use `R.motors[1]`, the second motor is found with `R.motors[2]`.<br\> | ||
| Now that everything is set up, it's time to set the motors. All the motors are stored in a list inside the Robot variable - to access the first motor, you can use `R.motors[0]`, the second motor is found with `R.motors[1]`. | ||
|
|
||
| Changing the speed of the motor is easy - just set the motor to a number from -100 to 100. Immediately setting the power to 100 can have unwanted side effects, so we'll start by setting them to half power: | ||
| ```python | ||
| import time | ||
| import robot | ||
| R = robot.Robot() | ||
|
|
||
| R.motors[0] = 50 | ||
| R.motors[1] = 50 | ||
| R.motors[2] = 50 | ||
| ``` | ||
| Running this program will make your robot move forwards. Unfortunately, it will never tell it to stop moving forwards, so hopefully you put it on the floor and it hasn't driven off the table.<br> | ||
| To fix this we can set the power of the motors to 0 after a couple seconds: | ||
|
|
@@ -40,40 +40,40 @@ import time | |
| import robot | ||
| R = robot.Robot() | ||
|
|
||
| R.motors[0] = 50 | ||
| R.motors[1] = 50 | ||
| R.motors[2] = 50 | ||
|
|
||
| time.sleep(2) | ||
|
|
||
| R.motors[1] = 0 | ||
| R.motors[2] = 0 | ||
| R.motors[0] = 0 | ||
| R.moto1s[1] = 0 | ||
| ``` | ||
| To turn the robot, you just need to set one motor going forwards and the second motor going backwards. The following program makes the robot do a little dance - try it out! | ||
| ```python | ||
| speed = 50 | ||
|
|
||
| R.motors[0] = speed | ||
| R.motors[1] = speed | ||
| R.motors[2] = speed | ||
|
|
||
| time.sleep(2) | ||
|
|
||
| R.motors[1] = speed | ||
| R.motors[2] = -speed | ||
| R.motors[0] = speed | ||
| R.motors[1] = -speed | ||
|
|
||
| time.sleep(2) | ||
|
|
||
| R.motors[0] = -speed | ||
| R.motors[1] = -speed | ||
| R.motors[2] = -speed | ||
|
|
||
| time.sleep(2) | ||
|
|
||
| R.motors[1] = -speed | ||
| R.motors[2] = speed | ||
| R.motors[0] = -speed | ||
| R.motors[1] = speed | ||
|
|
||
| time.sleep(2) | ||
|
|
||
| R.motors[0] = 0 | ||
| R.motors[1] = 0 | ||
| R.motors[2] = 0 | ||
| ``` | ||
| A final note, even if you set both motors to the same power, your robot probably won't drive in a perfectly straight line. This is due to defects in the motors, and unless you get specialised motors, no two motors will have the same offset. How your robot deals with this is up to you! | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This whole file, actually, seems to have some weird spelling errors |
||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| title: Minibot Assembly | ||
| category: Hardware | ||
| position: 6 | ||
| --- | ||
| # Minibot Assembly | ||
|
|
||
| You can download instructions on how to make your minibot [here](/minibot.pdf). | ||
|
|
||
| <Embed :aspect-ratio="1/1.4142"><iframe width="100" height="141" src="https://hr-robocon.org/HowToAssembleYourMiniBot.pdf"></iframe></Embed> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the forum still up & can you sign up? Did we provide codes in their kit? If so, we should say that. If not, we should remove this entirely