Skip to content

Commit

Permalink
Merge pull request #520 from srobo/jdp-multipage-tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
8BitJosh authored Sep 20, 2023
2 parents f8dad10 + c0a40ab commit e15503b
Show file tree
Hide file tree
Showing 15 changed files with 57 additions and 46 deletions.
34 changes: 17 additions & 17 deletions _data/sidebar_tree.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ tree:
title: Student Robotics OS
- url: /kit/brain_board/python_libraries
title: Python Libraries
- url: /kit/brain_board/wifi
title: WiFi
- url: /kit/brain_board/web_interface
title: Web Interface
- url: /kit/brain_board/advanced
title: Advanced
- url: /kit/motor_board
Expand Down Expand Up @@ -68,15 +68,13 @@ tree:
title: Custom Firmware
- url: /programming/cheat_sheet
title: API Quick Reference
- url: /programming/simulator_programming
title: Simulator Programming
- url: /rules/
title: Rules
tree:
- url: /rules/code_of_conduct
title: Code Of Conduct
- url: /rules/safety_regulations
title: Safety Regulations
#- url: /rules/code_of_conduct
# title: Code Of Conduct
#- url: /rules/safety_regulations
# title: Safety Regulations
- url: /rules/archive
title: Game Rules Archive
- url: /tutorials/
Expand All @@ -97,12 +95,19 @@ tree:
title: PyCharm
- url: /tutorials/editors/vscode
title: Visual Studio Code
- url: /tutorials/setting_up_simulator
title: Setting up the simulator
- url: /tutorials/using_the_simulator
title: Using the simulator
- url: /tutorials/update_brain
title: Updating your brain board
- url: /tutorials/discord
title: How to use Discord
- url: /simulator/
title: Simulator
tree:
- url: /simulator/simulator_programming
title: Simulator Programming
- url: /simulator/setting_up_simulator
title: Setting up the simulator
- url: /simulator/using_the_simulator
title: Using the simulator
- url: /troubleshooting/
title: Troubleshooting
tree:
Expand All @@ -117,8 +122,3 @@ tree:
title: Microgames
- url: /competitor_resources/markers
title: Game markers
- url: /team_admin/
title: Team Admin
tree:
- url: /team_admin/discord
title: Discord Server
5 changes: 2 additions & 3 deletions competitor_resources/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ layout: page
title: Resources
---

Resources
=========
# Resources

TODO
The below pages contain downloadable resources that will be needed during development.
7 changes: 7 additions & 0 deletions competitor_resources/markers.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ title: Game markers

# Game markers

The game markers are the AprilTags that are located in defined locations around the arena.
For information about what these are check the [vision marker page]({{ site.baseurl}}/programming/vision/markers).
For guidance of where these will be located in the arena, look at this years [rules]({{ site.baseurl}}/rules).

## Download

The markers for the SR2024 competition will be released at Kickstart.
13 changes: 8 additions & 5 deletions competitor_resources/microgames.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ layout: page
title: Microgames
---

Microgames
==========
# Microgames

The microgames are way of getting familiar with your kit through a series of challenges.
The microgames are way of getting familiar with your kit through a series of small challenges.

Here is a link to the [Microgames](https://studentrobotics.org/microgames).

We recommend you work through them as a team, so you can learn from each other. If you have any issues, just ask us on [Discord](/docs/team_admin/discord).
We recommend you work through them as a team, so you can learn from each other. If you have any issues, just ask us on [Discord](/docs/tutorials/discord).


## Download

The Microgames for the SR2024 competition will be released at Kickstart.
6 changes: 3 additions & 3 deletions kit/brain_board/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ title: Brain Board - Advanced

# Brain Board - Advanced

When connected to your [Brain Board WiFi]({{ site.baseurl }}/kit/brain_board/wifi), it is possible to access the Brain Board via a terminal interface.
The Brain Board is running Student Robotics OS, a purpose-built Linux distribution.
When connected to your [Brain Board's WiFi]({{ site.baseurl }}/kit/brain_board/web_interface), it is possible to access the Brain Board via a terminal interface.
The Brain Board is running the [Student Robotics OS]({{ site.baseurl}}/kit/brain_board/robot_os).

<div class="warning">
Proceed at your own risk. We only provide limited support for these advanced features.
Expand All @@ -19,7 +19,7 @@ Please bear in mind the following:
- We may need you to upgrade the OS which will overwrite any changes.
- Any modifications you make must be in line with [the rules]({{ site.baseurl }}/rules).
- We reserve the right to inspect your Brain Board at any time.
- Feel free to tinker. If you are stuck, ask in [Discord]({{ site.baseurl }}/team_admin/discord), we may be able to help.
- Feel free to tinker. If you are stuck, ask in [Discord]({{ site.baseurl }}/tutorials/discord), we may be able to help.


## SSH Access
Expand Down
2 changes: 1 addition & 1 deletion kit/brain_board/python_libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you wish to use a library that isn't in the list, get in contact with us on D

<div class="info" markdown="1">
Note that for local development in the simulator you will need to install the libraries yourself.
Look at the guide on [setting up the simulator]({{ site.baseurl }}/tutorials/setting_up_simulator) to find out how to do this.
Look at the guide on [setting up the simulator]({{ site.baseurl }}/simulator/setting_up_simulator) to find out how to do this.
</div>


Expand Down
4 changes: 2 additions & 2 deletions kit/brain_board/wifi.md → kit/brain_board/web_interface.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: page
title: WiFi
title: Web Interface
---


# WiFi
# Web Interface

The Raspberry Pi that makes up your kit's brain board has WiFi which allows you to connect to and debug your robot, using any WiFi capable device (laptop, tablet, phone, etc.).
The WiFi is only available during development and will be disabled during competition matches.
Expand Down
12 changes: 12 additions & 0 deletions simulator/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: page
title: Simulator
---

# Simulator

The simulator is used for the virtual competition but can also be a useful tool for becoming more familiar with our API or planning out game strategies.

The below pages contain guidance on how to use the simulator.
Guiding you through installation, writing code and then running matches.

Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ If you need a specific version of the simulator, or want to see what changes
have been made with each version, please see the
[list of releases](https://github.com/srobo/competition-simulator/releases).
[discord]: {{ site.baseurl }}/team_admin/discord
[discord]: {{ site.baseurl }}/tutorials/discord
[programming-help]: https://discord.com/channels/900501415548579842/900501416269971457
[simulator-help]: https://discord.com/channels/900501415548579842/900501416269971458
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ speeds (▶▶ and ▶▶▶).

These differences mean that your code will need to use a different mechanism to
find the current time or to sleep within the simulation. Find out more by
heading over to the [simulator programming docs](/docs/programming/simulator_programming).
heading over to the [simulator programming docs](/docs/simulator/simulator_programming).

## Programming

Once you have the simulator installed you can begin [programming your robot](/docs/programming/simulator_programming) in the simulator.
Once you have the simulator installed you can begin [programming your robot](/docs/simulator/simulator_programming) in the simulator.
10 changes: 0 additions & 10 deletions team_admin/index.md

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion tutorials/editors/vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ you'll need to make the library available within the Python environment that you
This documentation refers to a feature which is only available from software version <code>2023.1.0</code> and later.
</div>

When connected to the [robot's WiFi hotspot]({{ site.baseurl }}/kit/brain_board/wifi), it is possible to attach VS Code's
When connected to the [robot's WiFi hotspot]({{ site.baseurl }}/kit/brain_board/web_interface), it is possible to attach VS Code's
debugger to the robot by performing the following steps:

1. Ensure the [Python extension](#python-extension) is installed.
Expand Down
2 changes: 1 addition & 1 deletion tutorials/getting_code_on_the_robot.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ To re-run your program, simply remove the USB stick from the robot and plug it b
## Robot Logs

When your program runs on the robot, the output of `print(...)` statements and any errors which occur are written to a log file on the USB stick as `log.txt`.
These logs are also available to view live on the [web interface]({{ site.baseurl }}/kit/brain_board/wifi).
These logs are also available to view live on the [web interface]({{ site.baseurl }}/kit/brain_board/web_interface).

0 comments on commit e15503b

Please sign in to comment.