Jean-Baptiste
unread,Jul 3, 2012, 11:27:34 AM7/3/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to spo...@googlegroups.com
Hi,
I don't really get what Eonson and Cordies are doing in PlanetPi4 (compiled with the source code from SpoVNet website).
Firstly the 4 EONSON areas are not detected. I had to change notScenario = new Scenario(node->getNodeId(), 500, 125000, 125000, nSrv,this) by
notScenario = new Scenario(node->getNodeId(), 50, 11500, 11500, nSrv,this) to detect the 4 areas.
Then in Scenario.cpp from EONSON I understood that when I get in Area1
- I advertise positionUpdate for Area1
- I subscribe for onMeeting in Area1
- I subscribe for onDepart in Area1
- I publish positionUpdate in Area1
So in PlanetPi4 nothing happens. If I publish onMeeting in Area1 then my spaceship will be red when it comes in Area1. If I publish onDepart in Area1 then the spaceship is blue.
By publishing positionUpdate there is no receiveNotification Callback in aribanet.cpp from PlanetPi4.
So how should I use Eonson? Do I need to change Scenario.cpp to publish onDepart or onMeeting? And what Cordies exactly does?
Normally it should check for correlation. How can I check those correlations and how can I execute a function on correlation = true?
I don't know if I presented my problem clearly.
Thank you for your help,
JB