| title | Spatial Mechanics - Collaboration Guide | ||
|---|---|---|---|
| description | Contributing guide for Spatial Mechanics course content | ||
| tableOfContents | true | ||
| sidebar |
|
Read this course at: https://siliconwit.com/education/spatial-mechanics/
A course on 3D kinematics and spatial mechanism analysis for mechatronic systems. Covers kinematic joints, degrees of freedom, transformation matrices, spatial rotations, matrix methods for link modeling, advanced spatial mechanisms, and computer simulation with Python.
| # | Title |
|---|---|
| 1 | Kinematic Joints and Degrees of Freedom |
| 2 | Planar Transformations and Mathematical Foundations |
| 3 | 3D Rotation Matrices and Spatial Transformations |
| 4 | Elementary Matrix Methods and Link Modeling |
| 5 | Advanced Spatial Mechanisms Analysis |
| 6 | Computer Simulation and System Integration |
spatial-mechanics/
├── index.mdx
├── kinematic-joints-degrees-freedom.mdx
├── planar-transformations-foundations.mdx
├── spatial-rotations-transformations.mdx
├── matrix-methods-link-modeling.mdx
├── advanced-spatial-mechanisms.mdx
├── computer-simulation-integration.mdx
└── README.md
All commands below work on Linux, macOS, and Windows (using Git Bash, PowerShell, or Command Prompt with Git installed).
First time setup (clone the repo once):
git clone https://github.com/SiliconWit/spatial-mechanics.git
cd spatial-mechanicsEvery time you start working:
git pull origin mainAlways pull before making changes. This avoids conflicts with other contributors.
After making your changes:
git add .
git commit -m "Brief description of what you changed"
git push origin mainIf you get a push error (someone pushed before you):
git pull origin mainGit will merge the changes automatically in most cases. If there is a conflict, Git will mark the conflicting lines in the file. Open the file, choose which version to keep, then:
git add .
git commit -m "Resolve merge conflict"
git push origin mainTips to avoid conflicts:
- Always
git pull origin mainbefore you start working - Push your changes as soon as you are done, do not hold onto uncommitted work for long
- Coordinate with other contributors so two people are not editing the same file at the same time
- Fork the repository: SiliconWit/spatial-mechanics
- Clone your fork:
git clone https://github.com/YOUR-USERNAME/spatial-mechanics.git cd spatial-mechanics - Make your changes and commit:
git add . git commit -m "Brief description of what you changed" git push origin main
- Open a Pull Request against
mainon the original repository - Describe what you changed and why in the PR description
- All lesson files use
.mdxformat <BionicText>may be used in later content sections but not in lesson intro paragraphs- Code blocks should include a title attribute:
```python title="rotation_matrix.py" import numpy as np R = Rz(theta) @ Ry(phi) @ Rx(psi) ```
- Use Starlight components (
<Tabs>,<TabItem>,<Steps>,<Card>) where appropriate - Keep paragraphs concise and focused on practical application
- Include working Python examples that readers can run directly
- Mathematical notation uses LaTeX in MDX
Clone the main site repository and initialize submodules:
git clone --recurse-submodules <main-repo-url>
cd siliconwit-com
npm install
npm run devTo test a production build:
npm run buildThis course content is released under the MIT License.