fixed collision avoidance problem, generated doxygen doc