Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81319645
OncillaL4.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
Thu, Sep 5, 08:20
Size
574 B
Mime Type
text/x-c
Expires
Sat, Sep 7, 08:20 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
20492506
Attached To
R6622 liboncilla
OncillaL4.cpp
View Options
#include "OncillaL4.h"
using
namespace
std
;
namespace
rci
{
namespace
oncilla
{
OncillaL4
::
OncillaL4
(
const
std
::
string
&
name
)
:
rci
::
ResourceNode
(
name
)
,
rci
::
Sensing
()
,
rci
::
ForceSensing
()
{
this
->
_dimension
=
1
;
}
ForcesPtr
OncillaL4
::
getForces
()
const
{
throw
std
::
runtime_error
(
"Not yet implemented."
);
}
OncillaL4
::~
OncillaL4
()
{
}
std
::
string
OncillaL4
::
print
()
const
{
ostringstream
outstream
(
ostringstream
::
out
);
outstream
.
precision
(
3
);
// Precision when printing double values
outstream
<<
"<Oncilla Foot>"
<<
endl
;
return
outstream
.
str
();
}
}
}
Event Timeline
Log In to Comment