Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F112815193
OncillaAnkle.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, May 13, 03:27
Size
1 KB
Mime Type
text/x-c++
Expires
Thu, May 15, 03:27 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26150278
Attached To
R6622 liboncilla
OncillaAnkle.h
View Options
#pragma once
#include <iostream>
#include <boost/shared_ptr.hpp>
#include <cca/dto/debug/DebugDTO.h>
#include <rci/nodes/ResourceNode.h>
#include <rci/nodes/Controlled.h>
#include <rci/nodes/Configurable.h>
#include <rci/nodes/Sensing.h>
#include <rci/dto/JointAngles.h>
namespace
cca
{
namespace
rci
{
namespace
driver
{
class
OncillaAnkle
;
typedef
boost
::
shared_ptr
<
OncillaAnkle
>
OncillaAnklePtr
;
/**
* Node class, representing the foot/ankle of the quadruped robot. Not actuated,
* but force sensing.
*/
class
OncillaAnkle
:
public
rci
::
ResourceNode
,
public
rci
::
Sensing
,
public
rci
::
PositionSensing
{
public:
OncillaAnkle
(
std
::
string
name
=
"Oncilla Ankle"
);
virtual
~
OncillaAnkle
();
/**
* Returns contact forces
*/
JointAnglesPtr
getJointPosition
()
const
;
/**
* Main data-flow process method
* Main data-flow process method. Every time called, when a new data-flow
* item arrives.
* @todo marshalling and calling control methods
*/
void
onProcess
();
/**
* Print
*/
std
::
string
print
()
const
;
/**
* Shared Pointer Factory
*/
static
CCANodePtr
create
(
std
::
string
name
=
"Oncilla Ankle"
);
};
}
}
}
Event Timeline
Log In to Comment