Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
JastAdd
RagConnect
Commits
7a5db576
Commit
7a5db576
authored
Apr 14, 2020
by
Johannes Mey
Browse files
fix test to work with amended grammar
parent
b5f0e3d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/jastadd/ros2rag/compiler/SimpleMain.java
View file @
7a5db576
...
...
@@ -51,8 +51,8 @@ public class SimpleMain {
MappingDefinition
mappingDefinition
=
new
MappingDefinition
();
mappingDefinition
.
setID
(
"PoseToPosition"
);
mappingDefinition
.
setFrom
(
TypeDecl
.
createRef
(
"PBPose"
));
mappingDefinition
.
setTo
(
TypeDecl
.
createRef
(
"Position"
));
mappingDefinition
.
setFrom
(
new
SimpleJavaTypeUse
(
"PBPose"
));
mappingDefinition
.
setTo
(
new
SimpleJavaTypeUse
(
"Position"
));
mappingDefinition
.
setContent
(
" pose.position.x += sqrt(.5 * size.x)\n"
+
" MAP round(2)\n"
+
" x = x / 100\n"
+
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment