Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework generic example #149

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 3 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ __pycache__/
# Distribution / packaging
.Python
env/
build/
*build*
develop-eggs/
dist/
downloads/
Expand Down Expand Up @@ -53,9 +53,6 @@ coverage.xml
*.log
local_settings.py

# Sphinx documentation
docs/_build/

# PyBuilder
target/

Expand All @@ -71,9 +68,6 @@ target/
# Pycharm / Clion
.idea

# CMake
cmake-build-*/

# MacOSX Files
.DS_Store

Expand All @@ -95,14 +89,6 @@ slprj/
*.asv
Thumbs.db

# Arduino
build-uno

CMakeCache.txt
CMakeFiles
Makefile
*.cmake

server
sh.exe.stackdump

sh.exe.stackdump
uv.lock
2 changes: 1 addition & 1 deletion docs/examples/generic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Currently one implementation variant is available for:
Generic
-------

.. include:: ../../examples/generic/server/README.rst
.. include:: ../../examples/generic/README.rst
:start-after: sphinx-marker
12 changes: 1 addition & 11 deletions docs/examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,10 @@
Examples
========

In the following sections examples for serial and Tcp/IP communications can be found with a running server and client
for the accordingly system and can be used as starting point for an own implementations. The examples use the same
program at the client and server side. If the experiment is started, a ramp trajectory is simulated and data (double,
float, int, char) is send to the GUI and can be changed by user interaction. All examples are runnable with the enclosed
server implementations.

In the Tcp/IP section an additional example completely in `Python` can be found (Generic). The server simulates a
pendulum with two connected connecting rods on a cart. The user can interact directly with the server by control the
force. The position and the angles of the rods can be visualized by graphs or an animation that represents the physical
test rig.


.. toctree::
:maxdepth: 1

serial
generic
tcp
19 changes: 0 additions & 19 deletions docs/examples/serial.rst

This file was deleted.

4 changes: 2 additions & 2 deletions docs/examples/tcp.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
======================
Tcp/IP - Communication
TCP/IP - Communication
======================

Currently two implementation variants are available for:
Currently one implementation variant is available for:

.. contents:: :local:

Expand Down
51 changes: 0 additions & 51 deletions examples/arduino/client/README.rst

This file was deleted.

15 changes: 0 additions & 15 deletions examples/arduino/client/connection.py

This file was deleted.

23 changes: 0 additions & 23 deletions examples/arduino/client/default.sreg

This file was deleted.

20 changes: 0 additions & 20 deletions examples/arduino/client/main.py

This file was deleted.

54 changes: 0 additions & 54 deletions examples/arduino/client/testbench.py

This file was deleted.

51 changes: 0 additions & 51 deletions examples/arduino/client/trajectory.py

This file was deleted.

Loading