Roomba Controller Dashboard 1
A GUI and TCP client application that is used to control a Roomba for Computer Engineering 2880 @ Iowa State
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Pose2D.hpp File Reference
#include <cmath>
#include <cstdint>
#include <sstream>
#include <ostream>

Go to the source code of this file.

Classes

class  Pose2D
 
struct  Rectangle
 

Macros

#define BOT_RADIUS   6
 

Functions

Rectangle makeRectangleFromLine (const Pose2D &L1, const Pose2D &L2, double width)
 

Macro Definition Documentation

◆ BOT_RADIUS

#define BOT_RADIUS   6

The bot radius in centimeters

Definition at line 17 of file Pose2D.hpp.

Function Documentation

◆ makeRectangleFromLine()

Rectangle makeRectangleFromLine ( const Pose2D & L1,
const Pose2D & L2,
double width )

Makes a rectangle from a line

Parameters
L1One bound of the line
L2Another bound of the line
widththe width of the rectangle
Returns
a rectangle with the the line in the middle and a width of the width passed in

Definition at line 248 of file Pose2D.cpp.