deepbots icon indicating copy to clipboard operation
deepbots copied to clipboard

RobotEmitterReceiver class should inherit from Webots Robot class

Open tsampazk opened this issue 2 years ago • 0 comments

RobotEmitterReceiver class should inherit from Webots Robot class if possible, similarly to other deepbots classes which inherit from Webots Supervisor class, so that it can access whatever Webots method directly.

Right now it needs this:

        self.robot = Robot()

and then accesses internal methods as self.robot.getBasicTimeStep() or self.robot.step(self.timestep).

Inheriting the Robot class will make this class more consistent with other deepbots classes.

tsampazk avatar Jul 01 '22 11:07 tsampazk