iSpike
2.1
Spike conversion library for robotics
|
#include <JointOutputChannel.hpp>
Public Member Functions | |
JointOutputChannel () | |
virtual | ~JointOutputChannel () |
void | initialize (Writer *writer, map< string, Property > &properties) |
void | setFiring (const std::vector< unsigned > &buffer) |
void | setProperties (map< string, Property > &properties) |
void | step () |
Protected Member Functions | |
void | updateProperties (map< string, Property > &properties) |
Encodes joint angles into spikes
Definition at line 14 of file JointOutputChannel.hpp.
Constructor
Definition at line 21 of file JointOutputChannel.cpp.
JointOutputChannel::~JointOutputChannel | ( | ) | [virtual] |
Destructor
Definition at line 40 of file JointOutputChannel.cpp.
void JointOutputChannel::initialize | ( | Writer * | writer, |
map< string, Property > & | properties | ||
) | [virtual] |
Initialize the channel with a reader and set of properties
The Channel assumes ownership of the Writer object.
Implements ispike::OutputChannel.
Definition at line 75 of file JointOutputChannel.cpp.
void JointOutputChannel::setFiring | ( | const std::vector< unsigned > & | buffer | ) | [virtual] |
Sets the current spike pattern
Implements ispike::OutputChannel.
Definition at line 51 of file JointOutputChannel.cpp.
void JointOutputChannel::setProperties | ( | map< string, Property > & | properties | ) | [virtual] |
Sets the properties
Implements ispike::PropertyHolder.
Definition at line 69 of file JointOutputChannel.cpp.
void JointOutputChannel::step | ( | ) | [virtual] |
Advances the channel by one time step
Implements ispike::Channel.
Definition at line 105 of file JointOutputChannel.cpp.
void JointOutputChannel::updateProperties | ( | map< string, Property > & | properties | ) | [protected] |
Updates the properties by first checking if any are read-only
Definition at line 148 of file JointOutputChannel.cpp.