The algorithms are programmed and implemented in Python, C++ or Java, normally in Linux.
ROS (Robot Operating system), which is a set of libraries and tools that is popular in the robotic field, is used to put together and integrate all the algorithms implemented for each robot.