M
M
MeatB2018-05-10 17:38:56
Arduino
MeatB, 2018-05-10 17:38:56

C# Arduino, compass control?

Hello everyone, I need help.
There is a WPF application for controlling the movement of the Arduino robot.
The application has Canvas. on which I can draw a trajectory of movement - I draw Polylines connected to each other.
I need to send Arduino data based on this trajectory: the length of the segment from point to point, the actual coordinates of the target and the angle of rotation for the compass.
Tell me what needs to be done, or where you can see something on this issue.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ter, 2018-05-10
@alexsandr0000

1. When drawing, save the lines in a List;
2. Convert the trajectory into control commands, taking into account slippage. In fact, the movement of the robot is the set of commands that it performs;
3. Transfer data to the robot, here or at the very beginning you upload it via UART or while driving via Bluetooth or other wireless data transmission channel;
4. Add a feedback channel so that the robot transmits what command it is currently executing + if you connect GPS, location data, etc.
You didn't specify those. details, what board, what kind of robot, therefore, I won’t advise something other than turning to Google, well, or here , maybe you will find something

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question