Activities/Turtle Art/Plugins: Difference between revisions
Rafael sisto (talk | contribs) |
|||
| (26 intermediate revisions by 7 users not shown) | |||
| Line 4: | Line 4: | ||
The plugin mechanism is currently used to provide support for sensors, the camera, RFID, and the Media, Extras, and Portfolio palettes. A plugin has been [http://lists.sugarlabs.org/archive/iaep/2011-March/012715.html developed for WeDo] [http://tonyforster.blogspot.com/2012/01/wedo-plugin-for-turtle-art.html (and here)] and additional plugins are being developed for Arduino, NXT, and GoGo. | The plugin mechanism is currently used to provide support for sensors, the camera, RFID, and the Media, Extras, and Portfolio palettes. A plugin has been [http://lists.sugarlabs.org/archive/iaep/2011-March/012715.html developed for WeDo] [http://tonyforster.blogspot.com/2012/01/wedo-plugin-for-turtle-art.html (and here)] and additional plugins are being developed for Arduino, NXT, and GoGo. | ||
'''NOTE''': As of Version 193, it is necessary to use a set of refactored plugins. These will be posted to the wiki ASAP. | |||
===How to install a plugin=== | ===How to install a plugin=== | ||
| Line 50: | Line 52: | ||
* turtleart-sensors | * turtleart-sensors | ||
* rfid (This plugin allows interfacing with a RFID reader) | * rfid (This plugin allows interfacing with a RFID reader) | ||
====Xevents==== | |||
Xevents it's a plugin for make accesibility interfaces in an easy way. | |||
[[File:Xpalette1.png]] | |||
=====GIT code===== | |||
http://sourceforge.net/p/butia/code/ci/master/tree/turtlebots/xevents/ | |||
=====Download===== | |||
http://www.fing.edu.uy/inco/proyectos/butia/mediawiki/index.php/Archivo:Xevents.tar.gz | |||
=====Wiki===== | |||
http://wiki.sugarlabs.org/go/Xevents | |||
====Butia==== | ====Butia==== | ||
| Line 64: | Line 80: | ||
:We have released the 1.0 version of the sources, which has full integration with tortugarte (http://www.fing.edu.uy/inco/proyectos/butia/publicaciones.html). Last month we gave away nearly 30 Butiá robots in a robotic event organized by the University. These robots were given to secondary schools throughout the country, in this event we gave some tutorials and exercises to do with our help. One of the schools made a great line follower in tortugarte ;) : http://www.youtube.com/watch?v=Szp0LWLyPIg Then on the second day we give some tutorials and some children really enjoyed the experience, like Pedro a 10 year old child who really has programming skills! http://www.flickr.com/photos/butiarobot/5059177334/ http://www.youtube.com/aguirrea#p/u/7/p0y11iyhFko | :We have released the 1.0 version of the sources, which has full integration with tortugarte (http://www.fing.edu.uy/inco/proyectos/butia/publicaciones.html). Last month we gave away nearly 30 Butiá robots in a robotic event organized by the University. These robots were given to secondary schools throughout the country, in this event we gave some tutorials and exercises to do with our help. One of the schools made a great line follower in tortugarte ;) : http://www.youtube.com/watch?v=Szp0LWLyPIg Then on the second day we give some tutorials and some children really enjoyed the experience, like Pedro a 10 year old child who really has programming skills! http://www.flickr.com/photos/butiarobot/5059177334/ http://www.youtube.com/aguirrea#p/u/7/p0y11iyhFko | ||
:In future months we will go to the schools where we give the robots to continue teaching and giving new challenges. If you would like to see more about Butiá, we have a flickr site: http://www.flickr.com/photos/butiarobot/ and also a web page: http://www.fing.edu.uy/inco/proyectos/butia | :In future months we will go to the schools where we give the robots to continue teaching and giving new challenges. If you would like to see more about Butiá, we have a flickr site: http://www.flickr.com/photos/butiarobot/ and also a web page: http://www.fing.edu.uy/inco/proyectos/butia | ||
Ceibal has this publication (in Spanish): [https://www.google.com/url?q=http://valijas.ceibal.edu.uy/storage/app/media/Guias%2520de%2520uso/Turtlebots.pdf&sa=D&ust=1518962161565000&usg=AFQjCNFsTETjQ_25Fz-hX9giAVz-YRLIyQ] | |||
Butiá is also featured in a short film by Antel [http://www.adinettv.com.uy/video/2932] (go to 1:30). | Butiá is also featured in a short film by Antel [http://www.adinettv.com.uy/video/2932] (go to 1:30). | ||
| Line 75: | Line 93: | ||
=====Download===== | =====Download===== | ||
[http://www.fing.edu.uy/inco/proyectos/butia/files/butia_plugin.tar.gz butia_plugin.tar.gz] | [http://www.fing.edu.uy/inco/proyectos/butia/files/plugins/butia_plugin.tar.gz butia_plugin.tar.gz] | ||
====FollowMe==== | ====FollowMe==== | ||
| Line 109: | Line 127: | ||
=====Download===== | =====Download===== | ||
[http://www.fing.edu.uy/inco/proyectos/butia/files/followme_plugin.tar.gz followme_plugin.tar.gz] | [http://www.fing.edu.uy/inco/proyectos/butia/files/plugins/followme_plugin.tar.gz followme_plugin.tar.gz] | ||
====Pattern detection==== | ====Pattern detection==== | ||
| Line 116: | Line 134: | ||
[[File:PatternDetectionPalette.png]] | [[File:PatternDetectionPalette.png]] | ||
Translation: | Translation: | ||
* "Viendo Señal": Pattern in sight | * "Viendo Señal": Pattern in sight | ||
| Line 138: | Line 157: | ||
Hosted with the Butiá source | Hosted with the Butiá source | ||
[http://sourceforge.net/p/butia/code/ci/dcc226276a565a54bbdf1807c30ff50aa648f70f/tree/turtle_art_plugin/pattern_detection/ Pattern Detection in SourceForge (part of Butia project)] | [http://sourceforge.net/p/butia/code/ci/dcc226276a565a54bbdf1807c30ff50aa648f70f/tree/turtle_art_plugin/pattern_detection/ Pattern Detection in SourceForge (part of Butia project)] | ||
=====Download===== | |||
[http://www.fing.edu.uy/inco/proyectos/butia/files/plugins/pattern_detection.tar.gz pattern_detection.tar.gz] | |||
====WeDo==== | ====WeDo==== | ||
| Line 150: | Line 173: | ||
* [[File:Wedo_plugin_2.tar.gz]] Version 2, which supports multiple WeDo devices. | * [[File:Wedo_plugin_2.tar.gz]] Version 2, which supports multiple WeDo devices. | ||
* [ | * [http://www.fing.edu.uy/inco/proyectos/butia/files/plugins/wedo_plugin.tar.gz /wedo_plugin.tar.gz] | ||
'''Note:''' Check out https://github.com/itdaniher/WeDoMore/tree/master/udev for instructions on how to setup the proper permissions talk to the device. In the new versions of Sugar the udev is included. | '''Note:''' Check out https://github.com/itdaniher/WeDoMore/tree/master/udev for instructions on how to setup the proper permissions talk to the device. In the new versions of Sugar the udev is included. | ||
| Line 183: | Line 206: | ||
=====Downloads===== | =====Downloads===== | ||
LEGO NxT Plugin [ | LEGO NxT Plugin [http://www.fing.edu.uy/inco/proyectos/butia/files/plugins/nxt_plugin.tar.gz nxt_plugin.tar.gz] | ||
====Expeyes==== | ====Expeyes==== | ||
| Line 189: | Line 212: | ||
The Expeyes Plugin: | The Expeyes Plugin: | ||
[ | [https://github.com/walterbender/expeyes] | ||
[[Image:Expeyes.png|300px]] | [[Image:Expeyes.png|300px]] | ||
| Line 200: | Line 223: | ||
====Arduino==== | ====Arduino==== | ||
The Arduino is an inexpensive single board computer which can be controlled by Turtle Art and used for robotics experiments. The XO-4 touchscreen laptop comes with two unpopulated circuit boards, the [http://wiki.laptop.org/go/XO_Stick XOstick] and the [http://wiki.laptop.org/go/XOrduino XOrduino]. | |||
The Arduino Plugin: | The Arduino Plugin: | ||
| Line 231: | Line 255: | ||
=====Downloads===== | =====Downloads===== | ||
The plugin file can be downloaded from [ | The plugin file can be downloaded from [http://www.fing.edu.uy/inco/proyectos/butia/files/plugins/arduino_plugin.tar.gz arduino_plugin.tar.gz]. | ||
====Currency==== | ====Currency==== | ||
| Line 265: | Line 289: | ||
Use these blocks to create objects that are added to the bodylist and jointlist of a Box2d database used by the Physics Activity. Objects are positioned by the turtle x,y and colored based on the current pen attributes. From left to right: | Use these blocks to create objects that are added to the bodylist and jointlist of a Box2d database used by the Physics Activity. Objects are positioned by the turtle x,y and colored based on the current pen attributes. From left to right: | ||
* density: set the object density (0 is light; 1 is heavy) | |||
* friction: set the object friction (0 is slippery; 1 is sticky) | |||
* bounciness: set the object restitution (0 is rigid; 1 is bouncy) | |||
* start polygon: use the current turtle x,y position to specify the first vertex of a polygon | * start polygon: use the current turtle x,y position to specify the first vertex of a polygon | ||
* add point: use the current turtle x,y position to add a vertex to a polygon | * add point: use the current turtle x,y position to add a vertex to a polygon | ||
| Line 274: | Line 301: | ||
* rectangle: add a rectangle object at the current turtle x,y position | * rectangle: add a rectangle object at the current turtle x,y position | ||
* gear: add a gear object at the current turtle x,y position with the number of teeth as the argument | * gear: add a gear object at the current turtle x,y position with the number of teeth as the argument | ||
* gear radius: returns the radius of a gear with the number of teeth as the argument (useful for positioning gears) | |||
* motor: add a motor at the current turtle x,y position (attached to the object at this position) | * motor: add a motor at the current turtle x,y position (attached to the object at this position) | ||
* pin: add a pin at the current turtle x,y position (attached to the object at this position) | * pin: add a pin at the current turtle x,y position (attached to the object at this position) to prevent movement | ||
* pen: add a pen at the current turtle x,y position (attached to the object at this position) to trace motion | |||
* joint: add a joint between the object at the current turtle x,y position and the object at x, y | * joint: add a joint between the object at the current turtle x,y position and the object at x, y | ||
* save as Physics project: save the current bodylist and jointlist as a Physics project in the Journal | * save as Physics project: save the current bodylist and jointlist as a Physics project in the Journal | ||
'''Note:''' The current model is cleared whenever the Erase button is pressed or a Clean block is run. | '''Note:''' The current model is cleared whenever the Erase button is pressed or a Clean block is run. | ||
| Line 289: | Line 315: | ||
[[File:TAGear.png|300px]] | [[File:TAGear.png|300px]] | ||
'''For Turtle Blocks versions 107 - 183''' | |||
[[File:TAgear.ta]] [[File:Gear.physics]] | [[File:TAgear.ta]] [[File:Gear.physics]] | ||
'''For Turtle Blocks verisons 184 - ''' | |||
[http://people.sugarlabs.org/walter/physics-plugin.tar.gz] | |||
'''A chain''' | |||
[[File:Chain.png|300px]] | |||
Turtle Blocks project file: [http://people.sugarlabs.org/walter/chain.tb] | |||
=====Downloads===== | =====Downloads===== | ||
[[File:Physics-plugin.tar.gz]] Physics plugin | [[File:Physics-plugin.tar.gz]] Physics plugin | ||
[http://github.com/walterbender/physics-plugin git repository] | |||
==== Logic ==== | ==== Logic ==== | ||
| Line 306: | Line 344: | ||
=====Downloads===== | =====Downloads===== | ||
[[File:Logic.tar.gz]] Logic plugin | [[File:Logic.tar.gz]] Logic plugin | ||
==== Math ==== | |||
The math plugin allows to use advanced mathematical functions in your program. | |||
[[File:Tb-math.png|800px]] | |||
===== Download ===== | |||
http://people.sugarlabs.org/francis/tb-math-plugin/ | |||
===== Source code ===== | |||
https://github.com/sdanielf/turtleblocks-math | |||
==== Mashape ==== | |||
This plugins enable the mashape palette (plugins using web APIs)<br> | |||
The mashape palette is easy to detect, its use a sugarized icon of original mashape icon. (A monkey ''':)''')<br> | |||
Also, this version include Translate plugin.<br> | |||
[[File:Tb-mashape-palette.png|800px]]<br><br> | |||
[[File:Tb-mashape-plugin.png|800px]] | |||
===== Download ===== | |||
[[File:TA-Mashape.tar.gz]] | |||
===== Source code ===== | |||
https://github.com/ignaciouy/mashape-plugin | |||
=== GNOME plugins === | === GNOME plugins === | ||