|
1 | 1 | # JAX Soft Robot Modelling
|
2 | 2 |
|
| 3 | +[](https://github.com/tud-phi/jax-soft-robot-modeling/actions/workflows/test.yml) |
| 4 | +[](https://github.com/tud-phi/jax-soft-robot-modeling/actions/workflows/docs.yml) |
| 5 | +[](https://badge.fury.io/py/jsrm) |
| 6 | +[](https://www.python.org/downloads/) |
| 7 | +[](https://github.com/tud-phi/jax-soft-robot-modeling/blob/main/LICENSE.txt) |
| 8 | +[](https://tud-phi.github.io/jax-soft-robot-modelling) |
| 9 | + |
3 | 10 | This repository contains symbolic derivations of the kinematics and dynamics of various soft robots using Sympy.
|
4 | 11 | The symbolic expressions are then implemented in JAX and can be used for fast, parallelizable, and differentiable simulations.
|
5 | 12 | So far, we have focused on planar settings and implemented the following soft robots:
|
@@ -68,6 +75,61 @@ Finally, we can simulate the pendulum
|
68 | 75 | python examples/simulate_pendulum.py
|
69 | 76 | ```
|
70 | 77 |
|
| 78 | +## Documentation |
| 79 | + |
| 80 | +The full documentation is available at: https://tud-phi.github.io/jax-soft-robot-modelling |
| 81 | + |
| 82 | +### Building Documentation Locally |
| 83 | + |
| 84 | +To build and serve the documentation locally: |
| 85 | + |
| 86 | +```bash |
| 87 | +# Install documentation dependencies |
| 88 | +pip install -e ".[docs]" |
| 89 | + |
| 90 | +# Serve documentation with live reload (if mkdocs is in PATH) |
| 91 | +mkdocs serve |
| 92 | + |
| 93 | +# OR using conda environment |
| 94 | +conda run --live-stream --name jsrm mkdocs serve |
| 95 | +``` |
| 96 | + |
| 97 | +The documentation will be available at `http://127.0.0.1:8000`. |
| 98 | + |
| 99 | +### Building Documentation for Production |
| 100 | + |
| 101 | +```bash |
| 102 | +# Build static documentation (if mkdocs is in PATH) |
| 103 | +mkdocs build |
| 104 | + |
| 105 | +# OR using conda environment |
| 106 | +conda run --live-stream --name jsrm mkdocs build |
| 107 | + |
| 108 | +# Build with strict mode (for CI/development) |
| 109 | +mkdocs build --strict |
| 110 | +# OR: conda run --live-stream --name jsrm mkdocs build --strict |
| 111 | + |
| 112 | +# Deploy to GitHub Pages (maintainers only) |
| 113 | +mkdocs gh-deploy |
| 114 | +# OR: conda run --live-stream --name jsrm mkdocs gh-deploy |
| 115 | +``` |
| 116 | + |
| 117 | +You can also use the Makefile targets: |
| 118 | + |
| 119 | +```bash |
| 120 | +# Serve locally |
| 121 | +make docs-serve |
| 122 | + |
| 123 | +# Build documentation |
| 124 | +make docs-build |
| 125 | + |
| 126 | +# Build with strict mode checking |
| 127 | +make docs-build-strict |
| 128 | + |
| 129 | +# Deploy to GitHub Pages |
| 130 | +make docs-deploy |
| 131 | +``` |
| 132 | + |
71 | 133 | ## See also
|
72 | 134 |
|
73 | 135 | You might also be interested in the following repositories:
|
|
0 commit comments