Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
plattfussschlange.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2005-2011 LpzRobots development team *
3  * Georg Martius <georg dot martius at web dot de> *
4  * Frank Guettler <guettler at informatik dot uni-leipzig dot de *
5  * Frank Hesse <frank at nld dot ds dot mpg dot de> *
6  * Ralf Der <ralfder at mis dot mpg dot de> *
7  * *
8  * This program is free software; you can redistribute it and/or modify *
9  * it under the terms of the GNU General Public License as published by *
10  * the Free Software Foundation; either version 2 of the License, or *
11  * (at your option) any later version. *
12  * *
13  * This program is distributed in the hope that it will be useful, *
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16  * GNU General Public License for more details. *
17  * *
18  * You should have received a copy of the GNU General Public License *
19  * along with this program; if not, write to the *
20  * Free Software Foundation, Inc., *
21  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
22  * *
23  ***************************************************************************/
24 #ifndef __PLATFUSSSCHLANGESERVO
25 #define __PLATFUSSSCHLANGESERVO
26 
27 #include "schlangeservo2.h"
28 #include "oneaxisservo.h"
29 
30 namespace lpzrobots {
31 
32  /**
33  * This is a class, which models a snake like robot with flat ends and a big body in the middle.
34  * It consists of a number of equal elements, each linked
35  * by a universal joint powered by 2 servos
36  **/
38  {
39 
40  public:
42  const SchlangeConf& conf,
43  const std::string& name);
44 
45  virtual ~PlattfussSchlange();
46 
47  private:
48  virtual Primitive* createSegment(int index, const OdeHandle& odeHandle);
49  };
50 
51 }
52 
53 #endif
Data structure for accessing the ODE.
Definition: odehandle.h:44
Definition: schlange.h:46
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
This is a class, which models a snake like robot with flat ends and a big body in the middle...
Definition: plattfussschlange.h:37
This is a class, which models a snake like robot.
Definition: schlangeservo2.h:44
Interface class for primitives represented in the physical and graphical world.
Definition: primitive.h:80
OsgHandle osgHandle
Definition: oderobot.h:278
OdeHandle odeHandle
Definition: oderobot.h:277
SchlangeConf conf
Definition: schlange.h:79
PlattfussSchlange(const OdeHandle &odeHandle, const OsgHandle &osgHandle, const SchlangeConf &conf, const std::string &name)
Definition: plattfussschlange.cpp:31
virtual ~PlattfussSchlange()
Definition: plattfussschlange.cpp:39