jdelacroix / simiam

A MATLAB-based educational bridge between theory and practice in robotics.
http://gritslab.gatech.edu/projects/robot-simulator
Other
104 stars 52 forks source link

About SIM.I.AM simulator #30

Open chathuradimal opened 6 years ago

chathuradimal commented 6 years ago

How can I change the code to follow few way points. We give some goal points like (1,1), (0.1,0.1), (-1,0.5) .If the robot reach the point (1,1) , it should update (0.1,0.1) as his next goal point. Like that it should go through way points. thank you

MarcusFutterlieb commented 6 years ago

Hey @chathuradimal ,

you could check out my fork of the simulator. I have not been actively working with the simulator for at least a year, but I know that I was able to add a list of way points. I will check tonight and maybe I can provide a quick fix for you.

Good luck,

chathuradimal commented 6 years ago

I checked your fork. If you can do it. It will be big help for me thank you.

MarcusFutterlieb commented 6 years ago

I am working on it. Should work either tonight (GMT+2) or tomorrow. I will also provide a small example on how to use it

chathuradimal commented 6 years ago

Your corporation is highly appreciated and thank you very much

MarcusFutterlieb commented 6 years ago

I believe the current version will let you add targets. I working on a solution to have them communicated to the robots supervisor.

chathuradimal commented 6 years ago

I'm waiting for your solution. I'm also trying but they are not successful thank you so much

MarcusFutterlieb commented 6 years ago

The target vector is now available in the supervisor of the quickbot. I will have to introduce a logic so that information is actually used, but the hard part is done.

chathuradimal commented 6 years ago

I'm studying your code. You spent your valuable time for me.

MarcusFutterlieb commented 6 years ago

The latest version should provide what you are looking for. Check out the settings file in +environments. There you should be able to add as many targets as you like

chathuradimal commented 6 years ago

As I understand, I can give number of points as I wish in +environment repeating "target" .That's great. Then please give me some clue what is the purpose of the "obstacles".

MarcusFutterlieb commented 6 years ago

Hey @chathuradimal ,

you can remove the obstacles if you like. The purpose of having them is to create a 'more interesting' environment for the robot. Going from target to target is arguable easy, if there are no obstacles in the way. Also, in real life situations, it is very likely that you will encounter obstacles.

chathuradimal commented 6 years ago

Hello Thank you for the code. I'm trying to implement it to the week three simiam code.but it wasn't successful. How can I do that?