newspeoplefor developersdocumentationdownloads

nAngularPFeedbackLoop Class Reference

#include <nangularpfeedbackloop.h>

List of all members.


Detailed Description

A proportional feedback loop with correct angular interpolation.

(C) 2004 RadonLabs GmbH

Definition at line 15 of file nangularpfeedbackloop.h.


Public Member Functions

 nAngularPFeedbackLoop ()
 constructor
void Reset (nTime time, float stepSize, float gain, float curState)
 reset the time
void SetGain (float g)
 set the gain
float GetGain () const
 get the gain
void SetGoal (float c)
 set the goal
float GetGoal () const
 get the goal
void SetState (float s)
 set the current state directly
float GetState () const
 get the current state the system is in
void Update (nTime time)
 update the object, return new state

Constructor & Destructor Documentation

nAngularPFeedbackLoop::nAngularPFeedbackLoop  )  [inline]
 

constructor

Definition at line 52 of file nangularpfeedbackloop.h.


Member Function Documentation

void nAngularPFeedbackLoop::Reset nTime  time,
float  stepSize,
float  gain,
float  curState
[inline]
 

reset the time

Definition at line 67 of file nangularpfeedbackloop.h.

void nAngularPFeedbackLoop::SetGain float  g  )  [inline]
 

set the gain

Definition at line 80 of file nangularpfeedbackloop.h.

float nAngularPFeedbackLoop::GetGain  )  const [inline]
 

get the gain

Definition at line 90 of file nangularpfeedbackloop.h.

void nAngularPFeedbackLoop::SetGoal float  c  )  [inline]
 

set the goal

Definition at line 100 of file nangularpfeedbackloop.h.

float nAngularPFeedbackLoop::GetGoal  )  const [inline]
 

get the goal

Definition at line 110 of file nangularpfeedbackloop.h.

void nAngularPFeedbackLoop::SetState float  s  )  [inline]
 

set the current state directly

Definition at line 120 of file nangularpfeedbackloop.h.

float nAngularPFeedbackLoop::GetState  )  const [inline]
 

get the current state the system is in

Definition at line 130 of file nangularpfeedbackloop.h.

void nAngularPFeedbackLoop::Update nTime  time  )  [inline]
 

update the object, return new state

Definition at line 164 of file nangularpfeedbackloop.h.


The documentation for this class was generated from the following file:

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.