diff --git a/README.md b/README.md index 52cb6c0..97c67cc 100644 --- a/README.md +++ b/README.md @@ -191,12 +191,17 @@ To achieve this, Bonsai is randomly toggling a digital output in the HARP behavi | | Audio | 213 | - | Not in use Timestamped(FrameNumber) | | | Key | 214 | - | Not in use Timestamped(FrameNumber) | | **UBX** | UBX | | | | -| **Omnicept** | EyeTracking | 215 | | Timestamped(long[]) | -| | HeartRate | 216 | | Timestamped(long[]) | -| | IMU | 217 | | Timestamped(long[]) | -| | Mouth | 218 | | Timestamped(long[]) | -| **VRTransform** | VrTimestamp | 219 | | Timestamped(long) | -| **UnityImage** | VrTimestamp | 220 | | Timestamped(long) | +| **Omnicept** | EyeTracking | 190 | | Timestamped(long[]) | +| | HeartRate | 191 | | Timestamped(long[]) | +| | IMU | 192 | | Timestamped(long[]) | +| | Mouth | 193 | | Timestamped(long[]) | +| **VRTransform** | VrTimestamp | 180 | | Timestamped(long) | +| **Georeference** | VrTimestamp | 181 | | Timestamped(long) | +| **ScreenGrabImage** | VrTimestamp | 182 | | Timestamped(int) | +| **UnityNewScene** | VrTimestamp | 185 | | Timestamped(long) | +| **UnityITI** | VrTimestamp | 186 | | Timestamped(long) | +| **PointToOriginWorld** | VrTimestamp | 187 | | Timestamped(long) | +| **PointToOriginMap** | VrTimestamp | 188 | | Timestamped(long) | # Simulation The VR simulation environment is in **VR-Alfama** folder, to set up the Unity environment follow the instructions in the README.md inside **VR-Alfama** diff --git a/Workflows/ExperimentAcquisitionVR.bonsai b/Workflows/ExperimentAcquisitionVR.bonsai index a22c65e..9fb6970 100644 --- a/Workflows/ExperimentAcquisitionVR.bonsai +++ b/Workflows/ExperimentAcquisitionVR.bonsai @@ -466,7 +466,7 @@ - 215 + 190 @@ -1186,148 +1186,21 @@ Event - 219 + 180 TimestampedU64 HarpSoftwareLogging - - - - tcp://localhost:5559 - - - - - - VRImage - - 486 - 117 - 624 - 459 - - - - - - - - - - - - tcp://localhost:5561 - RecordingStatus - - - - - - UnityRecorderStatus - - - - - - - - - - - - - Event - - 199 - TimestampedU64 - - - - - - HarpSoftwareLogging - - tcp://localhost:6000 - NewScene - - - - NewScene - - - - - - - Event - - 225 - TimestampedU64 - - - - HarpSoftwareLogging - - - - tcp://localhost:6000 - ITI - - - - ITI - - - - - - - Event - - 226 - TimestampedU64 - - - - HarpSoftwareLogging - - - - tcp://localhost:6000 - PointToOriginWorld - - - - PointToOriginWorld - - - - - - - Event - - 227 - TimestampedU64 - - - - HarpSoftwareLogging - - - - tcp://localhost:6000 - PointToOriginMap + Georeference - PointToOriginMap + Georeference @@ -1336,7 +1209,7 @@ Event - 228 + 181 TimestampedU64 @@ -1499,21 +1372,125 @@ Event - 220 + 182 TimestampedU64 HarpSoftwareLogging + + + + tcp://localhost:5561 + RecordingStatus + + + + + + UnityRecorderStatus + + + + + + + + + + + + + Event + + 184 + TimestampedU64 + + + + + + HarpSoftwareLogging + + tcp://localhost:6000 - Georeference + NewScene - Georeference + NewScene + + + + + + + Event + + 185 + TimestampedU64 + + + + HarpSoftwareLogging + + + + tcp://localhost:6000 + ITI + + + + ITI + + + + + + + Event + + 186 + TimestampedU64 + + + + HarpSoftwareLogging + + + + tcp://localhost:6000 + PointToOriginWorld + + + + PointToOriginWorld + + + + + + + Event + + 187 + TimestampedU64 + + + + HarpSoftwareLogging + + + + tcp://localhost:6000 + PointToOriginMap + + + + PointToOriginMap @@ -1522,7 +1499,7 @@ Event - 211 + 188 TimestampedU64 @@ -1672,42 +1649,40 @@ + - + - + - + - + - + - + - - - diff --git a/Workflows/Extensions/StringToInt.cs b/Workflows/Extensions/StringToInt.cs index 153e4d4..6ed2109 100644 --- a/Workflows/Extensions/StringToInt.cs +++ b/Workflows/Extensions/StringToInt.cs @@ -6,7 +6,7 @@ using System.Reactive.Linq; [Combinator] -[Description("")] +[Description("Returns the index of a a string if in the predefined string array, -1 if fails to find")] [WorkflowElementCategory(ElementCategory.Transform)] public class StringToInt {