#include <odeagent.h>
Inheritance diagram for OdeAgent:


Definition at line 53 of file odeagent.h.
Public Member Functions | |
| OdeAgent (const PlotOption &plotOption) | |
| constructor | |
| OdeAgent (const list< PlotOption > &plotOptions) | |
| virtual | ~OdeAgent () |
| destructor | |
| virtual bool | init (AbstractController *controller, OdeRobot *robot, AbstractWiring *wiring) |
| initializes the object with the given controller, robot and wiring and initializes pipe to guilogger | |
| virtual void | step (double noise) |
| Performs an step of the agent, including sensor reading, pushing sensor values through wiring, controller step, pushing controller outputs (= motorcommands) back through wiring and sent resulting motorcommands to robot. | |
| void | internInit () |
| virtual OdeRobot * | getRobot () |
| Returns a pointer to the robot. | |
| virtual int | getTraceLength () |
| gives the number of past robot positions shown as trace in osg | |
| virtual void | init_tracing (int tracelength=1000, double tracethickness=0.003) |
| initialize tracing in ode | |
|
|
constructor
Definition at line 57 of file odeagent.h. |
|
|
Definition at line 58 of file odeagent.h. |
|
|
destructor
Definition at line 61 of file odeagent.h. |
|
|
Returns a pointer to the robot.
Reimplemented from Agent. Definition at line 85 of file odeagent.h. |
|
|
gives the number of past robot positions shown as trace in osg
Definition at line 88 of file odeagent.h. |
|
||||||||||||||||
|
initializes the object with the given controller, robot and wiring and initializes pipe to guilogger
Definition at line 66 of file odeagent.h. |
|
||||||||||||
|
initialize tracing in ode
Definition at line 44 of file odeagent.cpp. |
|
|
Reimplemented from Agent. Definition at line 77 of file odeagent.h. |
|
|
Performs an step of the agent, including sensor reading, pushing sensor values through wiring, controller step, pushing controller outputs (= motorcommands) back through wiring and sent resulting motorcommands to robot.
Reimplemented from Agent. Definition at line 63 of file odeagent.cpp. |
1.4.5