Navigation

    Robolink logo
    • Register
    • Login
    • Search
    • [[global:header.categories]]
    • [[global:header.recent]]
    • [[global:header.tags]]
    • [[global:header.popular]]
    • [[global:header.users]]
    • [[global:header.groups]]
    As of September 2021, we have moved technical support to Robolink Help

    Welcome to the Robolink Community forum!

    You can post here to interact with others in the Robolink community. We're checking it weekly, and we'll respond to some messages. If you're looking for technical support, head over to Robolink Help.

    "go()" function not responding

    CoDrone Lite/Pro
    2
    4
    2265
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      raulromero last edited by

      Hello,

      I am trying to use the "drone.go(direction, duration)" as follows "drone.go(Direction.FORWARD, 2)" and it is not working. Jupyter Notebook tells me that "name 'direction' is not found", so my drone is not going forward. I have already tried "drone.go(FORWARD, 2)" and it gives me a similar error, only this time it says "name 'FORWARD' not found". I am assuming this has to do with the library of CoDrone since I do not think I am misspelling it, feel free to correct me though. Can you please help me?

      Thank you

      1 Reply Last reply Reply Quote 0
      • robolink_leila
        robolink_leila last edited by

        @raulromero Awesome! The lesson has been updated.

        1 Reply Last reply Reply Quote 0
        • R
          raulromero last edited by

          This fixed the issue. Thank you so much.

          1 Reply Last reply Reply Quote 0
          • robolink_leila
            robolink_leila last edited by

            @raulromero ,
            Sorry about that! There's a missing line of code that did not make it into the lesson. We're working on that right now! Please add the following line of code, in addition to what you already have, to use direction:

            from CoDrone import Direction

            Let me know if this fixes the issue!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post