PythonRobotics: Python sample codes for robotics algorithms
atsushisakai.github.io
atsushisakai.github.io
I did comment in my end of class review about it, but the forum feedback was pretty much 'it had to be that way' so the next cohorts did not have access to it. I was not the only one pleading for working code. I was happy to get a poor grade as a reflection on work submitted, but I wanted to learn how to do it right and that opportunity was not afforded to me.
I still did not get access at the end of the class so I hope this site helps me fill in the knowledge gaps that the course refused to do.
It really makes sense to rely on the ROS packages, I will look what is available, thank you.
Overall, I had more issues with finding good resources on the rospy module than anything else. It seems almost all robotics development with ROS is done using C++ instead of Python (in my little experience), so there is little I could find in terms of code samples that would allow to get past a project like this (https://github.com/gandalf15/CS3027--CS5059--Robotics-Univer...).
Rospy aside, writing and implementing your own SLAM/path-planning tools in ROS is quite simple once you get familiar with the architecture of ROS. All the sensor data can be collected by subscribing to the right channel, and then you can return driving instructions back to a controller by publishing them on another channel. Since all this channel business operates on the network layer, you can even offload the computational workload of the algorithms to a remote system and have the robot get its moving instructions over Wi-Fi.