-
Notifications
You must be signed in to change notification settings - Fork 5
Sending positions to an IMC network
Jose Pinto edited this page May 18, 2017
·
1 revision
imcast is a simple program that can be used to send positions (Announce messages) from external systems into an IMC network.
From the imcjava folder, run:
ant imcast
After compilation, a binary file with the program will be put in the dist/ folder. To run, execute (PORT is port where to listen):
cd dist; ./imcast <PORT>
After compilation, a jar file will be put in the dist/ folder. To run, execute (PORT is port where to listen):
cd dist
java -jar imcast.jar <PORT>
You should send JSON data (text) with the positions to be sent. Example:
echo -n {sys_name:teste2, sys_type:uuv, longitude:-8.64, latitude:41.2456, height:0} > /dev/udp/127.0.0.1/6003