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.

    CoDrone_send.cpp error

    CoDrone Troubleshooting
    codrone pro library error
    2
    3
    3282
    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.
    • C
      chnadell last edited by

      Hello,

      I've recently received my drone and followed the instructions here to install the right software.

      Even trying to run some simple code copy+pasted from this site I've encountered the following error when attempting to verify:

      Arduino/libraries/CoDrone/CoDrone_send.cpp: In member function 'void CoDroneClass::triangle()':
      Arduino/libraries/CoDrone/CoDrone_send.cpp:889:2: error: expected ';' before 'move'
      move(2, 0,30,0,0);
      ^
      exit status 1
      Error compiling for board Rokit-SmartInventor-mega32_v2.

      The following code produces this error, although it seems to be a problem with the library/built-in functions rather than the Arduino sketch itself, so this should probably work in someone else's install environment:

      #include <CoDrone.h>

      void setup() {
      CoDrone.begin(115200);
      CoDrone.AutoConnect(NearbyDrone);
      }

      void loop() {
      // put your main code here, to run repeatedly:
      }

      I'm pretty sure I followed most of the software install instructions correctly, but if anyone has some ideas about what's gone wrong it would be much appreciated!

      1 Reply Last reply Reply Quote 1
      • robolink_wes
        robolink_wes last edited by robolink_wes

        Hi @chnadell! Sorry didn't get back to you sooner.

        Looks like the page you linked is an old page. Thanks for pointing that out, I'll make sure to take down the old page. You can reach the newer version of that page on our Basecamp page located here.

        We found an error in the library that was caused by a missing semicolon, which, I believe is the error you're seeing. We fixed that one just a few days ago, so the error you saw should've been right before we fixed that bug. If you go to the Arduino Library Manager and make sure to go to version 2.0.4, the error you pasted should no longer occur.

        If it's still occurring, let me know, and we can investigate further.

        1 Reply Last reply Reply Quote 0
        • C
          chnadell last edited by

          I should also mention:
          macOS 10.13.6
          Arduino 1.8.5
          rokit by ROBOLINK version 1.0.3

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