ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Outdoor navigation, build map by odom and perimeter wire

asked 2021-04-15 14:45:19 -0600

PaddyCube gravatar image

Hello,

I'm in ROS2 Foxy and have build a lawn mower robot which uses a Perimeter wire as boundary fence.

The robot is equipped with Perimeter Sensors to detect if it is inside or not. It is able to follow/track the perimeter wire. Also it is equipped with odometry, IMU+compass, bump Sensor, cheap GPS and sonar.

Now I'm looking for a solution to build a map during robot tracks Perimeter. I found lots of Tutorials using lidar, but I don't have. Also GPS is inaccurate as it jumps up to 5 meters while not moving.

My planned solution is to record position while tracking by odom and imu and build the map. But I don't have any glue how to start even not which package might be a string point.

I know that compass imu and odom will drift and that Offset will increase by time but this is tolerble for me

Any hints are welcome.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-04-18 10:14:41 -0600

duck-development gravatar image

the problem is you do not have real features. for relocation on the map. during the drive if you hit the perimeter you do not know where. maybe visual odom is something for you.

edit flag offensive delete link more

Comments

Hello thank you for your input. You're right, if I hit Perimeter when it shouldn't as a result of drift, it is hard to re localize. Maybe I can track Perimeter for some meters and compare poses and course to match with the initial mapping.

Currently, I just want to do some coverage path planning based on the build map. If I get 70% coverage, it will be enough for the first attempt. Currently mower act stupid by simple turn random if bumper or Perimeter gets hit.

But first of all, there must be a map build based on waypoints by odom and Imu only. This is what I want to know.

Patrick

PaddyCube gravatar image PaddyCube  ( 2021-04-18 14:30:28 -0600 )edit

If it would be possible to get a map only with an geofance no one would need the lidar stuff. Because a bumper is also the same as a parameter fance.

And if you drive outdoor you IMU and encoder are not as good as indoor.

duck-development gravatar image duck-development  ( 2021-04-20 11:32:37 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2021-04-15 14:45:19 -0600

Seen: 351 times

Last updated: Apr 18 '21