pyrobosim.gui.main.PyRoboSimMainWindow

class pyrobosim.gui.main.PyRoboSimMainWindow(world, show=True, *args, **kwargs)

Main application window for the pyrobosim GUI.

Methods

__init__(world[, show])

Creates an instance of the pyrobosim application main window.

closeEvent(_)

Cleans up running threads on closing the window.

create_layout()

Creates the main GUI layout.

get_current_robot()

on_cancel_action_click()

Callback to cancel any running action for the current robot.

on_close_click()

Callback to close a location.

on_collision_polygon_toggle_click()

Callback to toggle collision polygons.

on_detect_click()

Callback to detect objects.

on_navigate_click()

Callback to navigate to a goal location.

on_open_click()

Callback to open a location.

on_pick_click()

Callback to pick an object.

on_place_click()

Callback to place an object.

on_reset_path_planner_click()

Callback to reset the path planner for the current robot.

on_reset_world_click()

Callback to reset the entire world.

on_robot_changed()

Callback when the currently selected robot changes.

rand_goal_cb()

Callback to randomize robot goal.

rand_obj_cb()

Callback to randomize manipulation object goal.

rand_pose_cb()

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_button_state()

Update the state of buttons based on the state of the robot.

Attributes

staticMetaObject

update_buttons_signal

Signal for updating UI button state.