Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
sot-dynamic-pinocchio
Commits
9f0389c3
Commit
9f0389c3
authored
Dec 25, 2010
by
florent
Browse files
Cosmetic changes
* src/dynamic-command.h, * src/dynamic.cpp: fix indentation.
parent
89d217fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/dynamic-command.h
View file @
9f0389c3
...
...
@@ -40,8 +40,8 @@ namespace sot {
/// \param entity instance of Entity owning this command
/// \param docstring documentation of the command
SetFiles
(
Dynamic
&
entity
,
const
std
::
string
&
docstring
)
:
Command
(
entity
,
boost
::
assign
::
list_of
(
Value
::
STRING
)
(
Value
::
STRING
)(
Value
::
STRING
)(
Value
::
STRING
),
docstring
)
Command
(
entity
,
boost
::
assign
::
list_of
(
Value
::
STRING
)
(
Value
::
STRING
)(
Value
::
STRING
)(
Value
::
STRING
),
docstring
)
{
}
virtual
Value
doExecute
()
...
...
@@ -70,7 +70,7 @@ namespace sot {
/// \param entity instance of Entity owning this command
/// \param docstring documentation of the command
Parse
(
Dynamic
&
entity
,
const
std
::
string
&
docstring
)
:
Command
(
entity
,
std
::
vector
<
Value
::
Type
>
(),
docstring
)
Command
(
entity
,
std
::
vector
<
Value
::
Type
>
(),
docstring
)
{
}
virtual
Value
doExecute
()
...
...
@@ -92,8 +92,8 @@ namespace sot {
/// \param entity instance of Entity owning this command
/// \param docstring documentation of the command
CreateOpPoint
(
Dynamic
&
entity
,
const
std
::
string
&
docstring
)
:
Command
(
entity
,
boost
::
assign
::
list_of
(
Value
::
STRING
)(
Value
::
STRING
),
docstring
)
Command
(
entity
,
boost
::
assign
::
list_of
(
Value
::
STRING
)(
Value
::
STRING
),
docstring
)
{
}
virtual
Value
doExecute
()
...
...
@@ -139,8 +139,8 @@ namespace sot {
/// \param entity instance of Entity owning this command
/// \param docstring documentation of the command
SetProperty
(
Dynamic
&
entity
,
const
std
::
string
&
docstring
)
:
Command
(
entity
,
boost
::
assign
::
list_of
(
Value
::
STRING
)(
Value
::
STRING
),
docstring
)
Command
(
entity
,
boost
::
assign
::
list_of
(
Value
::
STRING
)(
Value
::
STRING
),
docstring
)
{
}
virtual
Value
doExecute
()
...
...
@@ -164,8 +164,8 @@ namespace sot {
/// \param entity instance of Entity owning this command
/// \param docstring documentation of the command
GetProperty
(
Dynamic
&
entity
,
const
std
::
string
&
docstring
)
:
Command
(
entity
,
boost
::
assign
::
list_of
(
Value
::
STRING
),
docstring
)
Command
(
entity
,
boost
::
assign
::
list_of
(
Value
::
STRING
),
docstring
)
{
}
virtual
Value
doExecute
()
...
...
src/dynamic.cpp
View file @
9f0389c3
...
...
@@ -152,8 +152,7 @@ Dynamic( const std::string & name, bool build )
" - a string: name the joint, among (gaze, left-ankle, right ankle
\n
"
" , left-wrist, right-wrist, waist, chest).
\n
"
"
\n
"
;
addCommand
(
"createOpPoint"
,
new
command
::
CreateOpPoint
(
*
this
,
docstring
));
addCommand
(
"createOpPoint"
,
new
command
::
CreateOpPoint
(
*
this
,
docstring
));
// SetProperty
docstring
=
"
\n
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment