Comments (6)
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.
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.
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.
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.
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.
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)
- Open Tasks (refactoring) HOT 2
- importing images in html HOT 1
- Every .cwc file is made by Markus Bordihn
- Every .cwc file is owned by Markus Bordihn
- Update last run version data even if whatsnew feature disabled
- Tile height inconsistent HOT 1
- Joydemo disabled warning should be moved HOT 2
- AIY mode never goes out 'waiting for connection'
- AIY output is very strange to cut/paste
- Advanced > Robots says it is using blockly blocks. It is not
- What's new / Changelog / Version needs to be automated.
- shepherd.js usage HOT 3
- Add a spanish translation HOT 2
- Adding in anoymous tracking
- Editor issues when coding python
- Text across the application doesn't appear correctly when the language changed to other than English HOT 1
- README 404 HOT 2
- input statement not working in Python
- Do we still need "Windows-Build-Tools" to be explicitly installed to run this project?. HOT 1
- Is there a nested git repository inside this project?. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coding-with-chrome.