Functions
stdr_gui_tools Namespace Reference

The namespace for STDR GUI tools. More...

Functions

float angleDegreesToRad (float angle)
 Converts an angle from degrees to rads. More...
 
float angleRadToDegrees (float angle)
 Converts an angle from rads to degrees. More...
 
stdr_msgs::CO2SensorMsg fixCO2AnglesToDegrees (stdr_msgs::CO2SensorMsg rmsg)
 Angle conversion. More...
 
stdr_msgs::CO2SensorMsg fixCO2AnglesToRad (stdr_msgs::CO2SensorMsg rmsg)
 Angle conversion. More...
 
stdr_msgs::LaserSensorMsg fixLaserAnglesToDegrees (stdr_msgs::LaserSensorMsg rmsg)
 Takes a stdr_msgs::LaserSensorMsg and converts its angles to degrees. More...
 
stdr_msgs::LaserSensorMsg fixLaserAnglesToRad (stdr_msgs::LaserSensorMsg rmsg)
 Takes a stdr_msgs::LaserSensorMsg and converts its angles to rads. More...
 
stdr_msgs::RfidSensorMsg fixRfidAnglesToDegrees (stdr_msgs::RfidSensorMsg rmsg)
 Takes a stdr_msgs::RfidSensorMsg and converts its angles to degrees. More...
 
stdr_msgs::RfidSensorMsg fixRfidAnglesToRad (stdr_msgs::RfidSensorMsg rmsg)
 Takes a stdr_msgs::RfidSensorMsg and converts its angles to rads. More...
 
stdr_msgs::RobotMsg fixRobotAnglesToDegrees (stdr_msgs::RobotMsg rmsg)
 Takes a stdr_msgs::RobotMsg and converts its angles to degrees. More...
 
stdr_msgs::RobotMsg fixRobotAnglesToRad (stdr_msgs::RobotMsg rmsg)
 Takes a stdr_msgs::RobotMsg and converts its angles to rads. More...
 
stdr_msgs::SonarSensorMsg fixSonarAnglesToDegrees (stdr_msgs::SonarSensorMsg rmsg)
 Takes a stdr_msgs::SonarSensorMsg and converts its angles to degrees. More...
 
stdr_msgs::SonarSensorMsg fixSonarAnglesToRad (stdr_msgs::SonarSensorMsg rmsg)
 Takes a stdr_msgs::SonarSensorMsg and converts its angles to rads. More...
 
stdr_msgs::SoundSensorMsg fixSoundAnglesToDegrees (stdr_msgs::SoundSensorMsg rmsg)
 Angle conversion. More...
 
stdr_msgs::SoundSensorMsg fixSoundAnglesToRad (stdr_msgs::SoundSensorMsg rmsg)
 Angle conversion. More...
 
stdr_msgs::ThermalSensorMsg fixThermalAnglesToDegrees (stdr_msgs::ThermalSensorMsg rmsg)
 Angle conversion. More...
 
stdr_msgs::ThermalSensorMsg fixThermalAnglesToRad (stdr_msgs::ThermalSensorMsg rmsg)
 Angle conversion. More...
 
QString getLiteralTime (int ms)
 Transforms the milliseconds in literal representation. More...
 
std::string getRosPackagePath (std::string package)
 Returns the global path of the ROS package provided. More...
 
void printLaserMsg (stdr_msgs::LaserSensorMsg &msg)
 Prints a laser msg. More...
 
void printPose2D (geometry_msgs::Pose2D &msg)
 Prints a ROS pose2d msg. More...
 
void printSonarMsg (stdr_msgs::SonarSensorMsg &msg)
 Prints a sonar msg. More...
 

Detailed Description

The namespace for STDR GUI tools.

Function Documentation

float stdr_gui_tools::angleDegreesToRad ( float  angle)

Converts an angle from degrees to rads.

Parameters
angle[float] An angle in degrees
Returns
float : The angle in rads

Definition at line 51 of file stdr_tools.cpp.

float stdr_gui_tools::angleRadToDegrees ( float  angle)

Converts an angle from rads to degrees.

Parameters
angle[float] An angle in rads
Returns
float : The angle in degrees

Definition at line 41 of file stdr_tools.cpp.

stdr_msgs::CO2SensorMsg stdr_gui_tools::fixCO2AnglesToDegrees ( stdr_msgs::CO2SensorMsg  rmsg)

Angle conversion.

Takes a stdr_msgs::CO2SensorMsg and converts its angles to degrees.

Definition at line 346 of file stdr_tools.cpp.

stdr_msgs::CO2SensorMsg stdr_gui_tools::fixCO2AnglesToRad ( stdr_msgs::CO2SensorMsg  rmsg)

Angle conversion.

Takes a stdr_msgs::CO2SensorMsg and converts its angles to rads.

Definition at line 336 of file stdr_tools.cpp.

stdr_msgs::LaserSensorMsg stdr_gui_tools::fixLaserAnglesToDegrees ( stdr_msgs::LaserSensorMsg  rmsg)

Takes a stdr_msgs::LaserSensorMsg and converts its angles to degrees.

Parameters
rmsg[stdr_msgs::LaserSensorMsg] The laser message
Returns
stdr_msgs::LaserSensorMsg : The recreated laser message

Definition at line 275 of file stdr_tools.cpp.

stdr_msgs::LaserSensorMsg stdr_gui_tools::fixLaserAnglesToRad ( stdr_msgs::LaserSensorMsg  rmsg)

Takes a stdr_msgs::LaserSensorMsg and converts its angles to rads.

Parameters
rmsg[stdr_msgs::LaserSensorMsg] The laser message
Returns
stdr_msgs::LaserSensorMsg : The recreated laser message

Definition at line 262 of file stdr_tools.cpp.

stdr_msgs::RfidSensorMsg stdr_gui_tools::fixRfidAnglesToDegrees ( stdr_msgs::RfidSensorMsg  rmsg)

Takes a stdr_msgs::RfidSensorMsg and converts its angles to degrees.

Parameters
rmsg[stdr_msgs::RfidSensorMsg] The rfid reader message
Returns
stdr_msgs::RfidSensorMsg : The recreated rfid reader message

Definition at line 325 of file stdr_tools.cpp.

stdr_msgs::RfidSensorMsg stdr_gui_tools::fixRfidAnglesToRad ( stdr_msgs::RfidSensorMsg  rmsg)

Takes a stdr_msgs::RfidSensorMsg and converts its angles to rads.

Parameters
rmsg[stdr_msgs::RfidSensorMsg] The rfid reader message
Returns
stdr_msgs::RfidSensorMsg : The recreated rfid reader message

Definition at line 313 of file stdr_tools.cpp.

stdr_msgs::RobotMsg stdr_gui_tools::fixRobotAnglesToDegrees ( stdr_msgs::RobotMsg  rmsg)

Takes a stdr_msgs::RobotMsg and converts its angles to degrees.

Parameters
rmsg[stdr_msgs::RobotMsg] The robot message
Returns
stdr_msgs::RobotMsg : The recreated robot message

Definition at line 206 of file stdr_tools.cpp.

stdr_msgs::RobotMsg stdr_gui_tools::fixRobotAnglesToRad ( stdr_msgs::RobotMsg  rmsg)

Takes a stdr_msgs::RobotMsg and converts its angles to rads.

Parameters
rmsg[stdr_msgs::RobotMsg] The robot message
Returns
stdr_msgs::RobotMsg : The recreated robot message

Definition at line 150 of file stdr_tools.cpp.

stdr_msgs::SonarSensorMsg stdr_gui_tools::fixSonarAnglesToDegrees ( stdr_msgs::SonarSensorMsg  rmsg)

Takes a stdr_msgs::SonarSensorMsg and converts its angles to degrees.

Parameters
rmsg[stdr_msgs::SonarSensorMsg] The sonar message
Returns
stdr_msgs::SonarSensorMsg : The recreated sonar message

Definition at line 300 of file stdr_tools.cpp.

stdr_msgs::SonarSensorMsg stdr_gui_tools::fixSonarAnglesToRad ( stdr_msgs::SonarSensorMsg  rmsg)

Takes a stdr_msgs::SonarSensorMsg and converts its angles to rads.

Parameters
rmsg[stdr_msgs::SonarSensorMsg] The sonar message
Returns
stdr_msgs::SonarSensorMsg : The recreated sonar message

Definition at line 288 of file stdr_tools.cpp.

stdr_msgs::SoundSensorMsg stdr_gui_tools::fixSoundAnglesToDegrees ( stdr_msgs::SoundSensorMsg  rmsg)

Angle conversion.

Takes a stdr_msgs::SoundSensorMsg and converts its angles to degrees.

Definition at line 388 of file stdr_tools.cpp.

stdr_msgs::SoundSensorMsg stdr_gui_tools::fixSoundAnglesToRad ( stdr_msgs::SoundSensorMsg  rmsg)

Angle conversion.

Takes a stdr_msgs::SoundSensorMsg and converts its angles to rads.

Definition at line 378 of file stdr_tools.cpp.

stdr_msgs::ThermalSensorMsg stdr_gui_tools::fixThermalAnglesToDegrees ( stdr_msgs::ThermalSensorMsg  rmsg)

Angle conversion.

Takes a stdr_msgs::ThermalSensorMsg and converts its angles to degrees.

Definition at line 367 of file stdr_tools.cpp.

stdr_msgs::ThermalSensorMsg stdr_gui_tools::fixThermalAnglesToRad ( stdr_msgs::ThermalSensorMsg  rmsg)

Angle conversion.

Takes a stdr_msgs::ThermalSensorMsg and converts its angles to rads.

Definition at line 357 of file stdr_tools.cpp.

QString stdr_gui_tools::getLiteralTime ( int  ms)

Transforms the milliseconds in literal representation.

Parameters
ms[int] The time in ms
Returns
QString : The literal representation of time given

Definition at line 61 of file stdr_tools.cpp.

std::string stdr_gui_tools::getRosPackagePath ( std::string  package)

Returns the global path of the ROS package provided.

Parameters
package[std::string] The ROS package
Returns
std::string : The global path of the specific package

Definition at line 31 of file stdr_tools.cpp.

void stdr_gui_tools::printLaserMsg ( stdr_msgs::LaserSensorMsg &  msg)

Prints a laser msg.

Parameters
msg[stdr_msgs::LaserSensorMsg &] The message
Returns
void

Definition at line 114 of file stdr_tools.cpp.

void stdr_gui_tools::printPose2D ( geometry_msgs::Pose2D &  msg)

Prints a ROS pose2d msg.

Parameters
msg[geometry_msgs::Pose2D &] The message
Returns
void

Definition at line 137 of file stdr_tools.cpp.

void stdr_gui_tools::printSonarMsg ( stdr_msgs::SonarSensorMsg &  msg)

Prints a sonar msg.

Parameters
msg[stdr_msgs::SonarSensorMsg &] The message
Returns
void

Definition at line 92 of file stdr_tools.cpp.



stdr_gui
Author(s): Manos Tsardoulias
autogenerated on Mon Jun 10 2019 15:15:17