Controller
Detailed Description
Classes to handle reading and writing gazebo interfaces, via libgazebo.Base class for all controllers
Factory for creating controllers
Modules | |
bandit_actarray | |
generic camera | |
controller_stub | |
factory | |
pioneer2_gripper | |
sicklms200 | |
pioneer2dx_position2d | |
Classes | |
class | Controller |
class | ControllerFactory |
Defines | |
#define | GZ_REGISTER_STATIC_CONTROLLER(name, classname) |
Typedefs | |
typedef Controller *(* | ControllerFactoryFn )(Entity *parent) |
Prototype for controller factory functions. | |
Functions | |
virtual | ~Generic_Camera () |
virtual void | LoadChild (XMLConfigNode *node) |
virtual void | InitChild () |
virtual void | UpdateChild (UpdateParams ¶ms) |
virtual void | FiniChild () |
virtual | ~SickLMS200_Laser () |
virtual void | LoadChild (XMLConfigNode *node) |
virtual void | InitChild () |
virtual void | UpdateChild (UpdateParams ¶ms) |
virtual void | FiniChild () |
Define Documentation
#define GZ_REGISTER_STATIC_CONTROLLER | ( | name, | |||
classname | ) |
Value:
Controller *New##classname(Entity *entity) \ { \ return new classname(entity); \ } \ void Register##classname() \ {\ ControllerFactory::RegisterController("static", name, New##classname);\ }
- Parameters:
-
name Controller type name, as it appears in the world file. classname C++ class name for the controller.
Function Documentation
virtual void FiniChild | ( | ) | [protected, virtual, inherited] |
virtual void FiniChild | ( | ) | [protected, virtual, inherited] |
virtual void InitChild | ( | ) | [protected, virtual, inherited] |
virtual void InitChild | ( | ) | [protected, virtual, inherited] |
virtual void LoadChild | ( | XMLConfigNode * | node | ) | [protected, virtual, inherited] |
Load the controller
- Parameters:
-
node XML config node
- Returns:
- 0 on success
Reimplemented from Controller.
virtual void LoadChild | ( | XMLConfigNode * | node | ) | [protected, virtual, inherited] |
Load the controller
- Parameters:
-
node XML config node
- Returns:
- 0 on success
Reimplemented from Controller.
virtual void UpdateChild | ( | UpdateParams & | params | ) | [protected, virtual, inherited] |
virtual void UpdateChild | ( | UpdateParams & | params | ) | [protected, virtual, inherited] |
virtual ~Generic_Camera | ( | ) | [virtual, inherited] |
Destructor
virtual ~SickLMS200_Laser | ( | ) | [virtual, inherited] |
Destructor