|Download Help (Windows Only)|
Requires: LabVIEW Robotics Starter Kit
Reads and returns the amount by which the zero, or straight-forward, position of the ultrasonic distance sensor is calibrated to differ from the zero position of the sensor servo.
If you use the Robotics Hardware Setup Wizard to set up your Starter Kit robot, the wizard guides you through calibrating the sensor to be offset by the appropriate amount, and then saves the offset value on the Single-Board RIO (sbRIO). This VI reads that value from the sbRIO.
|starter kit host in is a reference to the communication session between the host VI and the FPGA on the robot. Use the Starter Kit initialization VI that is appropriate for your application to generate this LabVIEW class object.|
|error in describes error conditions that occur before this node runs. This input provides standard error in functionality.|
|starter kit host out is a reference to the communication session between the host VI and the FPGA on the robot. You can wire this output to other Starter Kit VIs.|
|ccw offset angle (rad) returns the angle, in radians, by which the zero, or straight-forward, position of the ultrasonic distance sensor is offset from the zero position of the sensor servo. The angle is measured counterclockwise from the center of the robot as you view the robot from above. Thus, positive values fall to the left of center, and negative values fall to the right.|
|error out contains error information. This output provides standard error out functionality.|
Refer to the following VIs for examples of using the Read Sensor Servo Offset VI: