I am making a robot that is supposed to roam inside my house and pick up trash using openCV. I plan to send information from my arduino mega to my arduino nano connected to window pc using radio transceivers. I also plan to send video feed from raspberry pi camera over WiFi to the windows PC. The windows PC then uses openCV and processes other information from the sensors and sends command back to arduino mega.

I have right now:

  • Arduino mega
  • raspberry pi + usb camera + wifi dongle
  • Xbox 360 kinect
  • wheel encoders
  • sonar distance sensor
  • arduino nano
  • windows PC

I want to know how to keep track of the robot like the room it is. I think what I am trying to do is SLAM, but I just need to make the map once because the rooms don't change much. I am open to ideas. Cost is a factor.

  • $\begingroup$ Perhaps changing the title from "Best...method" to "Best ...method for indoor ...." would make it less of a thumbait. $\endgroup$
    – Pe Dro
    Oct 10 '20 at 15:08

Looking at your hardware, only the wheel encoders are suitable for environment-independent localization, which is not enough in most cases. The localization method using the wheel encoders called "odometry". The other sensors you have are suited more for known environments and map-based navigation. The camera could be used for markers detection and mapping, the distance sensor can be used for matching the location to a map (Particle Filter is the thing). In any case, I would add some inertial sensors(gyro, accelerometer or integrated IMU) to your system, to improve the localization performance.

  • $\begingroup$ I also have a kinnect if that can be used with raspberry pi $\endgroup$ Nov 24 '14 at 19:33
  • $\begingroup$ Potentially, Kinect is just enough for the localization purposes if we are talking about sterile closed space. But it should be mounted not on your moving robot, but statically and observe the robot moving. If you set up good markers on your robot, you will actually be able to track the robot's 3D position until it is in the sight of the sensor. $\endgroup$
    – Eugene Sh.
    Nov 24 '14 at 19:48
  • $\begingroup$ I would like the robot to move in multiple rooms $\endgroup$ Nov 25 '14 at 3:37
  • $\begingroup$ Why do you say that the kinect and sonar sensor would be unsuitable for localization? $\endgroup$
    – Ian
    Dec 1 '14 at 20:19
  • $\begingroup$ @Ian Kinect wasn't there initially as far as I remember. See comments afterwards. $\endgroup$
    – Eugene Sh.
    Dec 1 '14 at 20:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.