Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F74900009
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
Tue, Jul 30, 07:24
Size
574 B
Mime Type
text/x-c
Expires
Thu, Aug 1, 07:24 (2 d)
Engine
blob
Format
Raw Data
Handle
19449998
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