Add `get_val()` method to `FloatingRobot` class