MotoHawk:Blocks:Pseudo Encoder

From MotoHawk
Revision as of 20:09, 20 July 2012 by Wendy.Bolakowski (talk | contribs) (Created page with "=Pseudo-Encoder= This MotoHawk™ block controls the software simulation of the crank encoder. ==Block ID== motohawk_encoder_pseudo ==Library== MotoHawk_lib/Encoder Blocks...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Pseudo-Encoder

This MotoHawk™ block controls the software simulation of the crank encoder.

Block ID

motohawk_encoder_pseudo

Library

MotoHawk_lib/Encoder Blocks

Description

Pseudo Encoder.PNG

Controls the software simulation of the crank encoder. When Enable is set to true, and [EncoderState.html Encoder State] is ZERO_SPEED, then the given RPM is applied.
[InstantRPM.html InstantRPM] and [AverageRPM.html AverageRPM] will update to reflect the given pseudo RPM.

Subsequent application of real crank encoder teeth are ignored until Enable is set to false.

RPM is a uint16, in units of 1.

Block Parameters

This MotoHawk™ block has no user-definable parameters.