There are many examples in Syml v2 library that use Waypoints but I haven’t been able to find a way to assign values that works, including tuple-style literals. Any help would b much appreciated.
package drivecycle{
private import ISQ::*;
private import ScalarValues::*;
attribute def WayPoint {
time : TimeValue;
position : LengthValue;
speed : SpeedValue;
acc : AccelerationValue;
curv : CurvatureValue;
}
attribute drivecycle1 : WayPoint[*] = ( //* … */ );
attribute drivecycle2 : WayPoint[*] = ( //* … */ );
}