Console.WriteLine("📜 Axis Streaming Motion: PVAJT");
try
{
int points = 3;
int emptyCount = 2;
double[] positions = [1.0, 0.5, 0.75];
double[] velocities = [10.0, 20.0, 40.0];
double[] accelerations = [4, 4, 4];
double[] jerks = [50, 50, 50];
double[] times = [0.4, 0.2, 0.1];
velocities,
accelerations,
jerks,
times,
points,
emptyCount,
false,
true);
Console.WriteLine($"Final position: {axis.CommandPositionGet()}");
}
finally
{
controller.Delete();
}
Constants used in the C# sample apps.
const int AXIS_0_INDEX
Default: 0.
Represents a single axis of motion control. This class provides an interface for commanding motion,...
static MotionController * Get()
Get an already running RMP EtherCAT controller.
Represents the RMP soft motion controller. This class provides an interface to general controller con...
int32_t MotionDoneWait()
Waits for a move to complete.
int32_t AmpEnableSet(bool enable, int32_t ampActiveTimeoutMilliseconds=AmpEnableTimeoutMillisecondsDefault, bool overrideRestrictedState=false)
Enable all amplifiers.
void MovePVAJT(const double *const position, const double *const velocity, const double *const acceleration, const double *const jerk, const double *const time, int32_t pointCount, int32_t emptyCount, bool retain, bool final)
Helpers namespace provides utility functions for common tasks in RMP applications.