Skip to content

About

Simulated Karabo motors for educational and test purposes

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

52 Commits

Folders and files

Repository files navigation

SimulatedMotors Library (MiddleLayer)

Description

The simulatedMotors library contains the following simulated motors, which can easily be used in the GUI, unit tests, and similar contexts:

  • SimulatedMotor
  • SimulatedBeckhoffMC2Base
  • SimulatedMultiAxisMotor
  • SimulatedX2TimerML

Testing

Every Karabo device in Python is shipped as a regular Python package. To make the device visible to any device server, install the package in Karabo's own Python environment.

From the directory containing pyproject.toml, run:

pip install -e .

Alternatively, use the karabo utility script:

karabo develop simulatedMotors

Running

To manually start a server using these devices, run:

karabo-middlelayerserver serverId=middleLayerServer/1 \\
    deviceClasses=SimulatedMotor,SimulatedBeckhoffMC2Base,SimulatedMultiAxisMotor,SimulatedX2TimerML

Or use a properly configured:

karabo-start

About

Simulated Karabo motors for educational and test purposes

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages