iCub-main
icub-main
src
simulators
iCubSimulation
blender
BlenderSimulationBundle.cpp
Go to the documentation of this file.
1
// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
2
/*
3
* Copyright (C) 2010 Paul Fitzpatrick, Vadim Tikhanoff
4
* CopyPolicy: Released under the terms of the GNU GPL v2.0.
5
*
6
*/
7
8
#include "
BlenderSimulationBundle.h
"
9
10
#include "
BlenderLogicalJoints.h
"
11
#include "
BlenderSimulation.h
"
12
13
bool
BlenderSimulationBundle::onBegin
() {
14
return
true
;
15
}
16
17
LogicalJoints
*
BlenderSimulationBundle::createJoints
(
RobotConfig
& config) {
18
config.
setFlags
();
19
return
new
BlenderLogicalJoints
;
20
}
21
22
Simulation
*
BlenderSimulationBundle::createSimulation
(
RobotConfig
& config) {
23
return
new
BlenderSimulation
;
24
}
25
26
bool
BlenderSimulationBundle::onEnd
() {
27
return
true
;
28
}
29
30
BlenderLogicalJoints.h
BlenderSimulationBundle.h
BlenderSimulation.h
BlenderLogicalJoints
Definition:
BlenderLogicalJoints.h:14
BlenderSimulationBundle::createSimulation
virtual Simulation * createSimulation(RobotConfig &config)
Definition:
BlenderSimulationBundle.cpp:22
BlenderSimulationBundle::onEnd
virtual bool onEnd()
Definition:
BlenderSimulationBundle.cpp:26
BlenderSimulationBundle::createJoints
virtual LogicalJoints * createJoints(RobotConfig &config)
Definition:
BlenderSimulationBundle.cpp:17
BlenderSimulationBundle::onBegin
virtual bool onBegin()
Definition:
BlenderSimulationBundle.cpp:13
BlenderSimulation
Definition:
BlenderSimulation.h:15
LogicalJoints
Route control for the robots controlled joints to their implementation.
Definition:
LogicalJoints.h:31
RobotConfig
Definition:
RobotConfig.h:55
RobotConfig::setFlags
void setFlags()
Definition:
RobotConfig.cpp:37
Simulation
Definition:
Simulation.h:28
Generated on Tue Jan 31 2023 13:24:10 for iCub-main by
1.9.1