The class to create the main window of the application.
|
__init__(self,
files=[],
restricted_to_one_master=False,
parent=None)
Creates the window, connects the signals and init the class. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
str or None
|
getMasteruri(self)
Requests the ROS master URI from the ROS master through the RPC
interface and returns it. |
source code
|
|
|
setMasterOnline(self,
masteruri,
online=True) |
source code
|
|
|
|
MasterViewProxy
|
getMaster(self,
masteruri,
create_new=True)
Returns:
the Widget which represents the master of given ROS master URI. |
source code
|
|
|
|
|
on_host_description_updated(self,
masteruri,
host,
descr) |
source code
|
|
|
on_capabilities_update(self,
masteruri,
address,
config_node,
descriptions) |
source code
|
|
|
|
|
on_master_list_err_retrieved(self,
masteruri,
error)
The callback method connected to the signal, which is emitted on an
error while call the service to determine the discovered ROS master. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
on_master_errors_retrieved(self,
masteruri,
error_list) |
source code
|
|
|
on_master_timediff_retrieved(self,
masteruri,
timediff) |
source code
|
|
|
on_master_info_error(self,
masteruri,
error) |
source code
|
|
|
|
|
|
|
on_master_log_clicked(self)
Tries to get the log of master_discovery node on the machine
requested by a dialog. |
source code
|
|
|
|
|
|
|
on_run_node_clicked(self)
Open a dialog to run a ROS node without a configuration |
source code
|
|
|
|
|
on_sync_dialog_released(self,
released=False,
masteruri=None,
external_call=False) |
source code
|
|
|
on_sync_start(self,
masteruri=None)
Enable or disable the synchronization of the master cores |
source code
|
|
|
|
|
|
|
showMasterName(self,
masteruri,
name,
timestamp,
online=True)
Update the view of the info frame. |
source code
|
|
|
|
|
|
|
|
|
on_master_table_clicked(self,
selected)
On click on the sync item, the master_sync node will be started or
stopped, depending on run state. |
source code
|
|
|
|
|
on_master_selection_changed(self,
selected)
If a master was selected, set the corresponding Widget of the stacked
layout to the current widget and shows the state of the selected
master. |
source code
|
|
|
|
|
|
|
on_masterTableView_selection_changed(self,
selected,
deselected)
On selection of a master list. |
source code
|
|
|
on_all_master_refresh_clicked(self)
Retrieves from the master_discovery node the list of all discovered
ROS master and get their current state. |
source code
|
|
|
|
|
on_start_robot_clicked(self)
Tries to start the master_discovery node on the machine requested by
a dialog. |
source code
|
|
|
|
|
|
|
|
|
on_load_launch_as_default_bypkg(self,
pkg,
launch_file,
master_proxy,
args=[],
host=None) |
source code
|
|
|
|
|
|
|
on_launch_transfer(self,
files)
Copies the selected file to a remote host :param file: A list with
paths :type file: list of strings |
source code
|
|
|
|
|
|
|
|
|
changeEvent(self,
event)
Check for changed files, if the main gui is activated. |
source code
|
|
|
on_start_nodes(self,
masteruri,
cfg,
nodes) |
source code
|
|
|
|
|
on_description_update(self,
title,
text,
force=False) |
source code
|
|
|
on_description_update_cap(self,
title,
text) |
source code
|
|
|
|
|
|
|
keyReleaseEvent(self,
event)
Defines some of shortcuts for navigation/management in launch list
view or topics view. |
source code
|
|
|
image_mouseDoubleClickEvent(self,
event)
Set the robot image |
source code
|
|
|
mastername_mouseDoubleClickEvent(self,
event)
Set the robot color |
source code
|
|