Go Down

Topic: Array of data structures (Read 307 times) previous topic - next topic

Nedya

Hi ,

Please i need your advice before i begin inplementing.
SO previously , working on localisation in star topology with xbee serie 1, The only solution i had, with the given sensors
was to send back the result of ATND command to the computer and then with java code i resolve the sensors locations.

I don't know if it still a good solution or not.
But i just had in mind , what if i try to filter the incoming bytes in an array of data structures and then the location resolution will be done with every sensor by itself.
The structure will contain the sensor NI, neighbor Ni, and neighbor RSSI. Transform the RSSI into distance.

Then I'll need an array to save the different distances to allow trilateration.

Please, am i going on the right solution or extremely wrong ??

need your help!!

Go Up