Major site overhaul: resources hub, content migration, new blog posts, forms

- Redesign /resources as sectioned hub with category pages
- Migrate 645 Squarespace CDN images to local /images/content/
- Create 9 new news/blog posts with event photos
- Fix blog post slugs (rename gibberish filenames)
- Rename Design Blog to Design Blogs across site
- Remove education page, replace with Platform in nav
- Redesign rover repair request form with dynamic rover entries
- Add school search combobox to contact, store, and repair forms
- Extract shared KNOWN_SCHOOLS data
- Make /rover-expansion-3d-printing dynamically pull from MDX
- Add related resources sections to product pages
- Fix homepage broken /quote links to /store
- Store page: sample kit cards, inline quote builder, mailing list opt-in
This commit is contained in:
Tim Hadwen
2026-03-01 17:14:05 +10:00
parent 707c49dd3f
commit ae3ae18585
1212 changed files with 2477 additions and 6948 deletions

View File

@@ -15,7 +15,7 @@ First, find some grain-like material, for example, jewellery beads or seeds. The
### Heres Our Approach
**Constant - **A constant is a variable that never changes when the code is run. In python, we write this in all capitals with underscores between words.
**Constant -** A constant is a variable that never changes when the code is run. In python, we write this in all capitals with underscores between words.
#### Digger
@@ -51,7 +51,7 @@ Servo interpolation is a technique we implemented to smooth out the servo moveme
#### 1) Setting the Constants:
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/d377ed57-dbcc-437b-89fa-e3742a364b60/d_constants.PNG)
![](/images/content/c98b73-d_constants.png)
First, we set the constants for the two servos on the digger.
@@ -79,7 +79,7 @@ The constants we have provided might need to be tweaked for your specific rover.
**2) Define the Functions:**
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/c4f207e9-b9fe-48ad-9941-c1a0ca77f167/d_functions.PNG)
![](/images/content/946ed9-d_functions.png)
Next, well make some functions to make operating the arm easier. The three functions to be defined are Up, Tip, and Down. We define these functions simply to make the code cleaner. Each function is in charge of moving the servos to the correct positions to move the arm up, down, and to tip.
@@ -87,13 +87,13 @@ It can help to look at section (1) and see the constants are grouped in each of
#### **3) Prepare the Servos:**
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/622edb2f-a60d-4be8-a9a6-33d645cbe876/d_down.PNG)
![](/images/content/7499bb-d_down.png)
Back in the main code, start by setting the down position on the digger.
#### **4) Make Your Routine:**
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/f77ede6c-9194-4ace-925c-7162d0e20faf/d_routine.PNG)
![](/images/content/e33809-d_routine.png)
From here, you can choose how your digger operates depending on the layout of the construction site. Make sure to use the functions when making your sequence. The digger in our example acts out the following sequence:
@@ -115,7 +115,7 @@ From here, you can choose how your digger operates depending on the layout of th
Note that the slow_servo function is not included in this snippet.
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/b0da1700-525e-42af-b309-41156aaf2e08/d_complete.PNG)
![](/images/content/795493-d_complete.png)
####
@@ -123,19 +123,19 @@ Note that the slow_servo function is not included in this snippet.
#### 1) Setting the Constants:
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/3b5b529e-fc27-4be3-be4b-f80fd93e60d7/t_constants.PNG)
![](/images/content/5eee43-t_constants.png)
Similar to the digger, we need to set the tipper servo positions. tip_up is when the tray is fully tipped, and tip_rest is the resting position of the tray.
#### **2) Prepare the Servos:**
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/f11ea60e-ae0c-4bb4-9853-5e18c48284ca/t_sevo.PNG)
![](/images/content/9d29a9-t_sevo.png)
The servo is set to the rest position.
#### **3) Make Your Routine:**
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/483aa30c-eaaa-41c2-8497-3aa1d1a79758/t_routine.PNG)
![](/images/content/a6a70e-t_routine.png)
From here, you can choose how your tipper operates depending on the layout of the construction site. The tipper in our example acts out the following sequence after being loaded:
@@ -149,66 +149,8 @@ From here, you can choose how your tipper operates depending on the layout of th
#### Complete Code:
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/5d8f18b1-d237-4947-8200-a6641cecbdbf/t_complete.PNG)
![](/images/content/ae3050-t_complete.png)
#### Tip:
Feel free to use the sensors on the robots to make your way around the construction site. Add tape on the ground for line follow and walls for proximity sensing. Additionally, the loads dont have to be grain-like either. Try using the digger to load up a meloncube.
### Related Posts
Resources
[
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/1639455538805-9NI7CPKR7IYG6D4RBKAN/high+quality+sumo.png)
](/resources/creating-a-sumo-unit)
[All](/resources?category=All)
[Creating A Sumo Unit For Your Digital Technologies Class](/resources/creating-a-sumo-unit)
[All](/resources?category=All)
How to run a sumo unit in your digital technologies classroom.
[Read More →](/resources/creating-a-sumo-unit)
[All](/resources?category=All)
[
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/1637464845856-BBPD7GTIIHHOSJCFORWF/the+ultrasonic+sensor.png)
](/resources/ultrasonic-sensor)
[All](/resources?category=All), [Guides](/resources?category=Guides)
[The Ultrasonic Sensor](/resources/ultrasonic-sensor)
[All](/resources?category=All), [Guides](/resources?category=Guides)
Learn all about the ultrasonic sensor!
[Read More →](/resources/ultrasonic-sensor)
[All](/resources?category=All), [Guides](/resources?category=Guides)
[
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/1625616494179-LZHZP5MUA0E0MQKEB7HC/cropped+image+4.png)
](/resources/year-7-digital-tech-at-st-peters)
[All](/resources?category=All), [Customer Stories](/resources?category=Customer+Stories)
[Case Study: Year 7 Digital Tech at St Peters Lutheran College](/resources/year-7-digital-tech-at-st-peters)
[All](/resources?category=All), [Customer Stories](/resources?category=Customer+Stories)
See how Meg Foley at St Peters conducted a challenge for their Year 7s using Micromelon.
[Read More →](/resources/year-7-digital-tech-at-st-peters)
[All](/resources?category=All), [Customer Stories](/resources?category=Customer+Stories)