This module enables real-time trajectory execution on Power PMAC, using user-shared memory for trajectory input and position-following control via electronic gearing. It is designed for integration into Power PMAC projects requiring precise, real-time motion control.
To integrate the trajectory functionality into your Power PMAC project, follow these steps:
-
Add the Header File Assuming your project is located at:
C:/PROJECT_PATH/projectnamePlace the header file
rt_trajectory.hinto the following directory:C:/PROJECT_PATH/projectname/projectname/C Language/Realtime RoutinesNote: If your development environment requires escaping spaces in paths, use one of the following methods:
-
Backslashes (e.g., in Makefiles or scripts):
C:/PROJECT_PATH/projectname/projectname/C\ Language/Realtime\ Routines
-
Quotes (e.g., in shell commands or build configurations):
"C:/PROJECT_PATH/projectname/projectname/C Language/Realtime Routines"
-
-
Include the Header in Your Code In your
usrcode.cfile, include the header as shown below. Make sure it appears after thepp_proj.hinclude directive:#include "../Include/pp_proj.h" #include "../Include/rt_trajectory.h"
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.
Leandro Martins dos Santos
Software Systems Engineer
Diamond Light Source Ltd.