Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Commit

Permalink
Feature/pm 249 mock rockerswitch (#17) (#20)
Browse files Browse the repository at this point in the history
* Created a more MVC (model, view, controller) based program. The structure is better readable and easier to change in the future. Also added two new buttons to simulate the rocker switch input and reordered the button layout to be more logical.

The model of the MVC has not been separately created because this GUI is relatively easy and an extra file would only make it less readable.

* Removed the deprecated files and changed the reference of the GUI in the plugin to the newly created program.

* Fixed flake8 errors

* changed the rocker switch publish to use the increment or decrement variable.

* Added the new gait instruction msg variable to send feedback on incrementing and decrementing using the rocker switch.

Co-authored-by: Olav de Haas <[email protected]>

Co-authored-by: JorisWeeda <[email protected]>
  • Loading branch information
2 people authored and Roelemans committed Jan 28, 2020
1 parent c6bad09 commit 5c5b738
Show file tree
Hide file tree
Showing 6 changed files with 361 additions and 353 deletions.
2 changes: 1 addition & 1 deletion march_rqt_input_device/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<library path="src">
<class name="InputDevicePlugin" type="march_rqt_input_device.input_device.InputDevicePlugin" base_class_type="rqt_gui_py::Plugin">
<class name="InputDevicePlugin" type="march_rqt_input_device.input_device_view.InputDevicePlugin" base_class_type="rqt_gui_py::Plugin">
<description>
An example Python GUI plugin to create a great user interface.
</description>
Expand Down
80 changes: 0 additions & 80 deletions march_rqt_input_device/src/march_rqt_input_device/LayoutBuilder.py

This file was deleted.

21 changes: 0 additions & 21 deletions march_rqt_input_device/src/march_rqt_input_device/MarchButton.py

This file was deleted.

251 changes: 0 additions & 251 deletions march_rqt_input_device/src/march_rqt_input_device/input_device.py

This file was deleted.

Loading

0 comments on commit 5c5b738

Please sign in to comment.