src
tools
joint-trajectory-command.hh
Go to the documentation of this file.
1
//
2
// Copyright 2013,
3
// Olivier Stasse
4
//
5
// CNRS
6
//
7
8
#ifndef JOINT_TRAJECTORY_COMMAND_H_
9
#define JOINT_TRAJECTORY_COMMAND_H_
10
11
#include <
dynamic-graph/command-getter.h
>
12
#include <
dynamic-graph/command-setter.h
>
13
#include <
dynamic-graph/command.h
>
14
15
#include <boost/assign/list_of.hpp>
16
#include <
sot/core/joint-trajectory-entity.hh
>
17
18
namespace
dynamicgraph
{
19
namespace
sot {
20
namespace
command {
21
namespace
classSot {
22
using ::dynamicgraph::command::Command;
23
using ::dynamicgraph::command::Value;
24
25
class
SetInitTrajectory
:
public
Command
{
26
public
:
27
virtual
~SetInitTrajectory
() {}
28
30
SetInitTrajectory
(
SotJointTrajectoryEntity
&entity,
31
const
std::string &docstring)
32
:
Command
(entity,
boost
::assign::list_of(
Value
::STRING), docstring) {}
33
34
virtual
Value
doExecute
() {
35
// return void
36
return
Value
();
37
}
38
};
39
}
// namespace classSot
40
}
// namespace command
41
}
// namespace sot
42
}
// namespace dynamicgraph
43
#endif
/* JOINT_TRAJECTORY_COMMAND_H_ */
dynamicgraph::sot::command::classSot::SetInitTrajectory
Definition:
joint-trajectory-command.hh:25
command.h
boost
dynamicgraph::command::Value
dynamicgraph::sot::command::classSot::SetInitTrajectory::~SetInitTrajectory
virtual ~SetInitTrajectory()
Definition:
joint-trajectory-command.hh:27
dynamicgraph::command::Command
dynamicgraph::sot::SotJointTrajectoryEntity
This object handles trajectory of quantities and publish them as signals.
Definition:
joint-trajectory-entity.hh:47
command-getter.h
joint-trajectory-entity.hh
command-setter.h
dynamicgraph::sot::command::classSot::SetInitTrajectory::doExecute
virtual Value doExecute()
Definition:
joint-trajectory-command.hh:34
dynamicgraph::sot::command::classSot::SetInitTrajectory::SetInitTrajectory
SetInitTrajectory(SotJointTrajectoryEntity &entity, const std::string &docstring)
Set the initial trajectory.
Definition:
joint-trajectory-command.hh:30
dynamicgraph
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26