diff --git a/src/DataSchemas/aind_behavior_vr_foraging/rig.py b/src/DataSchemas/aind_behavior_vr_foraging/rig.py index 55f325b..a177d51 100644 --- a/src/DataSchemas/aind_behavior_vr_foraging/rig.py +++ b/src/DataSchemas/aind_behavior_vr_foraging/rig.py @@ -17,11 +17,11 @@ class Treadmill(rig.Treadmill): - break_lookup_calibration: List[ValuePair] = Field( + brake_lookup_calibration: List[ValuePair] = Field( default=[[0, 0], [1, 65535]], validate_default=True, min_length=2, - description="Break lookup calibration. Each Tuple is (0-1 (percent), 0-full-scale). \ + description="Brake lookup calibration. Each Tuple is (0-1 (percent), 0-full-scale). \ Values are linearly interpolated", ) diff --git a/src/DataSchemas/aind_vr_foraging_rig.json b/src/DataSchemas/aind_vr_foraging_rig.json index 1d0274b..4b7f390 100644 --- a/src/DataSchemas/aind_vr_foraging_rig.json +++ b/src/DataSchemas/aind_vr_foraging_rig.json @@ -535,7 +535,7 @@ "wheel_diameter": 15.0, "pulses_per_revolution": 28800, "invert_direction": false, - "break_lookup_calibration": [ + "brake_lookup_calibration": [ [ 0.0, 0.0 @@ -996,7 +996,7 @@ "title": "Invert Direction", "type": "boolean" }, - "break_lookup_calibration": { + "brake_lookup_calibration": { "default": [ [ 0, @@ -1007,7 +1007,7 @@ 65535 ] ], - "description": "Break lookup calibration. Each Tuple is (0-1 (percent), 0-full-scale). Values are linearly interpolated", + "description": "Brake lookup calibration. Each Tuple is (0-1 (percent), 0-full-scale). Values are linearly interpolated", "items": { "description": "A tuple of two values", "items": { @@ -1018,7 +1018,7 @@ "type": "array" }, "minItems": 2, - "title": "Break Lookup Calibration", + "title": "Brake Lookup Calibration", "type": "array" } }, diff --git a/src/Extensions/AindVrForagingRig.cs b/src/Extensions/AindVrForagingRig.cs index 45ef878..ce8c566 100644 --- a/src/Extensions/AindVrForagingRig.cs +++ b/src/Extensions/AindVrForagingRig.cs @@ -2657,7 +2657,7 @@ public partial class Treadmill private bool _invertDirection = false; - private System.Collections.Generic.List> _breakLookupCalibration = new System.Collections.Generic.List>(); + private System.Collections.Generic.List> _brakeLookupCalibration = new System.Collections.Generic.List>(); public Treadmill() { @@ -2668,7 +2668,7 @@ protected Treadmill(Treadmill other) _wheelDiameter = other._wheelDiameter; _pulsesPerRevolution = other._pulsesPerRevolution; _invertDirection = other._invertDirection; - _breakLookupCalibration = other._breakLookupCalibration; + _brakeLookupCalibration = other._brakeLookupCalibration; } /// @@ -2723,21 +2723,21 @@ public bool InvertDirection } /// - /// Break lookup calibration. Each Tuple is (0-1 (percent), 0-full-scale). Values are linearly interpolated + /// Brake lookup calibration. Each Tuple is (0-1 (percent), 0-full-scale). Values are linearly interpolated /// [System.Xml.Serialization.XmlIgnoreAttribute()] - [Newtonsoft.Json.JsonPropertyAttribute("break_lookup_calibration")] - [System.ComponentModel.DescriptionAttribute("Break lookup calibration. Each Tuple is (0-1 (percent), 0-full-scale). " + + [Newtonsoft.Json.JsonPropertyAttribute("brake_lookup_calibration")] + [System.ComponentModel.DescriptionAttribute("Brake lookup calibration. Each Tuple is (0-1 (percent), 0-full-scale). " + " Values are linearly interpolated")] - public System.Collections.Generic.List> BreakLookupCalibration + public System.Collections.Generic.List> BrakeLookupCalibration { get { - return _breakLookupCalibration; + return _brakeLookupCalibration; } set { - _breakLookupCalibration = value; + _brakeLookupCalibration = value; } } @@ -2756,7 +2756,7 @@ protected virtual bool PrintMembers(System.Text.StringBuilder stringBuilder) stringBuilder.Append("wheel_diameter = " + _wheelDiameter + ", "); stringBuilder.Append("pulses_per_revolution = " + _pulsesPerRevolution + ", "); stringBuilder.Append("invert_direction = " + _invertDirection + ", "); - stringBuilder.Append("break_lookup_calibration = " + _breakLookupCalibration); + stringBuilder.Append("brake_lookup_calibration = " + _brakeLookupCalibration); return true; } diff --git a/src/vr-foraging.bonsai b/src/vr-foraging.bonsai index f3eaeb7..2e46212 100644 --- a/src/vr-foraging.bonsai +++ b/src/vr-foraging.bonsai @@ -7289,7 +7289,7 @@ Value as IsStopped) HarpTreadmill.Calibration - BreakLookupCalibration + BrakeLookupCalibration