1 / 10

System Design Lab 5 G - 19

An executable program that launches the graphical interface and enables user interaction for the main user interface, connection dialog, and settings dialog. It also includes a communications subsystem for transmitting commands and a message listener for receiving messages.

scottnelson
Download Presentation

System Design Lab 5 G - 19

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. System DesignLab 5G - 19

  2. Software classes • GUI Subsystem: • Driver : The executable portion of the program. Launches the graphical interface. • User Interface : A graphical C# class that sets up graphics and button listeners to drive user interaction for the main user interface • Connection Dialog :A graphical C# class that sets up graphics and button listeners to drive user interaction for the connection dialog. • Settings Dialog: A graphical C# class that sets up graphics and button listeners to drive user interaction for the settings dialog.

  3. Communications SubsystemSerializable Message: A serializable class designed to transmit commands over a network to the software running on the robot’s laptop. METHODS: • Get_message – returns the string indicating the command type • Get_parameters – returns the array of strings that contain the parameters for the command • Get_id – returns the message’s ID number • Set_message – sets the string indicating the command type • Set_parameters – sets the parameters as an array of strings • Set_id – sets the message’s ID number

  4. Message Generator :A subsystem with public methods that may be called to create and send messages to the on-board system. Design decisions HIDDEN by Mess Gen: • the format of the messages in the COMM PROTOCOL Methods: • Send_movement_message – creates and transmits a movement message to the on-board system • Send_rotation_message – creates and transmits a rotation message to the on-board system • Send_gripper_command – creates and transits a gripper message to the on-board system

  5. Message Listener: A threaded subsystem that listens for incoming messages and updates its internal variables to reflect the values of those messages. METHODS: • Get_battery_status – returns an integer that reflects the percentage remaining of the robot’s battery. • Get­_gripper_status – returns a string that reflects the status of the gripper arm • Listen – listens for messages from the network sockets.

  6. Threads • input/output • button listeners • screen refresh • communication • sending commands • receiving commands • receiving telemetry

  7. Sequence Diagram

  8. UML Diagram

  9. ANTICIPATED CHANGES • Comm Protocol • SRS • Design

  10. MANAGEMENT INFO • Risks: • C# • Design Doc • Comm Protocol • Need to ensure design is well-formed and complete before moving on

More Related