forked from tweber-ill/ill_mirror-takin2-paths
-
Notifications
You must be signed in to change notification settings - Fork 1
Tutorials
Tobias Weber (Institut Laue-Langevin) edited this page Apr 14, 2023
·
12 revisions
This section describes a typical workflow together with demo videos.
Steps to try out the pathfinding functionality:
- Add new walls or obstacles to the scene by selecting "Geometry" -> "Add Wall" / "Add Pillar" from the menu.
- All obstacles can be moved by dragging them via mouse.
- Open the configuration space dialog using the "Calculation" -> "Angular Configuration Space..." menu item.
- Click the "Update Path Mesh" button in the configuration space dialog to compute the roadmap corresponding to the current instrument and wall configuration.
- Click the "Move Current Position" and "Move Target Position" radio buttons and click in the configuration space plot to set and move the start and target positions, respectively.
- A path from the start to the target position is calculated. It can be directly traced by clicking the "Go" button in the main window's "Path Properties" dock window.
Basic tutorial videos are available here:
First instrumental test at the MIRA spectrometer:
Examples for scripting TAS-Paths using Python can be found here.
To start one of the scripts, download and run it using python3 workflow.py
.
Note that TAS-Paths' Python package must be installed for scripting to work (which, by default, is the case for the Ubuntu builds, but not for the Mac version).