Skip to content

This application enables real-time trajectory execution on Power PMAC, based on user-shared memory for trajectory input and position-following control via electronic gearing.

License

Notifications You must be signed in to change notification settings

DiamondLightSource/ppmac_rt_trajectory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Power PMAC Real-Time Trajectory Execution

Overview

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.

How to Use

To integrate the trajectory functionality into your Power PMAC project, follow these steps:

  1. Add the Header File Assuming your project is located at:

    C:/PROJECT_PATH/projectname

    Place the header file rt_trajectory.h into the following directory: C:/PROJECT_PATH/projectname/projectname/C Language/Realtime Routines

    Note: 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"
  2. Include the Header in Your Code In your usrcode.c file, include the header as shown below. Make sure it appears after the pp_proj.h include directive:

    #include "../Include/pp_proj.h"
    #include "../Include/rt_trajectory.h"

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for details.

Author

Leandro Martins dos Santos
Software Systems Engineer
Diamond Light Source Ltd.

About

This application enables real-time trajectory execution on Power PMAC, based on user-shared memory for trajectory input and position-following control via electronic gearing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages