class Orocos::RobyPlugin::DeviceInstance

A DeviceInstance object is used to represent an actual device on the system

It is returned by Robot.device

Public Instance Methods

period(new_period) → new_period click to toggle source
period → current_period or nil

Gets or sets the device period

The device period is the amount of time there is between two samples coming from the device. The value is a floating-point value in seconds.

# File lib/orocos/roby/robot.rb, line 20
dsl_attribute(:period) { |v| Float(v) }