class Roby::YawDeltaEvent
An event which emits everytime the robot heading moves more than a given angle (in radians)
Public Instance Methods
delta()
click to toggle source
Returns the variation in heading since the last emission (in radians)
# File lib/roby/state/events.rb, line 291 def delta; State.pos.yaw - last_value end
has_sample?()
click to toggle source
True if State.pos is set
# File lib/roby/state/events.rb, line 289 def has_sample?; State.pos? end
read()
click to toggle source
Returns the current heading position (in radians)
# File lib/roby/state/events.rb, line 293 def read; State.pos.yaw end