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.

    Make CoDrone Flip via Python

    Educators Corner
    1
    1
    2728
    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.
    • RBass
      RBass last edited by

      My students want to write Python code to make the CoDrone flip. We have noticed that if the drone is hovering and you hold it (carefully) and shake it back and forth it will stop any running code. This is a nice feature, but I now wonder if that gyro (or some other) sensor will abort the code if we try to make it flip. The plan is to get it ascending, make it pitch hard and then cut power (mostly), let it coast under the angular momentum, and then re-engage the motors to catch itself before it crashes. They will be trying it today with a blanket under it as a safety net, but I was wondering if this can even work and/or is there a better way. The Python library does not seem to have a flip sequence (but I think the Arduino does). Any advice?

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