Skip to content

AttributeError when set speed #2

Description

@RuofengX

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions