Implements the high level functionalities of the robot creator widget. Inherits form QObject. More...
#include <stdr_robot_creator_connector.h>
Public Slots | |
void | getRobotFromYaml (void) |
Called when the load robot button. | |
void | loadRobot (void) |
Called when the load robot in map button is clicked. | |
void | saveRobot (void) |
Called when the save robot button is clicked. | |
void | treeItemClicked (QTreeWidgetItem *item, int column) |
Called when a tree item is clicked. | |
void | updateCO2Sensor (void) |
Called when the update button of the properties widget is clicked. | |
void | updateCO2SensorOpen (void) |
Called when the refresh button of the properties widget is clicked. | |
void | updateFootprintPoint (void) |
Called when the update button of the footprint widget is clicked. | |
void | updateFootprintPointOpen (void) |
Called when the refresh button of the properties widget is clicked. | |
void | updateKinematicModel (void) |
Called when the update button of the kinematic model widget is clicked. | |
void | updateLaser (void) |
Called when the update button of the properties widget is clicked. | |
void | updateLaserOpen (void) |
Called when the refresh button of the properties widget is clicked. | |
void | updateRfidAntenna (void) |
Called when the update button of the properties widget is clicked. | |
void | updateRfidAntennaOpen (void) |
Called when the update button of the properties widget is clicked. | |
void | updateRobot (void) |
Called when the update button of the properties widget is clicked. | |
void | updateRobotOpen (void) |
Called when the refresh button of the properties widget is clicked. | |
void | updateSonar (void) |
Called when the update button of the properties widget is clicked. | |
void | updateSonarOpen (void) |
Called when the refresh button of the properties widget is clicked. | |
void | updateSoundSensor (void) |
Called when the update button of the properties widget is clicked. | |
void | updateSoundSensorOpen (void) |
Called when the refresh button of the properties widget is clicked. | |
void | updateThermalSensor (void) |
Called when the update button of the properties widget is clicked. | |
void | updateThermalSensorOpen (void) |
Called when the refresh button of the properties widget is clicked. | |
Signals | |
void | loadRobotPressed (stdr_msgs::RobotMsg newRobotMsg) |
Emitted when the "load robot in map" button is pressed. | |
void | saveRobotPressed (stdr_msgs::RobotMsg newRobotMsg, QString file_name) |
Emitted to save the robot in a yaml file. | |
Public Member Functions | |
void | addCO2Sensor (void) |
Adds a co2 sensor in the new robot. | |
void | addCO2Sensor (stdr_msgs::CO2SensorMsg rmsg) |
Adds a co2 sensor in the new robot. | |
void | addFootprintPoint (void) |
Adds a footprint point in the new robot. | |
void | addFootprintPoint (geometry_msgs::Point pt) |
Adds a footprint point in the new robot. | |
void | addLaser (void) |
Adds a laser sensor in the new robot. | |
void | addLaser (stdr_msgs::LaserSensorMsg lmsg) |
Adds a specific laser sensor in the new robot. | |
void | addRfidAntenna (void) |
Adds an rfid antenna sensor in the new robot. | |
void | addRfidAntenna (stdr_msgs::RfidSensorMsg rmsg) |
Adds an rfid antenna sensor in the new robot. | |
void | addSonar (void) |
Adds a sonar sensor in the new robot. | |
void | addSonar (stdr_msgs::SonarSensorMsg smsg) |
Adds a specific sonar sensor in the new robot. | |
void | addSoundSensor (void) |
Adds a sound sensor in the new robot. | |
void | addSoundSensor (stdr_msgs::SoundSensorMsg rmsg) |
Adds a sound sensor in the new robot. | |
void | addThermalSensor (void) |
Adds a thermal sensor in the new robot. | |
void | addThermalSensor (stdr_msgs::ThermalSensorMsg rmsg) |
Adds a thermal sensor in the new robot. | |
CRobotCreatorConnector (int argc, char **argv) | |
Default contructor. | |
void | deleteTreeNode (QTreeWidgetItem *item) |
Deletes a specific tree item and it's children recursively. | |
void | drawCO2Sensors (void) |
Draws the robot's rfid antennas. | |
void | drawLasers (void) |
Draws the robot's lasers. | |
void | drawRfidAntennas (void) |
Draws the robot's rfid antennas. | |
void | drawRobot (void) |
Draws a robot. | |
void | drawSonars (void) |
Draws the robot's sonars. | |
void | drawSoundSensors (void) |
Draws the robot's rfid antennas. | |
void | drawThermalSensors (void) |
Draws the robot's rfid antennas. | |
void | editCO2Sensor (QTreeWidgetItem *item) |
Edits a specific co2 sensor based on a tree item. \ Initiates the co2 sensor editor widget. | |
void | editFootprintPoint (QTreeWidgetItem *item) |
Edits a specific footprint point based on a tree item. Initiates the footprint editor widget. | |
void | editLaser (QTreeWidgetItem *item) |
Edits a specific laser sensor based on a tree item. Initiates the laser sensor editor widget. | |
void | editRfid (QTreeWidgetItem *item) |
Edits a specific rfid antenna sensor based on a tree item. Initiates the rfid antenna sensor editor widget. | |
void | editRobot (void) |
Shows the edit robot widget. | |
void | editSonar (QTreeWidgetItem *item) |
Edits a specific sonar sensor based on a tree item. Initiates the sonar sensor editor widget. | |
void | editSoundSensor (QTreeWidgetItem *item) |
Edits a specific sound sensor based on a tree item. \ Initiates the sound sensor editor widget. | |
void | editThermalSensor (QTreeWidgetItem *item) |
Edits a specific thermal sensor based on a tree item. \ Initiates the thermal sensor editor widget. | |
void | eraseCO2Sensor (QTreeWidgetItem *item) |
Erases a specific co2 sensor based on a tree item. | |
void | eraseFootprintPoint (QTreeWidgetItem *item) |
Erases a footprint point in the new robot. | |
void | eraseLaser (QTreeWidgetItem *item) |
Erases a specific laser sensor based on a tree item. | |
void | eraseRfid (QTreeWidgetItem *item) |
Erases a specific rfid antenna sensor based on a tree item. | |
void | eraseSonar (QTreeWidgetItem *item) |
Erases a specific sonar sensor based on a tree item. | |
void | eraseSoundSensor (QTreeWidgetItem *item) |
Erases a specific sound sensor based on a tree item. | |
void | eraseThermalSensor (QTreeWidgetItem *item) |
Erases a specific thermal sensor based on a tree item. | |
stdr_msgs::RobotMsg | getNewRobot (void) |
Returns the created robot. | |
void | initialise (void) |
Initializes the robot creator. | |
void | loadCO2Sensor (QTreeWidgetItem *item) |
Loads a specific co2 sensor from a file. | |
void | loadLaser (QTreeWidgetItem *item) |
Loads a specific laser sensor from a file. | |
void | loadRfidAntenna (QTreeWidgetItem *item) |
Loads a specific rfid reader sensor from a file. | |
void | loadSonar (QTreeWidgetItem *item) |
Loads a specific sonar sensor from a file. | |
void | loadSoundSensor (QTreeWidgetItem *item) |
Loads a specific sound sensor from a file. | |
void | loadThermalSensor (QTreeWidgetItem *item) |
Loads a specific thermal sensor from a file. | |
void | saveCO2Sensor (QTreeWidgetItem *item) |
Saves a specific co2 sensor in a file. | |
void | saveLaser (QTreeWidgetItem *item) |
Saves a specific laser sensor in a file. | |
void | saveRfidAntenna (QTreeWidgetItem *item) |
Saves a specific rfid reader sensor in a file. | |
void | saveSonar (QTreeWidgetItem *item) |
Saves a specific sonar sensor in a file. | |
void | saveSoundSensor (QTreeWidgetItem *item) |
Saves a specific sound sensor in a file. | |
void | saveThermalSensor (QTreeWidgetItem *item) |
Saves a specific thermal sensor in a file. | |
int | searchCO2Sensor (QString frameId) |
Returns the ID of an co2 sensor. | |
int | searchLaser (QString frameId) |
Returns the ID of a laser sensor. | |
int | searchRfid (QString frameId) |
Returns the ID of an rfid antenna sensor. | |
int | searchSonar (QString frameId) |
Returns the ID of a sonar sensor. | |
int | searchSoundSensor (QString frameId) |
Returns the ID of a sound sensor. | |
int | searchThermalSensor (QString frameId) |
Returns the ID of a thermal sensor. | |
void | setInitialPose (float x, float y) |
Sets the robot's initial pose. | |
void | setNewRobot (stdr_msgs::RobotMsg msg) |
Sets the created robot. | |
void | updateCO2SensorTree (QTreeWidgetItem *item, stdr_msgs::CO2SensorMsg l) |
Updates a tree item with a specific co2 sensor. | |
void | updateLaserTree (QTreeWidgetItem *item, stdr_msgs::LaserSensorMsg l) |
Updates a tree item with a specific laser sensor. | |
void | updateRfidTree (QTreeWidgetItem *item, stdr_msgs::RfidSensorMsg l) |
Updates a tree item with a specific rfid reader sensor. | |
void | updateRobotPreview (void) |
Updates the robot's preview. | |
void | updateRobotTree (void) |
Updates the robot's tree widget. | |
void | updateSonarTree (QTreeWidgetItem *item, stdr_msgs::SonarSensorMsg l) |
Updates a tree item with a specific sonar sensor. | |
void | updateSoundSensorTree (QTreeWidgetItem *item, stdr_msgs::SoundSensorMsg l) |
Updates a tree item with a specific sound sensor. | |
void | updateThermalSensorTree (QTreeWidgetItem *item, stdr_msgs::ThermalSensorMsg l) |
Updates a tree item with a specific thermal sensor. | |
~CRobotCreatorConnector (void) | |
Default destructor. | |
Static Public Attributes | |
static int | co2_sensors_number = -1 |
static int | laser_number = -1 |
< Number of laser sensors | |
static int | rfid_number = -1 |
static int | sonar_number = -1 |
Number of rfid antenna sensors. | |
static int | sound_sensors_number = -1 |
static int | thermal_sensors_number = -1 |
Private Member Functions | |
void | showMessage (QString msg) |
Pops up a message box with a specific message. | |
Private Attributes | |
int | argc_ |
< Number of input arguments | |
char ** | argv_ |
Variable that holds the proportion coefficient for the visualization of robot creator image. | |
float | climax_ |
Object of CRobotCreatorLoader. | |
unsigned int | co2_sensor_hightlight_id_ |
QTreeWidgetItem * | current_co2_sensor_ |
QTreeWidgetItem * | current_footprint_point_ |
QTreeWidgetItem * | current_laser_ |
Tree item of the currently clicked sonar. | |
QTreeWidgetItem * | current_rfid_ |
QTreeWidgetItem * | current_sonar_ |
Tree item of the currently clicked rfid. | |
QTreeWidgetItem * | current_sound_sensor_ |
Tree item of the currently clicked footprint point. | |
QTreeWidgetItem * | current_thermal_sensor_ |
unsigned int | laser_hightlight_id_ |
Current sonar for highlight. | |
CRobotCreatorLoader | loader_ |
Container of the new robot message. | |
stdr_msgs::RobotMsg | new_robot_msg_ |
Current laser for highlight. | |
unsigned int | rfid_antenna_hightlight_id_ |
Current rfid antenna for highlight. | |
unsigned int | sonar_hightlight_id_ |
Current rfid antenna for highlight. | |
unsigned int | sound_sensor_hightlight_id_ |
Tree item of the currently clicked laser. | |
unsigned int | thermal_sensor_hightlight_id_ |
Implements the high level functionalities of the robot creator widget. Inherits form QObject.
Definition at line 37 of file stdr_robot_creator_connector.h.
stdr_gui::CRobotCreatorConnector::CRobotCreatorConnector | ( | int | argc, |
char ** | argv | ||
) |
Default contructor.
argc | [int] Number of input arguments |
argv | [char**] Input arguments |
Definition at line 40 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::addCO2Sensor | ( | void | ) |
Adds a co2 sensor in the new robot.
Definition at line 1056 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::addCO2Sensor | ( | stdr_msgs::CO2SensorMsg | smsg | ) |
Adds a co2 sensor in the new robot.
Definition at line 1347 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::addFootprintPoint | ( | void | ) |
Adds a footprint point in the new robot.
Definition at line 499 of file stdr_robot_creator_connector.cpp.
Adds a footprint point in the new robot.
Definition at line 478 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::addLaser | ( | void | ) |
Adds a laser sensor in the new robot.
Definition at line 640 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::addLaser | ( | stdr_msgs::LaserSensorMsg | lmsg | ) |
Adds a specific laser sensor in the new robot.
lmsg | [stdr_msgs::LaserSensorMsg] The laser sensor to be added |
Definition at line 737 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::addRfidAntenna | ( | void | ) |
Adds an rfid antenna sensor in the new robot.
Definition at line 981 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::addRfidAntenna | ( | stdr_msgs::RfidSensorMsg | smsg | ) |
Adds an rfid antenna sensor in the new robot.
rmsg | [stdr_msgs::RfidSensorMsg] The rfid antenna sensor message |
Definition at line 1283 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::addSonar | ( | void | ) |
Adds a sonar sensor in the new robot.
Definition at line 816 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::addSonar | ( | stdr_msgs::SonarSensorMsg | smsg | ) |
Adds a specific sonar sensor in the new robot.
smsg | [stdr_msgs::SonarSensorMsg] The sonar sensor to be added |
Definition at line 907 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::addSoundSensor | ( | void | ) |
Adds a sound sensor in the new robot.
Definition at line 1206 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::addSoundSensor | ( | stdr_msgs::SoundSensorMsg | smsg | ) |
Adds a sound sensor in the new robot.
Definition at line 1475 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::addThermalSensor | ( | void | ) |
Adds a thermal sensor in the new robot.
Definition at line 1131 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::addThermalSensor | ( | stdr_msgs::ThermalSensorMsg | smsg | ) |
Adds a thermal sensor in the new robot.
Definition at line 1411 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::deleteTreeNode | ( | QTreeWidgetItem * | item | ) |
Deletes a specific tree item and it's children recursively.
item | [QTreeWidgetItem*] The item to be erased |
Definition at line 4331 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::drawCO2Sensors | ( | void | ) |
Draws the robot's rfid antennas.
Definition at line 4770 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::drawLasers | ( | void | ) |
Draws the robot's lasers.
Definition at line 4627 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::drawRfidAntennas | ( | void | ) |
Draws the robot's rfid antennas.
Definition at line 4727 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::drawRobot | ( | void | ) |
Draws a robot.
Draws a circular robot.
Definition at line 4549 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::drawSonars | ( | void | ) |
Draws the robot's sonars.
Definition at line 4679 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::drawSoundSensors | ( | void | ) |
Draws the robot's rfid antennas.
Definition at line 4856 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::drawThermalSensors | ( | void | ) |
Draws the robot's rfid antennas.
Definition at line 4812 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::editCO2Sensor | ( | QTreeWidgetItem * | item | ) |
Edits a specific co2 sensor based on a tree item. \ Initiates the co2 sensor editor widget.
Definition at line 2301 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::editFootprintPoint | ( | QTreeWidgetItem * | item | ) |
Edits a specific footprint point based on a tree item. Initiates the footprint editor widget.
item | [QTreeWidgetItem*] Tree item that holds the specific footprint point |
Definition at line 1640 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::editLaser | ( | QTreeWidgetItem * | item | ) |
Edits a specific laser sensor based on a tree item. Initiates the laser sensor editor widget.
item | [QTreeWidgetItem*] Tree item that holds the specific laser sensor |
Definition at line 1678 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::editRfid | ( | QTreeWidgetItem * | item | ) |
Edits a specific rfid antenna sensor based on a tree item. Initiates the rfid antenna sensor editor widget.
item | [QTreeWidgetItem*] Tree item that holds the specific rfid antenna sensor |
Definition at line 2258 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::editRobot | ( | void | ) |
Shows the edit robot widget.
Definition at line 4261 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::editSonar | ( | QTreeWidgetItem * | item | ) |
Edits a specific sonar sensor based on a tree item. Initiates the sonar sensor editor widget.
item | [QTreeWidgetItem*] Tree item that holds the specific sonar sensor |
Definition at line 2205 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::editSoundSensor | ( | QTreeWidgetItem * | item | ) |
Edits a specific sound sensor based on a tree item. \ Initiates the sound sensor editor widget.
Definition at line 2384 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::editThermalSensor | ( | QTreeWidgetItem * | item | ) |
Edits a specific thermal sensor based on a tree item. \ Initiates the thermal sensor editor widget.
Definition at line 2344 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::eraseCO2Sensor | ( | QTreeWidgetItem * | item | ) |
Erases a specific co2 sensor based on a tree item.
Definition at line 1592 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::eraseFootprintPoint | ( | QTreeWidgetItem * | item | ) |
Erases a footprint point in the new robot.
Definition at line 525 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::eraseLaser | ( | QTreeWidgetItem * | item | ) |
Erases a specific laser sensor based on a tree item.
item | [QTreeWidgetItem*] Tree item that holds the specific laser sensor |
Definition at line 1541 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::eraseRfid | ( | QTreeWidgetItem * | item | ) |
Erases a specific rfid antenna sensor based on a tree item.
item | [QTreeWidgetItem*] Tree item that holds the specific rfid antenna sensor |
Definition at line 1577 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::eraseSonar | ( | QTreeWidgetItem * | item | ) |
Erases a specific sonar sensor based on a tree item.
item | [QTreeWidgetItem*] Tree item that holds the specific sonar sensor |
Definition at line 1559 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::eraseSoundSensor | ( | QTreeWidgetItem * | item | ) |
Erases a specific sound sensor based on a tree item.
Definition at line 1622 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::eraseThermalSensor | ( | QTreeWidgetItem * | item | ) |
Erases a specific thermal sensor based on a tree item.
Definition at line 1607 of file stdr_robot_creator_connector.cpp.
stdr_msgs::RobotMsg stdr_gui::CRobotCreatorConnector::getNewRobot | ( | void | ) |
Returns the created robot.
Definition at line 4992 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::getRobotFromYaml | ( | void | ) | [slot] |
Called when the load robot button.
< Not a valid filename
Definition at line 4918 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::initialise | ( | void | ) |
Initializes the robot creator.
Definition at line 137 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::loadCO2Sensor | ( | QTreeWidgetItem * | item | ) |
Loads a specific co2 sensor from a file.
Definition at line 2076 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::loadLaser | ( | QTreeWidgetItem * | item | ) |
Loads a specific laser sensor from a file.
item | [QTreeWidgetItem*] The tree item that holds the laser sensor |
Definition at line 1944 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::loadRfidAntenna | ( | QTreeWidgetItem * | item | ) |
Loads a specific rfid reader sensor from a file.
Loads a specific rfid antenna sensor from a file.
item | [QTreeWidgetItem*] The tree item that holds the sensor |
Definition at line 2034 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::loadRobot | ( | void | ) | [slot] |
Called when the load robot in map button is clicked.
Definition at line 4970 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::loadRobotPressed | ( | stdr_msgs::RobotMsg | newRobotMsg | ) | [signal] |
Emitted when the "load robot in map" button is pressed.
newRobotMsg | [stdr_msgs::RobotMsg] The new robot to be placed in the map |
void stdr_gui::CRobotCreatorConnector::loadSonar | ( | QTreeWidgetItem * | item | ) |
Loads a specific sonar sensor from a file.
item | [QTreeWidgetItem*] The tree item that holds the sonar sensor |
Definition at line 1989 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::loadSoundSensor | ( | QTreeWidgetItem * | item | ) |
Loads a specific sound sensor from a file.
Definition at line 2160 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::loadThermalSensor | ( | QTreeWidgetItem * | item | ) |
Loads a specific thermal sensor from a file.
Definition at line 2118 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::saveCO2Sensor | ( | QTreeWidgetItem * | item | ) |
Saves a specific co2 sensor in a file.
Definition at line 1842 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::saveLaser | ( | QTreeWidgetItem * | item | ) |
Saves a specific laser sensor in a file.
item | [QTreeWidgetItem*] The tree item that holds the laser sensor |
Definition at line 1736 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::saveRfidAntenna | ( | QTreeWidgetItem * | item | ) |
Saves a specific rfid reader sensor in a file.
item | [QTreeWidgetItem*] The tree item that holds the sensor |
Definition at line 1808 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::saveRobot | ( | void | ) | [slot] |
Called when the save robot button is clicked.
Definition at line 4901 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::saveRobotPressed | ( | stdr_msgs::RobotMsg | newRobotMsg, |
QString | file_name | ||
) | [signal] |
Emitted to save the robot in a yaml file.
newRobotMsg | [stdr_msgs::RobotMsg] The new robot to be saved |
file_name | [QString] The file name for the robot description to be saved |
void stdr_gui::CRobotCreatorConnector::saveSonar | ( | QTreeWidgetItem * | item | ) |
Saves a specific sonar sensor in a file.
item | [QTreeWidgetItem*] The tree item that holds the sonar sensor |
Definition at line 1772 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::saveSoundSensor | ( | QTreeWidgetItem * | item | ) |
Saves a specific sound sensor in a file.
Definition at line 1908 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::saveThermalSensor | ( | QTreeWidgetItem * | item | ) |
Saves a specific thermal sensor in a file.
Definition at line 1875 of file stdr_robot_creator_connector.cpp.
int stdr_gui::CRobotCreatorConnector::searchCO2Sensor | ( | QString | frameId | ) |
Returns the ID of an co2 sensor.
frameId | [QString] The frame id of the co2 sensor |
Definition at line 2476 of file stdr_robot_creator_connector.cpp.
int stdr_gui::CRobotCreatorConnector::searchLaser | ( | QString | frameId | ) |
Returns the ID of a laser sensor.
frameId | [QString] The frame id of the laser sensor |
Definition at line 2426 of file stdr_robot_creator_connector.cpp.
int stdr_gui::CRobotCreatorConnector::searchRfid | ( | QString | frameId | ) |
Returns the ID of an rfid antenna sensor.
frameId | [QString] The frame id of the rfid antenna sensor |
Definition at line 2460 of file stdr_robot_creator_connector.cpp.
int stdr_gui::CRobotCreatorConnector::searchSonar | ( | QString | frameId | ) |
Returns the ID of a sonar sensor.
frameId | [QString] The frame id of the sonar sensor |
Definition at line 2443 of file stdr_robot_creator_connector.cpp.
int stdr_gui::CRobotCreatorConnector::searchSoundSensor | ( | QString | frameId | ) |
Returns the ID of a sound sensor.
frameId | [QString] The frame id of the sound sensor |
Definition at line 2508 of file stdr_robot_creator_connector.cpp.
int stdr_gui::CRobotCreatorConnector::searchThermalSensor | ( | QString | frameId | ) |
Returns the ID of a thermal sensor.
frameId | [QString] The frame id of the thermal sensor |
Definition at line 2492 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::setInitialPose | ( | float | x, |
float | y | ||
) |
Sets the robot's initial pose.
x | [float] x coordinate |
y | [float] y coordinate |
Definition at line 4982 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::setNewRobot | ( | stdr_msgs::RobotMsg | msg | ) |
Sets the created robot.
msg | [stdr_msgs::RobotMsg] The new robot |
Definition at line 5002 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::showMessage | ( | QString | msg | ) | [private] |
Pops up a message box with a specific message.
msg | [QString] Message to be shown |
Definition at line 5012 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::treeItemClicked | ( | QTreeWidgetItem * | item, |
int | column | ||
) | [slot] |
Called when a tree item is clicked.
item | [QTreeWidgetItem *] The item clicked |
column | [int] The column clicked |
< Laser clicked
< Robot edit clicked
Definition at line 189 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateCO2Sensor | ( | void | ) | [slot] |
Called when the update button of the properties widget is clicked.
< Rfid antenna angle span
< Orientation
Definition at line 3611 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateCO2SensorOpen | ( | void | ) | [slot] |
Called when the refresh button of the properties widget is clicked.
< Rfid antenna orientation
Definition at line 3989 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateCO2SensorTree | ( | QTreeWidgetItem * | item, |
stdr_msgs::CO2SensorMsg | l | ||
) |
Updates a tree item with a specific co2 sensor.
Definition at line 3375 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateFootprintPoint | ( | void | ) | [slot] |
Called when the update button of the footprint widget is clicked.
Definition at line 544 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateFootprintPointOpen | ( | void | ) | [slot] |
Called when the refresh button of the properties widget is clicked.
Definition at line 606 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateKinematicModel | ( | void | ) | [slot] |
Called when the update button of the kinematic model widget is clicked.
Definition at line 580 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateLaser | ( | void | ) | [slot] |
Called when the update button of the properties widget is clicked.
< Laser angle span
Definition at line 2661 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateLaserOpen | ( | void | ) | [slot] |
Called when the refresh button of the properties widget is clicked.
< Laser angle span
Definition at line 2825 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateLaserTree | ( | QTreeWidgetItem * | item, |
stdr_msgs::LaserSensorMsg | l | ||
) |
Updates a tree item with a specific laser sensor.
item | [QTreeWidgetItem*] The tree item that will be updated |
l | [stdr_msgs::LaserSensorMsg] The laser sensor message |
Definition at line 2608 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateRfidAntenna | ( | void | ) | [slot] |
Called when the update button of the properties widget is clicked.
< Rfid antenna angle span
Definition at line 3509 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateRfidAntennaOpen | ( | void | ) | [slot] |
Called when the update button of the properties widget is clicked.
Called when the refresh button of the properties widget is clicked.
< Rfid antenna angle span
Definition at line 3889 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateRfidTree | ( | QTreeWidgetItem * | item, |
stdr_msgs::RfidSensorMsg | l | ||
) |
Updates a tree item with a specific rfid reader sensor.
Updates a tree item with a specific rfid antenna sensor.
item | [QTreeWidgetItem*] The tree item that will be updated |
l | [stdr_msgs::RfidSensorMsg] The rfid reader sensor message |
item | [QTreeWidgetItem*] The tree item that will be updated |
l | [stdr_msgs::RfidSensorMsg] The rfid antenna sensor message |
Definition at line 3331 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateRobot | ( | void | ) | [slot] |
Called when the update button of the properties widget is clicked.
Definition at line 4274 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateRobotOpen | ( | void | ) | [slot] |
Called when the refresh button of the properties widget is clicked.
Definition at line 4303 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateRobotPreview | ( | void | ) |
Updates the robot's preview.
Definition at line 4345 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateRobotTree | ( | void | ) |
Updates the robot's tree widget.
Definition at line 2524 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateSonar | ( | void | ) | [slot] |
Called when the update button of the properties widget is clicked.
< Sonar cone span
Definition at line 2988 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateSonarOpen | ( | void | ) | [slot] |
Called when the refresh button of the properties widget is clicked.
< Sonar cone span
Definition at line 3131 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateSonarTree | ( | QTreeWidgetItem * | item, |
stdr_msgs::SonarSensorMsg | l | ||
) |
Updates a tree item with a specific sonar sensor.
item | [QTreeWidgetItem*] The tree item that will be updated |
l | [stdr_msgs::SonarSensorMsg] The sonar sensor message |
Definition at line 3275 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateSoundSensor | ( | void | ) | [slot] |
Called when the update button of the properties widget is clicked.
Definition at line 3795 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateSoundSensorOpen | ( | void | ) | [slot] |
Called when the refresh button of the properties widget is clicked.
< Angle span
Definition at line 4169 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateSoundSensorTree | ( | QTreeWidgetItem * | item, |
stdr_msgs::SoundSensorMsg | l | ||
) |
Updates a tree item with a specific sound sensor.
Definition at line 3463 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateThermalSensor | ( | void | ) | [slot] |
Called when the update button of the properties widget is clicked.
Definition at line 3703 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateThermalSensorOpen | ( | void | ) | [slot] |
Called when the refresh button of the properties widget is clicked.
< Angle span
Definition at line 4079 of file stdr_robot_creator_connector.cpp.
void stdr_gui::CRobotCreatorConnector::updateThermalSensorTree | ( | QTreeWidgetItem * | item, |
stdr_msgs::ThermalSensorMsg | l | ||
) |
Updates a tree item with a specific thermal sensor.
Definition at line 3419 of file stdr_robot_creator_connector.cpp.
int stdr_gui::CRobotCreatorConnector::argc_ [private] |
< Number of input arguments
Input arguments
Definition at line 45 of file stdr_robot_creator_connector.h.
char** stdr_gui::CRobotCreatorConnector::argv_ [private] |
Variable that holds the proportion coefficient for the visualization of robot creator image.
Definition at line 48 of file stdr_robot_creator_connector.h.
float stdr_gui::CRobotCreatorConnector::climax_ [private] |
Object of CRobotCreatorLoader.
Definition at line 51 of file stdr_robot_creator_connector.h.
unsigned int stdr_gui::CRobotCreatorConnector::co2_sensor_hightlight_id_ [private] |
Definition at line 64 of file stdr_robot_creator_connector.h.
int stdr_gui::CRobotCreatorConnector::co2_sensors_number = -1 [static] |
Definition at line 96 of file stdr_robot_creator_connector.h.
QTreeWidgetItem* stdr_gui::CRobotCreatorConnector::current_co2_sensor_ [private] |
Definition at line 74 of file stdr_robot_creator_connector.h.
QTreeWidgetItem* stdr_gui::CRobotCreatorConnector::current_footprint_point_ [private] |
Definition at line 78 of file stdr_robot_creator_connector.h.
QTreeWidgetItem* stdr_gui::CRobotCreatorConnector::current_laser_ [private] |
Tree item of the currently clicked sonar.
Definition at line 70 of file stdr_robot_creator_connector.h.
QTreeWidgetItem* stdr_gui::CRobotCreatorConnector::current_rfid_ [private] |
Definition at line 73 of file stdr_robot_creator_connector.h.
QTreeWidgetItem* stdr_gui::CRobotCreatorConnector::current_sonar_ [private] |
Tree item of the currently clicked rfid.
Definition at line 72 of file stdr_robot_creator_connector.h.
QTreeWidgetItem* stdr_gui::CRobotCreatorConnector::current_sound_sensor_ [private] |
Tree item of the currently clicked footprint point.
Definition at line 77 of file stdr_robot_creator_connector.h.
QTreeWidgetItem* stdr_gui::CRobotCreatorConnector::current_thermal_sensor_ [private] |
Definition at line 75 of file stdr_robot_creator_connector.h.
unsigned int stdr_gui::CRobotCreatorConnector::laser_hightlight_id_ [private] |
Current sonar for highlight.
Definition at line 59 of file stdr_robot_creator_connector.h.
int stdr_gui::CRobotCreatorConnector::laser_number = -1 [static] |
< Number of laser sensors
Number of sonar sensors
Definition at line 92 of file stdr_robot_creator_connector.h.
Container of the new robot message.
Definition at line 54 of file stdr_robot_creator_connector.h.
stdr_msgs::RobotMsg stdr_gui::CRobotCreatorConnector::new_robot_msg_ [private] |
Current laser for highlight.
Definition at line 57 of file stdr_robot_creator_connector.h.
unsigned int stdr_gui::CRobotCreatorConnector::rfid_antenna_hightlight_id_ [private] |
Current rfid antenna for highlight.
Definition at line 63 of file stdr_robot_creator_connector.h.
int stdr_gui::CRobotCreatorConnector::rfid_number = -1 [static] |
Definition at line 95 of file stdr_robot_creator_connector.h.
unsigned int stdr_gui::CRobotCreatorConnector::sonar_hightlight_id_ [private] |
Current rfid antenna for highlight.
Definition at line 61 of file stdr_robot_creator_connector.h.
int stdr_gui::CRobotCreatorConnector::sonar_number = -1 [static] |
Number of rfid antenna sensors.
Definition at line 94 of file stdr_robot_creator_connector.h.
unsigned int stdr_gui::CRobotCreatorConnector::sound_sensor_hightlight_id_ [private] |
Tree item of the currently clicked laser.
Definition at line 68 of file stdr_robot_creator_connector.h.
int stdr_gui::CRobotCreatorConnector::sound_sensors_number = -1 [static] |
Definition at line 98 of file stdr_robot_creator_connector.h.
unsigned int stdr_gui::CRobotCreatorConnector::thermal_sensor_hightlight_id_ [private] |
Definition at line 65 of file stdr_robot_creator_connector.h.
int stdr_gui::CRobotCreatorConnector::thermal_sensors_number = -1 [static] |
Definition at line 97 of file stdr_robot_creator_connector.h.