Hi all
I want to do something that is fairly simple but I need some guidance. I'm new to neptus development.
I am building a sensor node which currently has a GPS module and a temperature sensor.
- This node communicates with DUNE sending it's location and temperature
- DUNE forwards IMC messages with the GPS fix and temperature to NEPTUS
What I want is to have that sensor node show up in neptus (at its real location given by the gps) identified as a already existing vehicle (let's say x8-01) (maybe creating a new vehicle for that involves a lot of extra development?)
To my knowledge I can do this in 2 ways (correct me if I am wrong)
a) having a dedicated plugin that handles those kind of imc messages and displaying the info on the map
My specific questions are: Are there any plugins that already handle this or something similar?
if yes, how are these called?
Are there any polling functions of IMC messages in neptus? I assume there are, can you help me by maybe pointing out where I can find these being used?
I followed the neptus tutorials on youtube and using some other example code I have some basic working plugins that can handle mouse actions and creating dots (at a specific screen location). Something like this: https://i.imgur.com/nBjcEWi.png
b) making neptus think that the sensor node is an acutal uav and tracking it realtime using the uav console
This option is also fine for me, I just want my sensor to show up somehow in neputs.
I have the sensor node identified as x8-01 and imc messages are showing up but something is missing. (what?)
Can any one of you point out what kind of other messages I should send from dune so that neptus would track the sensor node as one uav.
This would mean making the status showing as ACTIVE, not DISCONNECTED and presumably other stuff.
In the end I want a proof of concept communication between the sensor node and neptus.
The easiest way of having the sensor node show up in neptus would be fine with me, nothing really fancy.
In case it helps here is the shell output for the dune task: http://codepad.org/T3NR7ycd
Thank you in advance for the help
Remus