Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92119202
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
Sun, Nov 17, 12:56
Size
859 B
Mime Type
text/x-c
Expires
Tue, Nov 19, 12:56 (2 d)
Engine
blob
Format
Raw Data
Handle
22330925
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