hello ive got a scholl project.
im making a real time mapping robot . ive got 2 main problems:
1. im sending the data in bluetooth proctocol from STMf4 to the smurf phone, the data sended is location of the robot in x ax, y ax, and robot angle.
the data sends as string with "|" seperade between the data.
now metter what ive tried. the data that im sending, 80% of the time getting wrong.and that is harmin my mapping. what can i do to "confirm " the data who sended from the STM to the app.
2. next problem is when the "robot" in the canvas is reaching to the edge, i need to kind of zoom out the canvas that there is more space for the image of the robot to continue his mapping and not to get stuck in the edge of the canvas. what can i do about it? is there a thing like a auto scrolling canvas maybe?
thank for the helper. i realy needthat help, ive got the exam on the project in 2 weekes so u will realy help me.