Skip to content

Exercise for the Intelligent Robot Systems course, School of Electrical and Compute Engineering, AUTH, 2016

License

Notifications You must be signed in to change notification settings

achigeor/intelligent_robot_systems_2016

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This fork contains my solutions for the Intelligent Robot Systems project. Below is the original README, with additions to things I've changed and pointers to the code I implemented.


Intelligent Robot Systems 2016-2017

This code was created in order to allow experimentation towards developing specific modules of an autonomous simulated vehicle that performs full exploration and coverage of an unknown a priori environment. Next, you can find instructions on how to setup the code in your PC / laptop, the description of the code, as well as the description challenges.

The perfect score is 20 points (10 pts = 1 degree)!

At the end you must submit a compressed file containing this folder with your changes and a report on the selections you have made (up to 10 pages).


Challenge 1 [2 pts]: Laser-based obstacle avoidance

You must fill the part of the code that calculates linear and rotational velocities using the LIDAR values. The objective is for the robot to wander, but not collide to obstacles. I added code here and here.

Notes: The robot must have a maximum absolute linear speed of 0.3 m/s and maximum absolute rotational speed 0.3 rad/sec.

In order to check this functionality turn this to False.


Challenge 2 [1 pt]: Path visualization

This task is about making the path visible to the RViz tool. I added the code here. The self.robot_perception.resolution and self.robot_perception.origin parameters may be useful, thus you must understand how the robot perception module works / stores the data.

In order to test it, the exploration mode must be enabled, thus turn this to True. This value will be kept True for all the remaining tasks.


Challenge 3 [2 pts]: Path following

This task is about producing the correct velocities for the robot to follow the produced path.I addedthe code here. The known parameters are the global robot pose acquired from the SLAM algorithm and the next subtarget.

Again, the robot must have a maximum absolute linear speed of 0.3 m/s and maximum absolute rotational speed 0.3 rad/sec.


Challenge 4 [1 pt]: Path following & obstacle avoidance

This task is about combining the path following and obstacle avoidance velocities using a strategy like motor schema, subsumption or a hubrid one.I filled the code here using subsumption.

Again, the robot must have a maximum absolute linear speed of 0.3 m/s and maximum absolute rotational speed 0.3 rad/sec.


Challenge 5 [1 pts]: Smarter subgoal checking

This task is about making the subgoal checking routine smarter. Right now it checks if the next subtarget has been approached. But what if the robot reaches the end or a later subgoal without visiting the next? I filled code here.


Challenge 6 [5 pts]: Smart target selection

This task is about finding a smart approach of the target selection problem. Remember that this approach must work well in a-priori unknown environments which may be quite heterogeneous in structure (e.g. wide, narrow or both). The available tools you have are the robot's pose, the so far explored map, the coverage field containing information on what is already covered by the robot, the Brushfire field of the OGM, the skeleton of the OGM and a topological graph.

It is not necessary to use all of them. If you don't, remember to erase them in order to speed up the exploration, since as you will notice, more available information requires more time to calculate.

Also there is a possibility of the path planning to fail for specific targets that are close to obstacles or that they exist in a "strange" topology. In that case, you must write code to deal with these cases (e.g. select a more naive target selection method). Bear in mind that the robot should always have a target to reach in order for the exploration and full coverage to end!.

I implemented the CNT method here. Must Select this.



Extra Challenge 1 [3 pts]: Path optimization / alteration

DIDN'T IMPLEMENT IT

The path planning module produces length optimal paths using an A* algorithm, along with a uniform PRM graph. This doesn't mean that the length optimal paths will result in less coverage / exploration time.

Investigate ways to alter the path, aiming at increasing the coverage rate, inserting code here (easy approach), or directly altering the path planning code here (hard approach).


Extra Challenge 2 [3 pts]: Algorithmic optimization

You will notice that a serious amount of time is being spent in calculations concerning the target selection. Feel free to alter whatever code you want in order to optimize it! Optimizations already exist using the Cffi library, where C code is being executed within Python. You can follow this approach or improve Python code.

Some imporovements here, and here


Extra Challenge 3 [2 pts]: Surprize me

Open challenge! Do something that I do not expect!


How to test different maps

  • Paint a map!
  • Add the png file here and create a yaml file for this map. Leave all values as they are, except for the image name.
  • Change this launcher by declaring the new yaml file.

About

Exercise for the Intelligent Robot Systems course, School of Electrical and Compute Engineering, AUTH, 2016

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 44.3%
  • Python 26.2%
  • C 13.7%
  • CMake 8.1%
  • Objective-C 7.7%