Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62366762
OncillaAnkle.cpp
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
Sun, May 12, 17:17
Size
636 B
Mime Type
text/x-c
Expires
Tue, May 14, 17:17 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17638561
Attached To
R6622 liboncilla
OncillaAnkle.cpp
View Options
#include "OncillaAnkle.h"
using
namespace
std
;
namespace
cca
{
namespace
rci
{
namespace
driver
{
OncillaAnkle
::
OncillaAnkle
(
std
::
string
name
)
:
rci
::
ResourceNode
(
name
),
rci
::
Sensing
(),
rci
::
PositionSensing
()
{
this
->
_dimension
=
1
;
}
JointAnglesPtr
OncillaAnkle
::
getJointPosition
()
const
{
throw
std
::
runtime_error
(
"Not yet implemented."
);
}
OncillaAnkle
::~
OncillaAnkle
()
{
}
std
::
string
OncillaAnkle
::
print
()
const
{
ostringstream
outstream
(
ostringstream
::
out
);
outstream
.
precision
(
3
);
// Precision when printing double values
outstream
<<
"<Oncilla Ankle>"
<<
endl
;
return
outstream
.
str
();
}
}
}
}
Event Timeline
Log In to Comment