Skip to content
Snippets Groups Projects
Commit 4d39d58d authored by Carlos Alfredo Yeverino Rodriguez's avatar Carlos Alfredo Yeverino Rodriguez
Browse files

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
Branches updated_emam2middleware
No related tags found
1 merge request!5Updated EMAM2Middleware
package dp.subcomponents;
struct Affordance {
Q(-0.5rad:0.001rad:0.5rad) angle;
(-0.5rad:0.001rad:0.5rad) angle;
Q(-7m : 0.01m : -2.5m) toMarkingL;
Q(-2m : 0.01m : 3.5m) toMarkingM;
Q(2.5m : 0.01m : 7m) toMarkingR;
Q(0m : 0.1m : 75m) distL;
Q(0m : 0.1m : 75m) distR;
(-7m : 0.01m : -2.5m) toMarkingL;
(-2m : 0.01m : 3.5m) toMarkingM;
(2.5m : 0.01m : 7m) toMarkingR;
(0m : 0.1m : 75m) distL;
(0m : 0.1m : 75m) distR;
Q(-9.5m : 0.01m : -4m) toMarkingLL;
Q(-5.5m : 0.01m : -0.5m) toMarkingML;
Q(0.5m : 0.01m : 5.5m) toMarkingMR;
Q(4m : 0.01m : 9.5m) toMarkingRR;
Q(0m : 0.1m : 75m) distLL;
Q(0m : 0.1m : 75m) distMM;
Q(0m : 0.1m : 75m) distRR;
(-9.5m : 0.01m : -4m) toMarkingLL;
(-5.5m : 0.01m : -0.5m) toMarkingML;
(0.5m : 0.01m : 5.5m) toMarkingMR;
(4m : 0.01m : 9.5m) toMarkingRR;
(0m : 0.1m : 75m) distLL;
(0m : 0.1m : 75m) distMM;
(0m : 0.1m : 75m) distRR;
Q(0 : 0.1 : 1) fast;
(0 : 0.1 : 1) fast;
}
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
out Q^{n,m} out1;
implementation Math{
out1=value;
out1=val;
}
}
package dp.subcomponents;
struct Affordance {
Q(-0.5rad:0.001rad:0.5rad) angle;
(-0.5rad:0.001rad:0.5rad) angle;
Q(-7m : 0.01m : -2.5m) toMarkingL;
Q(-2m : 0.01m : 3.5m) toMarkingM;
Q(2.5m : 0.01m : 7m) toMarkingR;
Q(0m : 0.1m : 75m) distL;
Q(0m : 0.1m : 75m) distR;
(-7m : 0.01m : -2.5m) toMarkingL;
(-2m : 0.01m : 3.5m) toMarkingM;
(2.5m : 0.01m : 7m) toMarkingR;
(0m : 0.1m : 75m) distL;
(0m : 0.1m : 75m) distR;
Q(-9.5m : 0.01m : -4m) toMarkingLL;
Q(-5.5m : 0.01m : -0.5m) toMarkingML;
Q(0.5m : 0.01m : 5.5m) toMarkingMR;
Q(4m : 0.01m : 9.5m) toMarkingRR;
Q(0m : 0.1m : 75m) distLL;
Q(0m : 0.1m : 75m) distMM;
Q(0m : 0.1m : 75m) distRR;
(-9.5m : 0.01m : -4m) toMarkingLL;
(-5.5m : 0.01m : -0.5m) toMarkingML;
(0.5m : 0.01m : 5.5m) toMarkingMR;
(4m : 0.01m : 9.5m) toMarkingRR;
(0m : 0.1m : 75m) distLL;
(0m : 0.1m : 75m) distMM;
(0m : 0.1m : 75m) distRR;
Q(0 : 0.1 : 1) fast;
(0 : 0.1 : 1) fast;
}
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
out Q^{n,m} out1;
implementation Math{
out1=value;
out1=val;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment