ekumenlabs / tangobot

Android app to navigate using Tango services as input.
Apache License 2.0
17 stars 19 forks source link

When the robot is facing a blank wall with no patterns on it, it sets it's location randomly to somewhere else. #130

Closed RedstoneGithub closed 6 years ago

RedstoneGithub commented 6 years ago

When the robot is facing a blank wall with no patterns on it, it sets it's location randomly to somewhere else. How this can be fixed is by using the odometry from the Kobuki when it's tracking gets lost.

jubeira commented 6 years ago

Hi @AyanGithub!

What you propose is possible, but it requires some work. As this project is open source, we encourage anyone to propose and submit enhacements :wink: . This problem in particular is pretty interesting, and it's a small research project in it's own right.

In my opinion, there could be two approaches to solve it:

In any case, you should be able to get the odometry from the robot base. The base driver (called base_controller has a ROS node that allows publishing the odometry. Take a look around here. This driver is already linked in the application, so to get started you can use it as is, without compiling it from source. After you launch that node, you should be able to get the odometry from the base. Then, the problem to solve is how to combine it with Tango's odometry.