ARGoS  3
A parallel, multi-engine simulator for swarm robotics
plugins/simulator/physics_engines/dynamics2d/dynamics2d_engine.cpp File Reference
#include "dynamics2d_engine.h"
#include "dynamics2d_model.h"
#include "dynamics2d_gripping.h"
#include <argos3/core/simulator/simulator.h>
#include <cmath>
+ Include dependency graph for dynamics2d_engine.cpp:

Go to the source code of this file.

Namespaces

namespace  argos
 

The namespace containing all the ARGoS related code.


Functions

 argos::REGISTER_PHYSICS_ENGINE (CDynamics2DEngine,"dynamics2d","Carlo Pinciroli [ilpincy@gmail.com]","1.0","A 2D dynamics physics engine.","This physics engine is a 2D dynamics engine based on the Chipmunk library\n""(http://code.google.com/p/chipmunk-physics).\n\n""REQUIRED XML CONFIGURATION\n\n"" <physics_engines>\n"" ...\n"" <dynamics2d id=\"dyn2d\" />\n"" ...\n"" </physics_engines>\n\n""The 'id' attribute is necessary and must be unique among the physics engines.\n""It is used in the subsequent section <arena_physics> to assign entities to\n""physics engines. If two engines share the same id, initialization aborts.\n\n""OPTIONAL XML CONFIGURATION\n\n""The plane of the physics engine can be translated on the Z axis, to simulate\n""for example hovering objects, such as flying robots. To translate the plane\n""2m up the Z axis, use the 'elevation' attribute as follows:\n\n"" <physics_engines>\n"" ...\n"" <dynamics2d id=\"dyn2d\"\n"" elevation=\"2.0\" />\n"" ...\n"" </physics_engines>\n\n""When not specified, the elevation is zero, which means that the plane\n""corresponds to the XY plane.\n","Under development")