81 virtual void step(
double noise,
double time=-1);
Agent(const PlotOption &plotOption=PlotOption(NoPlot), double noisefactor=1, const iparamkey &name="Agent", const paramkey &revision="$ID")
constructor.
Definition: agent.cpp:39
std::string paramkey
Definition: configurable.h:85
Abstract class for robot controller (with some basic functionality).
Definition: abstractcontroller.h:46
This class provides tracking possibilies of a robot.
Definition: trackrobots.h:60
virtual AbstractRobot * getRobot()
Returns a pointer to the robot.
Definition: agent.h:89
AbstractRobot * robot
Definition: agent.h:102
TrackRobot trackrobot
Definition: agent.h:109
AbstractWiring * wiring
Definition: wiredcontroller.h:154
double sensor
Definition: types.h:29
iparamkey name
Definition: inspectable.h:251
random generator with 48bit integer arithmentic
Definition: randomgenerator.h:34
virtual void onlyControlRobot()
Sends only last motor commands again to robot.
Definition: agent.cpp:104
dummy (does nothing) is there for compatibility, might be removed later
Definition: plotoption.h:42
The WiredController contains a controller and a wiring, which connects the controller with the robot...
Definition: wiredcontroller.h:58
virtual void setTrackOptions(const TrackRobot &trackrobot)
sets the trackoptions which starts spatial tracking of a robot
Definition: agent.cpp:111
virtual ~Agent()
destructor
Definition: agent.cpp:52
virtual TrackRobot getTrackOptions() const
returns the tracking options
Definition: agent.h:98
Abstract wiring-object between controller and robot.
Definition: abstractwiring.h:39
std::string iparamkey
Definition: inspectable.h:53
motor * rmotors
Definition: agent.h:105
This class contains options for the use of an external plot utility like guilogger or neuronviz or ju...
Definition: plotoption.h:66
The Agent contains a controller, a robot and a wiring, which connects robot and controller.
Definition: agent.h:52
virtual void step(double noise, double time=-1)
Performs an step of the agent, including sensor reading, pushing sensor values through the wiring...
Definition: agent.cpp:89
int t
Definition: agent.h:110
double motor
Definition: types.h:30
AbstractController * controller
Definition: wiredcontroller.h:153
RandGen randGen
Definition: agent.h:107
sensor * rsensors
Definition: agent.h:104
virtual bool init(AbstractController *controller, AbstractRobot *robot, AbstractWiring *wiring, long int seed=0)
initializes the object with the given controller, robot and wiring and initializes the output options...
Definition: agent.cpp:61
double noisefactor
factor that is muliplied with noise stength
Definition: wiredcontroller.h:166
virtual bool stopTracking()
stop tracking (returns true of tracking was on);
Definition: agent.cpp:132
Abstract class (interface) for robot in general.
Definition: abstractrobot.h:41