To deploy the Bonsai code, run ./bonsai/setup.cmd
. This small script will download and regenerate the current bonsai environment (see tutorial for further details.)
These should only need to be installed once on a fresh new system, and are not required if simply refreshing the install or deploying to a new folder.
- Windows 10 or 11
- Visual Studio Code (highly recommended for editing code scripts and git commits)
- Git for Windows (highly recommended for cloning and manipulating this repository)
- .NET Framework 4.7.2 Developer Pack (required for intellisense when editing code scripts)
- Visual C++ Redistributable for Visual Studio 2012 (native dependency for OpenCV)
- FTDI CDM Driver 2.12.28 (serial port drivers for HARP devices)
- Spinnaker SDK 1.29.0.5 (device drivers for FLIR cameras)
- On FLIR website:
Download > archive > 1.29.0.5 > SpinnakerSDK_FULL_1.29.0.5_x64.exe
- On FLIR website:
- NI-DAQmx 19.0 (drivers for NI-DAQ devices)
1 - Install bonsai.sgen dotnet tool
2 - Run bonsai.sgen
targeting the root schema in src/DataSchemas
. E.g.:
To regenerate the loggers, use:
bonsai.sgen --schema "src\DataSchemas\bci-no-movement-logging.json" --namespace BciNoMovement.Logging --root BciNoMovementLogging --output "src\Extensions\BciNoMovementLogging.cs" --serializer NewtonsoftJson YamlDotNet
``