Hi! Firstly, I am not good at English. So I'm using a translator. Please understand if it's weird.
I'm currently making a self-driving car, and I want to add an autonomous parking function. Like a robot vacuums moving into a charging dock. So I thought about it. I buy another Arduino, connect the Bluetooth module and GPS, and leave it where I want it. The Bluetooth module sends data to the car. The car then identifies its current location and moves there.
Is it possible? If possible, is there any code or project to refer to? Or It’s not, what should I modify?
No, it is not possible. GPS is not accurate enough, the reach of Bluetooth is not sufficient.
Even if you solved both problems, you would still have to find a route, avoid obstacles, etc.
So my project guidance would be: find a different project.
Hi!
First I wish you luck with your project. I am planning to do quite the same: I am building a BLE-controlled toy car with the 33BLE arduino and plan to use gyrometer, accelerometer and magnetometer data for indoor localization.
Theorically, Inertial Measurment Unit (IMU) is enough for navigation as you can obtain self position in space at any moment.
In practice, IMU are known to shift with time and require precise calibration to get usefull data. That is why IMU is coupled with a GPS to allow continuous correction (like in plane for example).
As an example: I spent like 2 days on the gyrometer data only to obtain a consistent value of the direction of the car (allowing me like a compass to spin the car for exact angle like quarter or half spin).
The precision is enough for my needs but I can't imagine it to be consistent after several minutes of driving.
The good idea is to use earth magnetism to detect North and correct the gyro this way, but it involves signal processing I cant afford now (and the measured magnetism is really dependant of environnemental conditions, make it hard to use as a reference in time).
I also use an ulstrasonic device to measure the available distance to next obstacle. Did you planned to use such devices on your car to avoid shock?
Roughly, your code should be something like:
- get destination coordonnates
- loop begins:
- get actual coordonnates
- calculate motion vector (direction and distance to the destination)
- power up the car to follow the motion vector (while avoiding unknown obstacles)
- loop ends.
Unfortunately, GPS civil precision (like 1 to 10 meters if I am right) is enough to reach the car park but not enough to drive you with the expected care into the parking spot.
Do you know how the robots navigate and park?
There’s a couple of strategies you need to read about.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.