You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
EV3D4WebControl in Mobile interface: AssertionError: None1050 is an invalid speed_pct, must be between -100 and 100 (inclusive) #42
I use ev3dev-stretch-ev3-generic-2018-08-06. Successfully downloaded the repo and tested out EV3D4WebControl in Desktop mode. However, when testing Mobile mode, the following error and its traceback is thrown:
Exception happened during processing of request from ('192.168.1.66', 60069)
Traceback (most recent call last):
File "/usr/lib/python3.5/socketserver.py", line 313, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.5/socketserver.py", line 341, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.5/socketserver.py", line 681, in init
self.handle()
File "/usr/lib/python3.5/http/server.py", line 422, in handle
self.handle_one_request()
File "/usr/lib/python3.5/http/server.py", line 410, in handle_one_request
method()
File "/usr/lib/python3/dist-packages/ev3dev2/control/webserver.py", line 212, in do_GET
self.robot.on(x, y, motor_max_speed)
File "/usr/lib/python3/dist-packages/ev3dev2/motor.py", line 2015, in on
MoveTank.on(self, SpeedPercent(left_speed_percentage * self.left_motor._speed_pct(max_speed) / 100), SpeedPercent(right_speed_percentage * self.right_motor._speed_pct(max_speed) / 100))
File "/usr/lib/python3/dist-packages/ev3dev2/motor.py", line 852, in _speed_pct
"{}{} is an invalid speed_pct, must be between -100 and 100 (inclusive)".format(None if label is None else (label + ": ") , speed_pct)
AssertionError: None1050 is an invalid speed_pct, must be between -100 and 100 (inclusive)
changed the title [-]AssertionError: None1050 is an invalid speed_pct, must be between -100 and 100 (inclusive)[/-][+]EV3D4WebControl in Desktop mode: AssertionError: None1050 is an invalid speed_pct, must be between -100 and 100 (inclusive)[/+]on Oct 21, 2018
changed the title [-]EV3D4WebControl in Desktop mode: AssertionError: None1050 is an invalid speed_pct, must be between -100 and 100 (inclusive)[/-][+]EV3D4WebControl in Mobile interface: AssertionError: None1050 is an invalid speed_pct, must be between -100 and 100 (inclusive)[/+]on Oct 22, 2018
Activity
[-]AssertionError: None1050 is an invalid speed_pct, must be between -100 and 100 (inclusive)[/-][+]EV3D4WebControl in Desktop mode: AssertionError: None1050 is an invalid speed_pct, must be between -100 and 100 (inclusive)[/+][-]EV3D4WebControl in Desktop mode: AssertionError: None1050 is an invalid speed_pct, must be between -100 and 100 (inclusive)[/-][+]EV3D4WebControl in Mobile interface: AssertionError: None1050 is an invalid speed_pct, must be between -100 and 100 (inclusive)[/+]