plot - Copy (2) - ArAction:setRobot(robot This is the guts...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include "plot.h" #include <stdio.h> #include <math.h> #include <stack> using namespace std; u stack<Point> map; ActionPlot::ActionPlot(double interval) : ArAction("Plot") { myInterval = interval; } /* Sets the myRobot pointer */ void ActionPlot::setRobot(ArRobot *robot)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { ArAction::setRobot(robot); } /* This is the guts of the Turn action. */ ArActionDesired *ActionPlot::fire(ArActionDesired currentDesired) { // reset the actionDesired (must be done) myDesired.reset(); return &myDesired; }...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online