Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# Modules/BehaviorControl/CommonXabsl2Symbols/AngleSymbols.cpp File Reference

Implementation of class AngleSymbols. More...

`#include "AngleSymbols.h"`
`#include "Platform/SystemCall.h"`
`#include "Tools/Math/Geometry.h"`
`#include "Tools/FieldDimensions.h"`
`#include "Tools/Debugging/DebugDrawings.h"`
`#include "Tools/StringFunctions.h"`

Include dependency graph for AngleSymbols.cpp:

Go to the source code of this file.

## Defines
#define | ANGLEDRAWING(angleID, color)

## Detailed Description

Implementation of class AngleSymbols.

Author:
  Matthias Jüngel

Definition in file AngleSymbols.cpp.

## Define Documentation

#define ANGLEDRAWING | ( | angleID,
|  | color |  | ) |

| Value:
    NDECLARE_DEBUGDRAWING("behavior:symbols:angles:"#angleID, "drawingOnField", "shows the " #angleID); \
      NLINE("behavior:symbols:angles:"#angleID, \
        robotPose.getPose().translation.x, \
        robotPose.getPose().translation.y, \
        robotPose.getPose().translation.x + cos(angles[angleID] + robotPose.getAngle()) * 1800, \
        robotPose.getPose().translation.y + sin(angles[angleID] + robotPose.getAngle()) * 1800, \
        60, Drawings::ps_solid, color);
Definition at line 340 of file AngleSymbols.cpp. Referenced by AngleSymbols::drawAngles().