33 #ifndef DART_EXAMPLE_OSG_OSGATLASSIMBICON_ATLASSIMBICONWORLDNODE_HPP_ 34 #define DART_EXAMPLE_OSG_OSGATLASSIMBICON_ATLASSIMBICONWORLDNODE_HPP_ 36 #include <dart/dart.hpp> 38 #include "Controller.hpp" 45 const dart::simulation::WorldPtr& world,
46 const dart::dynamics::SkeletonPtr& atlas);
53 void pushForwardAtlas(
double force = 500,
int frames = 100);
54 void pushBackwardAtlas(
double force = 500,
int frames = 100);
55 void pushLeftAtlas(
double force = 500,
int frames = 100);
56 void pushRightAtlas(
double force = 500,
int frames = 100);
58 void switchToNormalStrideWalking();
59 void switchToShortStrideWalking();
60 void switchToNoControl();
66 std::unique_ptr<Controller> mController;
67 Eigen::Vector3d mExternalForce;
71 #endif // DART_EXAMPLE_OSG_OSGATLASSIMBICON_ATLASSIMBICONWORLDNODE_HPP_ Definition: AtlasSimbiconWorldNode.hpp:40
AtlasSimbiconWorldNode(const dart::simulation::WorldPtr &world, const dart::dynamics::SkeletonPtr &atlas)
Constructor.
Definition: AtlasSimbiconWorldNode.cpp:38
void customPreStep() override
If update() is not overloaded, this function will be called at the beginning of each simulation step...
Definition: AtlasSimbiconWorldNode.cpp:52
Definition: RealTimeWorldNode.hpp:44