pyrobosim.gui.main.PyRoboSimMainWindow
- class pyrobosim.gui.main.PyRoboSimMainWindow(world: World, show: bool = True, options: WorldCanvasOptions = WorldCanvasOptions(dpi=100, animation_dt=0.1, show_collision_polygons=False, show_room_names=True, show_object_names=True, show_location_names=True, show_robot_names=True), *args: Any, **kwargs: Any)
Main application window for the PyRoboSim GUI.
Methods
__init__(world[, show, options])Creates an instance of the PyRoboSim application main window.
closeEvent(_)Cleans up running threads on closing the window.
Creates the main GUI layout.
Callback to cancel any running action for the current robot.
Callback to close a location.
Callback to detect objects.
Callback to navigate to a goal location.
Callback to open a location.
Callback to pick an object.
Callback to place an object.
Callback to reset the path planner for the current robot.
Callback to reset the entire world.
Callback when the currently selected robot changes.
on_toggle_collision_polygons(state)Callback to toggle collision polygons.
on_toggle_location_names(state)Callback to toggle location name visibility.
on_toggle_object_names(state)Callback to toggle object name visibility.
on_toggle_robot_names(state)Callback to toggle robot name visibility.
on_toggle_room_names(state)Callback to toggle room name visibility.
Callback to randomize robot goal.
Callback to randomize manipulation object goal.
Callback to randomize robot pose.
set_buttons_during_action(state)Enables or disables buttons that should not be pressed while the robot is executing an action.
set_window_dims([screen_fraction])Set window dimensions.
set_world(world)Sets the world for the GUI.
Update the state of buttons based on the state of the robot.
Attributes
Signal for updating UI button state.