Skip to content

Commit

Permalink
Added 3MPTracker to repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo.marques committed Oct 1, 2024
1 parent 1fdf097 commit 751274c
Show file tree
Hide file tree
Showing 29 changed files with 12,382 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Marta/3MPTracker/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"bonsai.sgen": {
"version": "0.1.0-build230726",
"commands": [
"bonsai.sgen"
]
}
}
}
4 changes: 4 additions & 0 deletions Marta/3MPTracker/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* text=auto
*.cmd text eol=crlf
*.bat text eol=crlf
*.bonsai text
14 changes: 14 additions & 0 deletions Marta/3MPTracker/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Bonsai scripting files
.vs
.vscode
bin
obj
Packages
Data
data
*.bin
*.avi
*.dll
*.exe.settings
Bonsai.exe.WebView2

16 changes: 16 additions & 0 deletions Marta/3MPTracker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# BonFly

## Setting up

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
* [Visual Studio Code](https://code.visualstudio.com/) (recommended for editing code scripts and git commits)
* [.NET Framework 4.7.2 Developer Pack](https://dotnet.microsoft.com/download/dotnet-framework/thank-you/net472-developer-pack-offline-installer) (required for intellisense when editing code scripts)
* [Git for Windows](https://gitforwindows.org/) (recommended for cloning and manipulating this repository)
* [Visual C++ Redistributable for Visual Studio 2012](https://www.microsoft.com/en-us/download/details.aspx?id=30679) (native dependency for OpenCV)
* [FTDI CDM Driver 2.12.28](https://www.ftdichip.com/Drivers/CDM/CDM21228_Setup.zip) (serial port drivers for HARP devices)
* [Spinnaker SDK 1.29.0.5](https://www.flir.com/support-center/iis/machine-vision/downloads/spinnaker-sdk-download/spinnaker-sdk--download-files/#anchor4) (device drivers for FLIR cameras)


You can download the latest release of tensorflow.dll [here](https://www.tensorflow.org/install/lang_c#download_and_extract) and copy it inside your Extensions folder. You can click [here](https://github.com/bonsai-rx/sleap) for further instructions on install sleap in Bonsai.
177 changes: 177 additions & 0 deletions Marta/3MPTracker/bonsai/Bonsai.config

Large diffs are not rendered by default.

Binary file added Marta/3MPTracker/bonsai/Bonsai.exe
Binary file not shown.
9 changes: 9 additions & 0 deletions Marta/3MPTracker/bonsai/NuGet.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="Gallery" value="Gallery" />
<add key="Bonsai Packages" value="https://www.myget.org/F/bonsai/api/v3/index.json" />
<add key="Bonsai Boost" value="https://www.myget.org/F/bonsai-boost/api/v3/index.json" />
<add key="Community Packages" value="https://www.myget.org/F/bonsai-community/api/v3/index.json" />
</packageSources>
</configuration>
1 change: 1 addition & 0 deletions Marta/3MPTracker/bonsai/setup.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
powershell -ExecutionPolicy Bypass -File .\setup.ps1
9 changes: 9 additions & 0 deletions Marta/3MPTracker/bonsai/setup.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
if (!(Test-Path "./Bonsai.exe")) {
Invoke-WebRequest "https://github.com/bonsai-rx/bonsai/releases/download/2.7.2/Bonsai.zip" -OutFile "temp.zip"
Move-Item -Path "NuGet.config" "temp.config"
Expand-Archive "temp.zip" -DestinationPath "." -Force
Move-Item -Path "temp.config" "NuGet.config" -Force
Remove-Item -Path "temp.zip"
Remove-Item -Path "Bonsai32.exe"
}
& .\Bonsai.exe --no-editor
3 changes: 3 additions & 0 deletions Marta/3MPTracker/src/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Bonsai scripting files
*.bonsai.layout

Loading

0 comments on commit 751274c

Please sign in to comment.