[go: up one dir, main page]

Skip to content

The motor controller device for the VestibularVR closed-loop moving platform

Notifications You must be signed in to change notification settings

harp-tech/device.vestibularH2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Harp VestibularH2

This repository contains the device metadata, firmware and high-level interface to the VestibularH2 device. Below are simple getting started instructions for maintainers to create a new device using the automatic code generators.

Device metadata

Prerequisites

  1. Install Visual Studio Code
  2. Install the YAML extension.

The device.yml file in the root of the project contains the VestibularH2 device metadata. A complete specification of device registers, including any bit masks, group masks, and payload specs needs to be provided for code generation to work.

Generating interface and firmware

Prerequisites

  1. Install dotnet
  2. Install dotnet-t4
dotnet tool install -g dotnet-t4

The Generators folder contains all text templates and project files required to generate both the firmware headers and the interface for the VestibularH2 device. To run the text templating engine just build the project inside this folder.

cd Generators
dotnet build