Chapter 5: Single-Axis Motion

The core of motion control is axis motion. In general, there are two types of motion: single-axis and multi-axis. In this chapter, you'll learn how to move and stop a single axis.

Add a header and .cpp file

You need to add a header and a .cpp file to learn the code of this chapter. The steps of adding them are written in Chapter 2 > Add a header and .cpp file.


Take the following steps to complete the training:

Complete code

Additional information