spiri-sdk/README.md

28 lines
964 B
Markdown
Raw Normal View History

2024-01-22 15:42:59 -04:00
# Ways of running
2024-01-22 15:42:59 -04:00
There are two main ways of running this software.
2024-01-22 15:42:59 -04:00
Most users are recomended to install [VirtualBox](https://www.virtualbox.org/), create a new
VM, and use the supplied VDI as the disk image. You will likely want
to increase memory limits and CPU count above the default.
Advanced users can also use the SDK as a docker image. It pairs well with
[distrobox](https://github.com/89luca89/distrobox) to better
integrate it with their existing linux workflows.
```bash
distrobox create --image git.spirirobotics.com/spiri/spiri-sdk-desktop:main
distrobox enter spiri-sdk-desktop-main
cd /opt/spiri-sdk/PX4-Autopilot/
make px4_sitl gazebo-classic #Start the simulator
2024-01-23 15:47:46 -04:00
```
2024-05-09 17:22:46 -03:00
# Building
```bash
#Note that because this is running in a container, the -o output flag must be relative to the current directory.
# We mount the current working directory in the docker container as part of this script.
./virtualize.sh build ./ -s 100gb -o sdk.vdi
2024-05-09 17:22:46 -03:00
```