Change syntax 'Q (0: 01: 1) fieldName;' in structs to '(0: 01: 1) fieldName;'...

Change syntax 'Q (0: 01: 1) fieldName;' in structs to '(0: 01: 1) fieldName;' since it is now forbidden
parent 105923ee
package dp.subcomponents; package dp.subcomponents;
struct Affordance { struct Affordance {
Q(-0.5rad:0.001rad:0.5rad) angle; (-0.5rad:0.001rad:0.5rad) angle;
Q(-7m : 0.01m : -2.5m) toMarkingL; (-7m : 0.01m : -2.5m) toMarkingL;
Q(-2m : 0.01m : 3.5m) toMarkingM; (-2m : 0.01m : 3.5m) toMarkingM;
Q(2.5m : 0.01m : 7m) toMarkingR; (2.5m : 0.01m : 7m) toMarkingR;
Q(0m : 0.1m : 75m) distL; (0m : 0.1m : 75m) distL;
Q(0m : 0.1m : 75m) distR; (0m : 0.1m : 75m) distR;
Q(-9.5m : 0.01m : -4m) toMarkingLL; (-9.5m : 0.01m : -4m) toMarkingLL;
Q(-5.5m : 0.01m : -0.5m) toMarkingML; (-5.5m : 0.01m : -0.5m) toMarkingML;
Q(0.5m : 0.01m : 5.5m) toMarkingMR; (0.5m : 0.01m : 5.5m) toMarkingMR;
Q(4m : 0.01m : 9.5m) toMarkingRR; (4m : 0.01m : 9.5m) toMarkingRR;
Q(0m : 0.1m : 75m) distLL; (0m : 0.1m : 75m) distLL;
Q(0m : 0.1m : 75m) distMM; (0m : 0.1m : 75m) distMM;
Q(0m : 0.1m : 75m) distRR; (0m : 0.1m : 75m) distRR;
Q(0 : 0.1 : 1) fast; (0 : 0.1 : 1) fast;
} }
package dp.subcomponents; package dp.subcomponents;
component ConstantMatrix<Z n=1, Z m=1>(Q^{n,m} value) { component ConstantMatrix<Z n=1, Z m=1>(Q^{n,m} val) {
port port
out Q^{n,m} out1; out Q^{n,m} out1;
implementation Math{ implementation Math{
out1=value; out1=val;
} }
} }
package dp.subcomponents; package dp.subcomponents;
struct Affordance { struct Affordance {
Q(-0.5rad:0.001rad:0.5rad) angle; (-0.5rad:0.001rad:0.5rad) angle;
Q(-7m : 0.01m : -2.5m) toMarkingL; (-7m : 0.01m : -2.5m) toMarkingL;
Q(-2m : 0.01m : 3.5m) toMarkingM; (-2m : 0.01m : 3.5m) toMarkingM;
Q(2.5m : 0.01m : 7m) toMarkingR; (2.5m : 0.01m : 7m) toMarkingR;
Q(0m : 0.1m : 75m) distL; (0m : 0.1m : 75m) distL;
Q(0m : 0.1m : 75m) distR; (0m : 0.1m : 75m) distR;
Q(-9.5m : 0.01m : -4m) toMarkingLL; (-9.5m : 0.01m : -4m) toMarkingLL;
Q(-5.5m : 0.01m : -0.5m) toMarkingML; (-5.5m : 0.01m : -0.5m) toMarkingML;
Q(0.5m : 0.01m : 5.5m) toMarkingMR; (0.5m : 0.01m : 5.5m) toMarkingMR;
Q(4m : 0.01m : 9.5m) toMarkingRR; (4m : 0.01m : 9.5m) toMarkingRR;
Q(0m : 0.1m : 75m) distLL; (0m : 0.1m : 75m) distLL;
Q(0m : 0.1m : 75m) distMM; (0m : 0.1m : 75m) distMM;
Q(0m : 0.1m : 75m) distRR; (0m : 0.1m : 75m) distRR;
Q(0 : 0.1 : 1) fast; (0 : 0.1 : 1) fast;
} }
package dp.subcomponents; package dp.subcomponents;
component ConstantMatrix<Z n=1, Z m=1>(Q^{n,m} value) { component ConstantMatrix<Z n=1, Z m=1>(Q^{n,m} val) {
port port
out Q^{n,m} out1; out Q^{n,m} out1;
implementation Math{ implementation Math{
out1=value; out1=val;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment