Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121945174
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
Tue, Jul 15, 00:19
Size
859 B
Mime Type
text/x-c
Expires
Thu, Jul 17, 00:19 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27416636
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
()
{
}
PosePtr
OncillaTrunk
::
getAbsolutePose
()
const
{
throw
std
::
runtime_error
(
"Oncilla absolute pose readout is not yet implemented."
);
}
PosePtr
OncillaTrunk
::
getDisplacement
()
const
{
throw
std
::
runtime_error
(
"Oncilla velocity pose readout is not yet implemented."
);
}
PosePtr
OncillaTrunk
::
getAcceleration
()
const
{
throw
std
::
runtime_error
(
"Oncilla acceleration pose is 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