#include <MotorControlProSVC_impl.h>
Public Member Functions | |
void | Clear () |
clear Component | |
void | Finish () |
finish Component | |
MotorSVC_impl () | |
standard constructor | |
void | setPDGain (CORBA::Double PGainL, CORBA::Double PGainR, CORBA::Double DGainL, CORBA::Double DGainR) |
set gain of PD control | |
void | Start () |
start Component | |
void | Stop () |
detect bump | |
virtual | ~MotorSVC_impl () |
destructor | |
Public Attributes | |
CORBA::Boolean | m_ClearFlag |
Flag (if component are cleared) | |
double | m_DGainL |
D gain (LeftWheel) of PD control. | |
double | m_DGainR |
D gain (RightWheel) of PD control. | |
CORBA::Boolean | m_FinishFlag |
Flag (if component are finished) | |
CORBA::Boolean | m_GainFlag |
Flag (if GAIN are changed) | |
double | m_PGainL |
P gain (LeftWheel) of PD control. | |
double | m_PGainR |
P gain (RightWheel) of PD control. | |
CORBA::Boolean | m_StartFlag |
Flag (if component are started) | |
CORBA::Boolean | m_StopFlag |
Flag (if bump are detected) | |
RTC::Logger | rtclog |
Example class implementing IDL interface Motor
Definition at line 25 of file MotorControlProSVC_impl.h.
standard constructor
Definition at line 24 of file MotorControlProSVC_impl.cpp.
MotorSVC_impl::~MotorSVC_impl | ( | ) | [virtual] |
destructor
Definition at line 32 of file MotorControlProSVC_impl.cpp.
void MotorSVC_impl::Clear | ( | ) |
clear Component
Definition at line 79 of file MotorControlProSVC_impl.cpp.
void MotorSVC_impl::Finish | ( | ) |
finish Component
Definition at line 68 of file MotorControlProSVC_impl.cpp.
void MotorSVC_impl::setPDGain | ( | CORBA::Double | PGainL, |
CORBA::Double | PGainR, | ||
CORBA::Double | DGainL, | ||
CORBA::Double | DGainR | ||
) |
set gain of PD control
PGainL | P gain (LeftWheel) of PD control |
PGainR | P gain (RightWheel) of PD control |
DGainL | D gain (LeftWheel) of PD control |
DGainR | D gain (RightWheel) of PD control |
Definition at line 41 of file MotorControlProSVC_impl.cpp.
void MotorSVC_impl::Start | ( | ) |
start Component
Definition at line 57 of file MotorControlProSVC_impl.cpp.
void MotorSVC_impl::Stop | ( | ) |
detect bump
Definition at line 90 of file MotorControlProSVC_impl.cpp.
CORBA::Boolean MotorSVC_impl::m_ClearFlag |
Flag (if component are cleared)
Definition at line 67 of file MotorControlProSVC_impl.h.
double MotorSVC_impl::m_DGainL |
D gain (LeftWheel) of PD control.
Definition at line 72 of file MotorControlProSVC_impl.h.
double MotorSVC_impl::m_DGainR |
D gain (RightWheel) of PD control.
Definition at line 73 of file MotorControlProSVC_impl.h.
CORBA::Boolean MotorSVC_impl::m_FinishFlag |
Flag (if component are finished)
Definition at line 66 of file MotorControlProSVC_impl.h.
CORBA::Boolean MotorSVC_impl::m_GainFlag |
Flag (if GAIN are changed)
Definition at line 64 of file MotorControlProSVC_impl.h.
double MotorSVC_impl::m_PGainL |
P gain (LeftWheel) of PD control.
Definition at line 70 of file MotorControlProSVC_impl.h.
double MotorSVC_impl::m_PGainR |
P gain (RightWheel) of PD control.
Definition at line 71 of file MotorControlProSVC_impl.h.
CORBA::Boolean MotorSVC_impl::m_StartFlag |
Flag (if component are started)
Definition at line 65 of file MotorControlProSVC_impl.h.
CORBA::Boolean MotorSVC_impl::m_StopFlag |
Flag (if bump are detected)
Definition at line 68 of file MotorControlProSVC_impl.h.
RTC::Logger MotorSVC_impl::rtclog |
Definition at line 75 of file MotorControlProSVC_impl.h.