MipTasks::Pursuing Class Reference
[Pursuing]

Task for pursuing. More...

#include <Pursuing.h>

Inheritance diagram for MipTasks::Pursuing:

MipTasks::Task MipBaselib::MessageHandler MipTasks::Task MipBaselib::MessageHandler MipTasks::Task MIPObject MIPObject MIPObject

List of all members.

Public Member Functions

 Pursuing (ResourcePointers resources, int argc, const char *argv[])
 Constructor.
 ~Pursuing ()
 Destructor.
TaskPlate getPlate () const
 Gets the Pursuing task plate.
Time getMaxDuration ()
 Gets the maximum duration of the task.
Time getMaxSamplPeriod ()
 Gets the minimum allowed time period between two calls of a run.
Time getMinSamplPeriod ()
 Gets the maximum allowed time period between two calls of a run.
TaskOutputs run ()
 Executes a step of the task.
uint getId ()
 returns my id
 Pursuing (ResourcePointers resources, int argc, const char *argv[])
 Constructor.
 ~Pursuing ()
 Destructor.
TaskPlate getPlate () const
 Gets the Pursuing task plate.
Time getMaxDuration ()
 Gets the maximum duration of the task.
Time getMaxSamplPeriod ()
 Gets the minimum allowed time period between two calls of a run.
Time getMinSamplPeriod ()
 Gets the maximum allowed time period between two calls of a run.
TaskOutputs run ()
 Executes a step of the task.
uint getID ()
 returns my id
Decimal getSensorLinRangeMax ()
Angle getSensorFieldOfView ()
int getSensorNumRays ()
Angle getSensorAngRes ()
Decimal getRobotRadius ()
void handleMessage (string inMessage, string ip)
 Pursuing (ResourcePointers resources, int argc, const char *argv[])
 Constructor.
 ~Pursuing ()
 Destructor.
TaskPlate getPlate () const
 Gets the Pursuing task plate.
Time getMaxDuration ()
 Gets the maximum duration of the task.
Time getMaxSamplPeriod ()
 Gets the minimum allowed time period between two calls of a run.
Time getMinSamplPeriod ()
 Gets the maximum allowed time period between two calls of a run.
TaskOutputs run ()
 Executes a step of the task.
uint getID () const
 returns my id
Decimal getSensorLinRangeMax ()
Angle getSensorFieldOfView ()
int getSensorNumRays ()
Angle getSensorAngRes ()
Decimal getRobotRadius ()
void handleMessage (string inMessage, string ip)


Detailed Description

Task for pursuing.

Author:
Antonio Franchi, Joey Durham and Arnaud Dufranne
Todo:
erase received poses which timeLife is over a certain threshold.
Author:
Joey Durham

Constructor & Destructor Documentation

MipTasks::Pursuing::Pursuing ( ResourcePointers  resources,
int  argc,
const char *  argv[] 
)

Constructor.

Parameters:
resources Resource pointer.
argc Argc.
argv Argv to set the customDebugLevel, just pass through the command line the option "-customDebugLevel = " + the debug level

Todo:
Initial status must depend on ID.

MipTasks::Pursuing::~Pursuing (  ) 

Destructor.

MipTasks::Pursuing::Pursuing ( ResourcePointers  resources,
int  argc,
const char *  argv[] 
)

Constructor.

Parameters:
resources Resource pointer.
argc Argc.
argv Argv to set the customDebugLevel, just pass through the command line the option "-customDebugLevel = " + the debug level

MipTasks::Pursuing::~Pursuing (  ) 

Destructor.

MipTasks::Pursuing::Pursuing ( ResourcePointers  resources,
int  argc,
const char *  argv[] 
)

Constructor.

Parameters:
resources Resource pointer.
argc Argc.
argv Argv to set the customDebugLevel, just pass through the command line the option "-customDebugLevel = " + the debug level

MipTasks::Pursuing::~Pursuing (  ) 

Destructor.


Member Function Documentation

TaskPlate MipTasks::Pursuing::getPlate (  )  const [inline, virtual]

Gets the Pursuing task plate.

Returns:
Pursuing task plate.
Note:
Mandatory, every task is expected to implement it.

Implements MipTasks::Task.

Time MipTasks::Pursuing::getMaxDuration (  )  [inline, virtual]

Gets the maximum duration of the task.

Returns:
Maximum duration of the task.

Implements MipTasks::Task.

Time MipTasks::Pursuing::getMaxSamplPeriod (  )  [inline, virtual]

Gets the minimum allowed time period between two calls of a run.

Returns:
Minimum allowed time period between two calls of a run.

Implements MipTasks::Task.

Time MipTasks::Pursuing::getMinSamplPeriod (  )  [inline, virtual]

Gets the maximum allowed time period between two calls of a run.

Returns:
Maximum allowed time period between two calls of a run.

Implements MipTasks::Task.

TaskOutputs MipTasks::Pursuing::run ( void   )  [virtual]

Executes a step of the task.

Implements MipTasks::Task.

uint MipTasks::Pursuing::getId ( void   ) 

returns my id

TaskPlate MipTasks::Pursuing::getPlate (  )  const [inline, virtual]

Gets the Pursuing task plate.

Returns:
Pursuing task plate.
Note:
Mandatory, every task is expected to implement it.

Implements MipTasks::Task.

Time MipTasks::Pursuing::getMaxDuration (  )  [inline, virtual]

Gets the maximum duration of the task.

Returns:
Maximum duration of the task.

Implements MipTasks::Task.

Time MipTasks::Pursuing::getMaxSamplPeriod (  )  [inline, virtual]

Gets the minimum allowed time period between two calls of a run.

Returns:
Minimum allowed time period between two calls of a run.

Implements MipTasks::Task.

Time MipTasks::Pursuing::getMinSamplPeriod (  )  [inline, virtual]

Gets the maximum allowed time period between two calls of a run.

Returns:
Maximum allowed time period between two calls of a run.

Implements MipTasks::Task.

TaskOutputs MipTasks::Pursuing::run (  )  [virtual]

Executes a step of the task.

Implements MipTasks::Task.

uint MipTasks::Pursuing::getID (  ) 

returns my id

Decimal MipTasks::Pursuing::getSensorLinRangeMax (  ) 

Angle MipTasks::Pursuing::getSensorFieldOfView (  ) 

int MipTasks::Pursuing::getSensorNumRays (  ) 

Angle MipTasks::Pursuing::getSensorAngRes (  ) 

Decimal MipTasks::Pursuing::getRobotRadius (  ) 

void MipTasks::Pursuing::handleMessage ( string  inMessage,
string  ip 
) [virtual]

TaskPlate MipTasks::Pursuing::getPlate (  )  const [inline, virtual]

Gets the Pursuing task plate.

Returns:
Pursuing task plate.
Note:
Mandatory, every task is expected to implement it.

Implements MipTasks::Task.

Time MipTasks::Pursuing::getMaxDuration (  )  [inline, virtual]

Gets the maximum duration of the task.

Returns:
Maximum duration of the task.

Implements MipTasks::Task.

Time MipTasks::Pursuing::getMaxSamplPeriod (  )  [inline, virtual]

Gets the minimum allowed time period between two calls of a run.

Returns:
Minimum allowed time period between two calls of a run.

Implements MipTasks::Task.

Time MipTasks::Pursuing::getMinSamplPeriod (  )  [inline, virtual]

Gets the maximum allowed time period between two calls of a run.

Returns:
Maximum allowed time period between two calls of a run.

Implements MipTasks::Task.

TaskOutputs MipTasks::Pursuing::run (  )  [virtual]

Executes a step of the task.

Implements MipTasks::Task.

uint MipTasks::Pursuing::getID (  )  const

returns my id

Decimal MipTasks::Pursuing::getSensorLinRangeMax (  ) 

Angle MipTasks::Pursuing::getSensorFieldOfView (  ) 

int MipTasks::Pursuing::getSensorNumRays (  ) 

Angle MipTasks::Pursuing::getSensorAngRes (  ) 

Decimal MipTasks::Pursuing::getRobotRadius (  ) 

void MipTasks::Pursuing::handleMessage ( string  inMessage,
string  ip 
) [virtual]


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

Generated on Mon Feb 20 07:01:13 2017 for MIP by  doxygen 1.5.6