Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F65662814
OncillaTrunk.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
Wed, Jun 5, 09:20
Size
787 B
Mime Type
text/x-c
Expires
Fri, Jun 7, 09:20 (2 d)
Engine
blob
Format
Raw Data
Handle
18074033
Attached To
R6622 liboncilla
OncillaTrunk.cpp
View Options
#include "OncillaTrunk.h"
using
namespace
std
;
namespace
rci
{
namespace
oncilla
{
OncillaTrunk
::
OncillaTrunk
(
const
std
::
string
&
name
)
:
ResourceNode
(
name
)
,
Sensing
()
,
PoseSensing
()
{
this
->
_dimension
=
1
;
}
PosePtr
OncillaTrunk
::
getAbsolutePose
()
const
{
throw
std
::
runtime_error
(
"Not yet implemented."
);
}
PosePtr
OncillaTrunk
::
getDisplacement
()
const
{
throw
std
::
runtime_error
(
"Not yet implemented."
);
}
PosePtr
OncillaTrunk
::
getAcceleration
()
const
{
throw
std
::
runtime_error
(
"Not yet implemented."
);
}
OncillaTrunk
::~
OncillaTrunk
()
{
}
std
::
string
OncillaTrunk
::
print
()
const
{
ostringstream
outstream
(
ostringstream
::
out
);
outstream
.
precision
(
3
);
// Precision when printing double values
outstream
<<
"<Oncilla Trunk>"
<<
endl
;
return
outstream
.
str
();
}
}
}
Event Timeline
Log In to Comment