bonsai-vplink

VP Link connector

A collection of tools and sample files describing how to run VP Link simulations with Microsoft Project Bonsai.

Existing VP Link users can utilize these tools to create their own VP Link loadable files which can be used to create a scalable VP Link simulation on the bonsai web site.

Other users can use the samples and documentation to experiment with creating a brain to control any of the samples.

Coming Soon – Watch for the upcoming “VP Link for Cloud Development” on the Azure Marketplace. This Azure offering will allow you to create your own simulation models, modify the samples, and update VP Link loadables for use with Bonsai. Currently it is in preview to a limited audience.

Have a question? Something not clear? Try (brainquestions at capesoftware.com)

Installation

Other Users

A VP Link loadable is a file that contains the model-specific information needed for the simulation to run on the bonsai web site. It is a zip file that contains the following information:

The structure of the sim.zip file is fixed. The vplink_interface.json needs to be at the root level of the .zip file. Any VP Link .tag files or .icf files go in a ./cfg/ directory under the root. Any .tag files present in the ./cfg/ directory will be loaded into the VP Link simulator. The .icf files are made available for the user to load at the start of an episode.

sim.zip
├── vplink_interface.json
├── cfg/
|   ├── ... TAG files ...
|   └── ... ICF files ...
├── sces/
|   └── ... Scenario files ...
├── data/
|   └──... Other Data (not used yet) ...

Usage: Running a local simulator

If you have VP Link running on your local machine, you can use the VPLinkSim_Bonsai3.exe program to connect your simulation to the Bonsai web site. This will show up as an unmanaged sim with the name, VPLink3b. The advantages of running the simulator locally are:

You should have a VP Link loadable ready to upload. Either use a loadable from one of the samples, or if you have VP Link running locally, create one from your running VP Link model using CreateBonsaiInterface.exe and CreateBonsaiLoadable.exe. Even better, use the Bonsai-enabled VP Link interface to create your customized loadable file as shown below. More information about creating a customized loadable is found here Bonsai tags page

Samples

Use these links to explore the sample VP Link models you can use to train a Bonsai brain.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.