Skip to content

Robot Educator model #2

Closed
Closed

Description

@dwalton76

We need a demo for this one...see ndward's comment in ev3dev/ev3dev-lang-python#338

Activity

  1. gregcowell commented on Oct 5, 2017

    @gregcowell
    Member

    I'd like to write this demo script if that's okay. If yes, could I please confirm that I should use the future 'high level' API.

  2. WasabiFan commented on Oct 5, 2017

    @WasabiFan
    Member

    @gregcowell that sounds great! I'd say that the high-level APIs (the ones that are modelled after the EV3-G blocks) are what we should base all our demos on, but we should hear from others on that (I know there were some differing opinions).

    It's worth noting that, so far, we haven't updated the demos here for the breaking changes we're working on for the upcoming Stretch release. None of the demos will work until we update the imports, at a minimum. Demos we implement from here forward will need to use the new import model and other APIs, which is only partially documented right now.

  3. dwalton76 commented on Oct 5, 2017

    @dwalton76
    CollaboratorAuthor

    +1 on using the high-level APIs

  4. gregcowell commented on Oct 8, 2017

    @gregcowell
    Member

    Sounds good. I prefer the high level API.

    I am planning to do five simple example scripts:

    • square.py (moving forward and turning)
    • touch.py (moving forward until touching wall then reversing back again)
    • ultrasonic.py (using ultrasonic sensor and medium motor to re-position a cuboid)
    • gyro.py (turning using gyro sensor)
    • color.py (naming the observed color)

    For something more challenging, I could write a simple maze solving script. I've got this already working as an EV3-G program and I can translate it to Python.

  5. dwalton76 commented on Oct 12, 2017

    @dwalton76
    CollaboratorAuthor

    Resolved by gregcowell

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions