Example Projects

You can find the example projects that we ship with the edelkrone SDK installation from SDK tray icon menu as shown below.

examples

Note

When you click to Examples, default file explorer application opens the Examples folder.

example_folder

In this page, we are going to give a summary about each example.

Caution

All the examples, except the edelkrone Web APP, assume that the specific edelkrone Link Adapter we are going to interact with is paired with a bundle beforehand.

keyposeMoveFixedDuration_simple.py

  • This script sends a command to the SDK to make the system move to a specific keypose slot and exits immediately.

keyposeLoopFixedDuration_simple.py

  • This script sends a command to the SDK to make the system loop between two specific keypose slots and exits immediately.

keyposeMove_byNumericData.py

  • This script uses keyposeIndex=0 as a scratchpad area.
  • At the beginning, script reads current pan, tilt and slide encoder readings.
  • Then, based on these readings the script updates keyposeIndex=0 slot.
    • This makes the motion to start at system's current position without any jumps.
  • Based on the script parameters; pan, tilt and slide motion range is split into specific intervals.
  • At each update cycle:
    • Script modifies the keyposeIndex=0 slot with the updated motion setpoints.
    • Script sends a keyposeMoveFixedDuraion command and waits for the motion to finish.

joystickMove_pygame.py

joystick_move

  • This script relies on PyGame library to create a simple graphical user interface.
  • At each screen update cycle, Pan and Tilt readings at the interface are updated.
  • By pushing the w, a, s, and d buttons from your keyboard, you can control Pan and Tilt axis of your connected system.

periodicStatusQuery.py

  • This script sends a query to connected edelkrone Link Adapter for status query and prints the information to terminal.

obs_keypose.py

  • This script can be used as a template for developing custom OBS Studio plugins that can interact with edelkrone SDK.
  • In this script, keypose move commands are sent based on Scene Change events coming from OBS Studio.

edelkrone-web-app.zip

  • We developed the edelkrone Web App not only as a final product that our end-users can use to simply control their edelkrone motion control systems on a personal computer, but also to showcase the limitless capabilities of edelkrone SDK.
  • In this archive file, you can source code for our latest version of edelkrone Web APP distributed under MIT license.

realTimeMove_analyse.py

  • This script exemplifies how you can generate arbitrary motion profile for your motion control system and how to playback that precomputed motion profile in real time.
  • This example also shows how you can analyse the performance of your motion profile execution by comparing the setpoints you sent and the encoder readings.