LARS
LARS (Light Augmented Reality System) is an open-source framework for light-based interaction and real-time tracking in multi-robot experiments. Inspired by ARK, LARS extends the augmented reality paradigm to robotic collectives by projecting dynamic visual cues and environments onto the arena, enabling new experimental possibilities for collective robotics research, education, and outreach. LARS features integrated tracking, light projection, and modular experiment control with a user-friendly Qt GUI.
Loading...
Searching...
No Matches
angle_deg.h File Reference

degree wrapper class Header File. More...

#include <functional>
#include <iostream>
#include <cmath>

Go to the source code of this file.

Classes

class  rcsc::AngleDeg
 degree wrapper class More...
class  rcsc::AngleDeg::DegreeCmp
 predicate function object. this compares two angles by degree value More...
class  rcsc::AngleIsWithin
 predicate function object. More...

Functions

const rcsc::AngleDeg operator+ (const rcsc::AngleDeg &lhs, const rcsc::AngleDeg &rhs)
 operator add(T, T)
const rcsc::AngleDeg operator+ (const rcsc::AngleDeg &lhs, const double &rhs)
 operator add(T, U)
const rcsc::AngleDeg operator+ (const double &lhs, const rcsc::AngleDeg &rhs)
 operator add(U, T)
const rcsc::AngleDeg operator- (const rcsc::AngleDeg &lhs, const rcsc::AngleDeg &rhs)
 operator sub(T, T)
const rcsc::AngleDeg operator- (const rcsc::AngleDeg &lhs, const double &rhs)
 operator sub(T, U)
const rcsc::AngleDeg operator- (const double &lhs, const rcsc::AngleDeg &rhs)
 operator sub(U, T)
bool operator!= (const rcsc::AngleDeg &lhs, const rcsc::AngleDeg &rhs)
 predicate operator !=
bool operator!= (const rcsc::AngleDeg &lhs, const double &rhs)
 predicate operator !=
bool operator!= (const double &lhs, const rcsc::AngleDeg &rhs)
 predicate operator !=
bool operator== (const rcsc::AngleDeg &lhs, const rcsc::AngleDeg &rhs)
 predicate operator ==
bool operator== (const rcsc::AngleDeg &lhs, const double &rhs)
 predicate operator ==
bool operator== (const double &lhs, const rcsc::AngleDeg &rhs)
 predicate operator ==
std::ostream & operator<< (std::ostream &os, const rcsc::AngleDeg &a)
 output to ostream

Detailed Description

degree wrapper class Header File.

Function Documentation

◆ operator!=() [1/3]

bool operator!= ( const double & lhs,
const rcsc::AngleDeg & rhs )
inline

predicate operator !=

Parameters
lhsleft hand side argument
rhsright hand side argument
Returns
true or false

◆ operator!=() [2/3]

bool operator!= ( const rcsc::AngleDeg & lhs,
const double & rhs )
inline

predicate operator !=

Parameters
lhsleft hand side argument
rhsright hand side argument
Returns
true or false

◆ operator!=() [3/3]

bool operator!= ( const rcsc::AngleDeg & lhs,
const rcsc::AngleDeg & rhs )
inline

predicate operator !=

Parameters
lhsleft hand side argument
rhsright hand side argument
Returns
true or false

◆ operator+() [1/3]

const rcsc::AngleDeg operator+ ( const double & lhs,
const rcsc::AngleDeg & rhs )
inline

operator add(U, T)

Parameters
lhsleft hand side argument
rhsright hand side argument
Returns
new angle

◆ operator+() [2/3]

const rcsc::AngleDeg operator+ ( const rcsc::AngleDeg & lhs,
const double & rhs )
inline

operator add(T, U)

Parameters
lhsleft hand side argument
rhsright hand side argument
Returns
new angle

◆ operator+() [3/3]

const rcsc::AngleDeg operator+ ( const rcsc::AngleDeg & lhs,
const rcsc::AngleDeg & rhs )
inline

operator add(T, T)

Parameters
lhsleft hand side argument
rhsright hand side argument
Returns
new angle

◆ operator-() [1/3]

const rcsc::AngleDeg operator- ( const double & lhs,
const rcsc::AngleDeg & rhs )
inline

operator sub(U, T)

Parameters
lhsleft hand side argument
rhsright hand side argument
Returns
new angle

◆ operator-() [2/3]

const rcsc::AngleDeg operator- ( const rcsc::AngleDeg & lhs,
const double & rhs )
inline

operator sub(T, U)

Parameters
lhsleft hand side argument
rhsright hand side argument
Returns
new angle

◆ operator-() [3/3]

const rcsc::AngleDeg operator- ( const rcsc::AngleDeg & lhs,
const rcsc::AngleDeg & rhs )
inline

operator sub(T, T)

Parameters
lhsleft hand side argument
rhsright hand side argument
Returns
new angle

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const rcsc::AngleDeg & a )
inline

output to ostream

Parameters
osreference to the output stream
aangle object
Returns
reference to the output stream

◆ operator==() [1/3]

bool operator== ( const double & lhs,
const rcsc::AngleDeg & rhs )
inline

predicate operator ==

Parameters
lhsleft hand side argument
rhsright hand side argument
Returns
true or false

◆ operator==() [2/3]

bool operator== ( const rcsc::AngleDeg & lhs,
const double & rhs )
inline

predicate operator ==

Parameters
lhsleft hand side argument
rhsright hand side argument
Returns
true or false

◆ operator==() [3/3]

bool operator== ( const rcsc::AngleDeg & lhs,
const rcsc::AngleDeg & rhs )
inline

predicate operator ==

Parameters
lhsleft hand side argument
rhsright hand side argument
Returns
true or false