Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Read Sensor Servo Offset VI

LabVIEW 2013 Robotics Module Help

Edition Date: June 2013

Part Number: 372983D-01

»View Product Info

Requires: LabVIEW Robotics Starter Kit

Owning Palette: Starter Kit 1.0 VIs, Starter Kit 2.0 VIs

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.

Examples

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.

Examples

Refer to the following VIs for examples of using the Read Sensor Servo Offset VI:

  • labview\examples\robotics\Starter Kit 1.0\Starter Kit 1.0.lvproj
  • labview\examples\robotics\Starter Kit 2.0\Starter Kit 2.0.lvproj

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit