SLAM, autonomeous robot

Post your NXJ projects, project ideas, etc here!

Moderators: roger, 99jonathan, imaqine

SLAM, autonomeous robot

Postby airglide » Sat Mar 10, 2012 5:08 pm

Hello everyone,

I want to program a robot which moves from a Point A to a Point B in a room full of furniture.

I thought I'd be great to see on a map whats happening and to use the map also as a "pathfinder". That the robot knows where he had already been. Well, the problem is I don't really know something about SLAM and how to filter the noise out of the sensors.

Can someone give me a hint how I could solve that problem? Or where I could learn something about that?
Is it necessary to filter out the noise if I have a sensor, which shows where he should go?
Is there a possibility of a sensor which sends/receives a signal so the robot know in which direction he should go?

btw I have 2 Ultrasonic sensors but would buy probably a sensor which is more exact.

sorry for the many questions ;)

Thank you for your help

airglide
airglide
New User
 
Posts: 19
Joined: Sun Mar 04, 2012 2:09 pm

Re: SLAM, autonomeous robot

Postby Aswin » Sat Mar 10, 2012 6:46 pm

Hi,

One can build a robot hat finds its way using US sensors. Read this blog posts for an example.
http://nxttime.wordpress.com/2012/02/27 ... guard-bot/
http://nxttime.wordpress.com/2012/03/05/a-range-map/
My NXT blog: http://nxttime.wordpress.com/
Aswin
Active User
 
Posts: 122
Joined: Tue Apr 26, 2011 9:18 pm
Location: Netherlands

Re: SLAM, autonomeous robot

Postby airglide » Sun Mar 11, 2012 2:48 pm

wow, that's what I've looked for, thank you very much

Is there a sender which I can place at the point B like a GPS and the robot can receive the signal so he knows where he should go?
airglide
New User
 
Posts: 19
Joined: Sun Mar 04, 2012 2:09 pm

Re: SLAM, autonomeous robot

Postby Rickz2020 » Tue Mar 13, 2012 10:06 pm

You can do this:

Calculate the bearing for the destination based on it's GPS coordinates
Have the robot rotate so that it matches the destination bearing
Make the robot move towards the destination until it's GPS reading matches that of the destination.

EG:

Destination = 53.4235(lat), 54.1456(lon)
Robot's current location = 51.1234(lat), 51.2134(lon)

Calculate the bearing using the Destination
Lets pretend the bearing = 55 degrees

Rotate the robot until it is facing 55 degrees... Now it should be looking in the correct direction

Now, while Robot current location != Destination
move forward...
Rickz2020
Active User
 
Posts: 121
Joined: Thu Feb 10, 2011 5:47 pm
Location: London, Earth.

Re: SLAM, autonomeous robot

Postby ljw7630 » Wed Mar 14, 2012 4:59 pm

Maybe you found a good answer. Just talk about what I am doing.

I use sonic data with bayes filter to build an occupancy map.

and then manually pick up a destination point from the map, and use A* algorithm to find a path from starting point to destination.
ljw7630
New User
 
Posts: 7
Joined: Sun Jan 29, 2012 1:09 pm


Return to NXJ Projects

Who is online

Users browsing this forum: No registered users and 0 guests

more stuff