WAVEGO icon indicating copy to clipboard operation
WAVEGO copied to clipboard

AttributeError when set speed

Open RuofengX opened this issue 3 years ago • 0 comments

Using web interface to set the speed of moving went wrong:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/websockets/legacy/server.py", line 232, in handler
    await self.ws_handler(self)
  File "/usr/local/lib/python3.7/dist-packages/websockets/legacy/server.py", line 1149, in _ws_handler
    )(websocket, websocket.path)
  File "webServer.py", line 143, in main_logic
    await recv_msg(websocket)
  File "webServer.py", line 74, in recv_msg
    flask_app.commandInput(data)
  File "......./WAVEGO/RPi/app.py", line 67, in commandInput
    camera_opencv.commandAct(inputCommand, valueA)
  File "......./WAVEGO/RPi/camera_opencv.py", line 539, in commandAct
    robot.speedSet(speedMove)
AttributeError: module 'robot' has no attribute 'speedSet'

RuofengX avatar May 18 '22 16:05 RuofengX