Exercise 6.1 - Inheritance?

In the intro to exercise 6.1 you have the statement “Now you are going to create your own class, that will inherit RosbotClass functions to control the robot.” But the preceding material hadn’t mentioned inheritance in any sense; when I peeked at the solution, what was there didn’t resemble inheritance like I’ve learned it in other languages. When I googled some examples, those did look like something in line with what I’ve learned before. In your example you just seem to be creating an object within another object, not doing true inheritance. But maybe I just don’t understand it correctly.


Totally agree. So in the course, we are treating inherit as just the use of a class inside another one. Totally agree that it’s not inheritance perse, which is creating an object based on a mother class.

Noted for future courses

1 Like