Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add calibration lookup table for treadmill brake #294

Open
bruno-f-cruz opened this issue Aug 28, 2024 · 2 comments · May be fixed by #289
Open

Add calibration lookup table for treadmill brake #294

bruno-f-cruz opened this issue Aug 28, 2024 · 2 comments · May be fixed by #289
Assignees
Milestone

Comments

@bruno-f-cruz
Copy link
Collaborator

This will likely require changing the current rig schema and adding a first citizen class to the aind behavior services
There are two options to keep this data:

  • lookup table
  • fitted function parameters

@Poofjunior can you give me an example of what data we should be keeping, along with domains of the data?

Once we decide this format, we also need to refactor the bonsai code to calibrate the online manipulation

@Poofjunior
Copy link

The calibration data I'm collecting is:

  • input: current (12-bit but upscaled to 0 - 65535)
  • output: measured torque (12-bit, not upscaled, with 2048 being the "zero torque" output.)

We want a table that stores:

  • input: desired current
  • output: actual current to produce desired current

@bruno-f-cruz
Copy link
Collaborator Author

Implemented in #289

@bruno-f-cruz bruno-f-cruz linked a pull request Sep 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants