For my bachelor project i'm developing a vision system for the mindstorm robots. The system provides more information for the robots. There will be a camera hanging over the playfield of the robots. With a tracking algorithm i can follow the robots and get their positions. This works so far.
But now the thing is that I need to send this information to the robots through bluetooth so they can do things with the information, like avoiding incoming robots or go to another robot. The vision system is implemented in c++ so i would like to send the data from there via bluetooth to the robots.
What i already managed to do is to send commands to the robot to let him go forward or to turn without running a .java program on the robot. But i don't want to send commands but i need to send data. So there must be a java program running on the robot who receives the data . I started with the basic BTReceive.java sample but i always crashes when i send something from the pc.
The robot throws this error:
- Code: Select all
Can you guys help me with this or point me in the right direction please?