Gazebo

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 &params)
virtual void FiniChild ()
virtual ~SickLMS200_Laser ()
virtual void LoadChild (XMLConfigNode *node)
virtual void InitChild ()
virtual void UpdateChild (UpdateParams &params)
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);\
}
Static controller registration macro Use this macro to register controllers with the server.
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]

Finalize the controller

Returns:
0 on success

Reimplemented from Controller.

virtual void FiniChild (  )  [protected, virtual, inherited]

Finalize the controller

Returns:
0 on success

Reimplemented from Controller.

virtual void InitChild (  )  [protected, virtual, inherited]

Init the controller

Returns:
0 on success

Reimplemented from Controller.

virtual void InitChild (  )  [protected, virtual, inherited]

Init the controller

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 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]

Update the controller

Returns:
0 on success

Reimplemented from Controller.

virtual void UpdateChild ( UpdateParams params  )  [protected, virtual, inherited]

Update the controller

Returns:
0 on success

Reimplemented from Controller.

virtual ~Generic_Camera (  )  [virtual, inherited]

Destructor

virtual ~SickLMS200_Laser (  )  [virtual, inherited]

Destructor


Last updated Aug 04 2007