Classes | Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes
Enki::AsebaMarxbot Class Reference

The aseba-enabled version of the marXbot robot. More...

#include <AsebaMarxbot.h>

Inheritance diagram for Enki::AsebaMarxbot:
Inheritance graph
[legend]

List of all members.

Classes

struct  BaseVariables
struct  DistanceSensorVariables
struct  Event
struct  Module
struct  MotorVariables
struct  ProximitySensorVariables

Public Member Functions

 AsebaMarxbot ()
 Constructor, connect to a host and register VMs.
virtual void connectionClosed (Dashel::Stream *stream, bool abnormal)
virtual void connectionCreated (Dashel::Stream *stream)
virtual void controlStep (double dt)
 In addition to DifferentialWheeled::step(), update aseba variables and initiate periodic events.
virtual void incomingData (Dashel::Stream *stream)
virtual ~AsebaMarxbot ()
 Destructor, unregister VMs.

Public Attributes

std::vector< Module * > modules
Dashel::Streamstream

Static Public Attributes

static int marxbotNumber = 0

Private Attributes

Module distanceSensors
DistanceSensorVariables distanceSensorVariables
Module leftMotor
MotorVariables leftMotorVariables
Module proximitySensors
ProximitySensorVariables proximitySensorVariables
Module rightMotor
MotorVariables rightMotorVariables

Detailed Description

The aseba-enabled version of the marXbot robot.

This robot provides a full simulation of event-based architecture as present on the real marXbot, using aseba. This robot provides a tcp server connection on port ASEBA_DEFAULT_PORT (currently 33333), or higher if other AsebaMarxbot already use it. This allows the connection of Aseba Studio to this robot. The feature is provided by inheriting from a Network server

Definition at line 50 of file AsebaMarxbot.h.


Constructor & Destructor Documentation

Constructor, connect to a host and register VMs.

Definition at line 215 of file AsebaMarxbot.cpp.

Destructor, unregister VMs.

Definition at line 269 of file AsebaMarxbot.cpp.


Member Function Documentation

void Enki::AsebaMarxbot::connectionClosed ( Dashel::Stream stream,
bool  abnormal 
) [virtual]

Reimplemented from Dashel::Hub.

Definition at line 372 of file AsebaMarxbot.cpp.

Reimplemented from Dashel::Hub.

Definition at line 344 of file AsebaMarxbot.cpp.

void Enki::AsebaMarxbot::controlStep ( double  dt) [virtual]

In addition to DifferentialWheeled::step(), update aseba variables and initiate periodic events.

Definition at line 278 of file AsebaMarxbot.cpp.

void Enki::AsebaMarxbot::incomingData ( Dashel::Stream stream) [virtual]

Reimplemented from Dashel::Hub.

Definition at line 359 of file AsebaMarxbot.cpp.


Member Data Documentation

Definition at line 135 of file AsebaMarxbot.h.

Definition at line 130 of file AsebaMarxbot.h.

Definition at line 132 of file AsebaMarxbot.h.

Definition at line 127 of file AsebaMarxbot.h.

Definition at line 140 of file AsebaMarxbot.h.

Definition at line 139 of file AsebaMarxbot.h.

Definition at line 134 of file AsebaMarxbot.h.

Definition at line 129 of file AsebaMarxbot.h.

Definition at line 133 of file AsebaMarxbot.h.

Definition at line 128 of file AsebaMarxbot.h.

Definition at line 156 of file AsebaMarxbot.h.


The documentation for this class was generated from the following files:


aseba
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:18