Giter VIP home page Giter VIP logo

Comments (6)

MarkusBordihn avatar MarkusBordihn commented on July 28, 2024

Sphero is designed to be absolute, so even it would help in some cases its not really feasible because its not supported by the hardware itself.

So it would be only virtual and would cause sooner or later an mismatch between the real position and the virtual position.

from coding-with-chrome.

MartenvanWezel avatar MartenvanWezel commented on July 28, 2024

Is there at least some way to programmatically modify the direction? Meaning doing something like a few blocks like move to direction , and then doing some math with the direction?

it would be good to be able to make a loop where the direction depends on a variable.

from coding-with-chrome.

MarkusBordihn avatar MarkusBordihn commented on July 28, 2024

Could you please provide some example code or an example task for this ?

At the moment I see no real use case where the absolute position can't be used.

from coding-with-chrome.

MartenvanWezel avatar MartenvanWezel commented on July 28, 2024

How would you draw (drive) a cube (or pentagram) a repeat block? Of course
you could spell out all the angles, but it would get silly very quick.

EV3: repeat 4 times, drive 200, turn 90, drive 200
Sphero: ? I tried count with i from 0 to 360 by 90 but couldn't put 'i'
into the "roll for x seconds with speed and heading" block.

On Sun, Feb 28, 2016 at 2:55 PM, Markus Bordihn [email protected]
wrote:

Could you please provide some example code or an example task for this ?

At the moment I see no real use case where the absolute position can't be
used.


Reply to this email directly or view it on GitHub
#29 (comment)
.

from coding-with-chrome.

MarkusBordihn avatar MarkusBordihn commented on July 28, 2024

Please check the examples of http://www.sphero.com/education which covering such use cases.

I will maybe translate some of them, but again I don't see any need for such a function.

from coding-with-chrome.

TioBorracho avatar TioBorracho commented on July 28, 2024

Looking at the Spin function in SpheroEDU, reading the heading would be great o implement this.
It seems inconsistent that there is a setHeading function but not a readHeading (or changeHeadingBy)

from coding-with-chrome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.