example packages
This commit is contained in:
20
example/example_java/Example_java.java
Normal file
20
example/example_java/Example_java.java
Normal file
@@ -0,0 +1,20 @@
|
||||
import common_msgs.Messages.*;
|
||||
|
||||
public class Example_java {
|
||||
public void run() {
|
||||
while (true) {
|
||||
// TODO: Implement node logic
|
||||
System.out.println("Running example_java");
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
Example_java node = new Example_java();
|
||||
node.run();
|
||||
}
|
||||
}
|
4
example/example_java/package.bellande
Normal file
4
example/example_java/package.bellande
Normal file
@@ -0,0 +1,4 @@
|
||||
dependencies:
|
||||
- common_msgs
|
||||
language: java
|
||||
name: ../exampleexample_java
|
Reference in New Issue
Block a user