I am trying to decide between taking a compilers and interpreters course where we create an OpenGL shader compiler and a databases course. My aim is to go into robotics engineering and I am wondering which of these courses would provide the most benefit for that career path?
I think the database course is much more related to robotics than the compiler course. Almost every robot needs some kind of long term memory to store tasks, parameters or facts it learned about objects, itself or the environment. Compiler design for shaders is a much smaller niche and could maybe help you if you want to go into computer vision or visualization, but for a general roboticist I'd definitely go for the database course.