openrave-yarp-plugins
Loading...
Searching...
No Matches
YarpOpenraveSimulation.hpp
1// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
2
3#ifndef __YARP_OPENRAVE_SIMULATION_HPP__
4#define __YARP_OPENRAVE_SIMULATION_HPP__
5
6#include <yarp/dev/DeviceDriver.h>
7
8#include <openrave/openrave.h>
9
10#include "YarpOpenraveBase.hpp"
11
12#include "../ISimulation.hpp"
13
14namespace roboticslab
15{
16
30 public yarp::dev::DeviceDriver,
31 public ISimulation
32{
33public:
34 // ------- DeviceDriver declarations. Implementation in DeviceDriverImageImpl.cpp -------
35 bool open(yarp::os::Searchable& config) override;
36 bool close() override;
37
38 // ------- ISimulation declarations. Implementation in ISimulationImpl.cpp -------
39 bool step(double value) override;
40 bool start(double value) override;
41 bool stop() override;
42 bool getSimulationRawPointerValue(yarp::os::Value& value) override;
43};
44
45} // namespace roboticslab
46
47#endif // __YARP_OPENRAVE_SIMULATION_HPP__
Base class for simulators.
Definition ISimulation.hpp:17
Implements shared configuration functions.
Definition YarpOpenraveBase.hpp:32
Implements the ISimulation, etc. interface class member functions.
Definition YarpOpenraveSimulation.hpp:32
bool start(double value) override
Definition ISimulationImpl.cpp:22
bool step(double value) override
Definition ISimulationImpl.cpp:13
bool stop() override
Definition ISimulationImpl.cpp:32
bool getSimulationRawPointerValue(yarp::os::Value &value) override
Definition ISimulationImpl.cpp:41
The main, catch-all namespace for Robotics Lab UC3M.
Definition groups.dox:5