Re: [IAEP] Turtle Blocks question
On Sat, Oct 6, 2012 at 11:59 PM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: Date: Sat, 6 Oct 2012 14:18:10 -0400 Subject: Re: [IAEP] Turtle Blocks question From: walter.ben...@gmail.com To: gerald.ard...@gmail.com CC: alan...@hotmail.com; iaep@lists.sugarlabs.org; support-g...@laptop.org; davidson.i...@gmail.com; fors...@ozonline.com.au On Sat, Oct 6, 2012 at 2:08 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, I have been testing it out this afternoon. It works really well. I only have one We Do here, so I can't test out if it sees different devices. There is one quirky thing. When the script is running a motor, the Stop icon disappears. Then, if you use ctrl-s to stop the script, the blocks disappear. You could just keep a motor=0 block around... I suppose I could auto-stop the motor when the program stops executing, but I think that might limit the utility somewhat. (The Stop Button is for the Turtle Art program, not the WeDo motor.) In the Nxt Plugin (and the Butia) I add the stop motors in the stop of the Turtle. When the robot is crazy and you want to stop it, the best way (beyond turn off) is click on the stop button off the Turtle. The WeDo plugin have the stop motors function: when you click on the stop of the turtle, the WeDo motor is stopped?? Not quite so simple in the current version of Turtle Art, since the stop button becomes the hide block button when the program finishes execution. So, while it would work in a program that has a forever block, a program that simply turns on the motor will be a problem, as per Gerald's explanation. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
On Sat, Oct 6, 2012 at 1:27 AM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: I think that you cannot check what sensor is connected.. Butia have hotplug and show instantly that a sensor is connect. Lego not have that, and the only check possible: get a value, if no gives errors, maybe there are a sensor of that type connected.. The usual approach would be to add a device input to the blocks... device 1, device 2, device 3 That can works, but I don't like it taking into consideration that you have put the port where each sensor/motor is connected. I think in a special block that sets the brick that you want to use. For example: - you have 2 bricks connected -if you want to: read color sensor from brick 1 in port 1 -turn motor in port b of brcik 2 with power 100 The code will be: select brick (1) read sensor (color, port 1) select brcik (2) turn motor (port b, 100) See that all the blocks no have changes, only uses the select brick to set in the system, which brick get the next functions. The important of this change: when you have only 1 brick, the code no have changes! Opinions? Regards! Alan From: gerald.ard...@gmail.com Date: Fri, 5 Oct 2012 14:45:48 -0400 To: walter.ben...@gmail.com CC: alan...@hotmail.com; iaep@lists.sugarlabs.org; support-g...@laptop.org Subject: Re: [IAEP] Turtle Blocks question Walter, Agreed. I am happy to continuing working with you on this. Gerald On Fri, Oct 5, 2012 at 2:36 PM, Walter Bender walter.ben...@gmail.com wrote: On Fri, Oct 5, 2012 at 2:30 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, if we are crossing devices? Egon Spengler: Don't cross the streams. The usual approach would be to add a device input to the blocks... device 1, device 2, device 3... But also, I should do a better job of autodetecting which sensors are available. The whole thing should be more dynamic. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep Attached is a BETA version of a new WeDo plugin that supports multiple devices. It follows a schema similar to what Alan proposes above. I only have one device, so it is not tested for multiple devices, however, it seems to work for one device and includes a new feature which tests for devices before each start, rather than just at launch, so devices and be plugged in and unplugged without having to restart Turtle Art. Feedback greatly appreciated. regards. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org wedo.tar.gz Description: GNU Zip compressed data ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
Kids from Bukokholo School Acted Out a One Laptop Per Child Promo for Kenyan Kids. Watch the beginning and the end of this clip : It is charming, funny and a great ad for OLPC In Kenya! This was done by the Small Solutions partner Hands of Charity. http://youtu.be/-ip8UP4RtTs On Sat, Oct 6, 2012 at 6:46 PM, Walter Bender walter.ben...@gmail.com wrote: On Sat, Oct 6, 2012 at 1:27 AM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: I think that you cannot check what sensor is connected.. Butia have hotplug and show instantly that a sensor is connect. Lego not have that, and the only check possible: get a value, if no gives errors, maybe there are a sensor of that type connected.. The usual approach would be to add a device input to the blocks... device 1, device 2, device 3 That can works, but I don't like it taking into consideration that you have put the port where each sensor/motor is connected. I think in a special block that sets the brick that you want to use. For example: - you have 2 bricks connected -if you want to: read color sensor from brick 1 in port 1 -turn motor in port b of brcik 2 with power 100 The code will be: select brick (1) read sensor (color, port 1) select brcik (2) turn motor (port b, 100) See that all the blocks no have changes, only uses the select brick to set in the system, which brick get the next functions. The important of this change: when you have only 1 brick, the code no have changes! Opinions? Regards! Alan From: gerald.ard...@gmail.com Date: Fri, 5 Oct 2012 14:45:48 -0400 To: walter.ben...@gmail.com CC: alan...@hotmail.com; iaep@lists.sugarlabs.org; support-g...@laptop.org Subject: Re: [IAEP] Turtle Blocks question Walter, Agreed. I am happy to continuing working with you on this. Gerald On Fri, Oct 5, 2012 at 2:36 PM, Walter Bender walter.ben...@gmail.com wrote: On Fri, Oct 5, 2012 at 2:30 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, if we are crossing devices? Egon Spengler: Don't cross the streams. The usual approach would be to add a device input to the blocks... device 1, device 2, device 3... But also, I should do a better job of autodetecting which sensors are available. The whole thing should be more dynamic. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep Attached is a BETA version of a new WeDo plugin that supports multiple devices. It follows a schema similar to what Alan proposes above. I only have one device, so it is not tested for multiple devices, however, it seems to work for one device and includes a new feature which tests for devices before each start, rather than just at launch, so devices and be plugged in and unplugged without having to restart Turtle Art. Feedback greatly appreciated. regards. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Sandra Thaxter san...@smallsolutionsbigideas.org san...@thaxter.net (617) 320-1098 www.smallsolutonsbigideas.org. ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
On Sat, Oct 6, 2012 at 2:08 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, I have been testing it out this afternoon. It works really well. I only have one We Do here, so I can't test out if it sees different devices. There is one quirky thing. When the script is running a motor, the Stop icon disappears. Then, if you use ctrl-s to stop the script, the blocks disappear. You could just keep a motor=0 block around... I suppose I could auto-stop the motor when the program stops executing, but I think that might limit the utility somewhat. (The Stop Button is for the Turtle Art program, not the WeDo motor.) And a question, how do you reverse the direction of the motor? Should reverse with a negative number. enjoy. -walter Thanks. Gerald On Sat, Oct 6, 2012 at 11:46 AM, Walter Bender walter.ben...@gmail.com wrote: On Sat, Oct 6, 2012 at 1:27 AM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: I think that you cannot check what sensor is connected.. Butia have hotplug and show instantly that a sensor is connect. Lego not have that, and the only check possible: get a value, if no gives errors, maybe there are a sensor of that type connected.. The usual approach would be to add a device input to the blocks... device 1, device 2, device 3 That can works, but I don't like it taking into consideration that you have put the port where each sensor/motor is connected. I think in a special block that sets the brick that you want to use. For example: - you have 2 bricks connected -if you want to: read color sensor from brick 1 in port 1 -turn motor in port b of brcik 2 with power 100 The code will be: select brick (1) read sensor (color, port 1) select brcik (2) turn motor (port b, 100) See that all the blocks no have changes, only uses the select brick to set in the system, which brick get the next functions. The important of this change: when you have only 1 brick, the code no have changes! Opinions? Regards! Alan From: gerald.ard...@gmail.com Date: Fri, 5 Oct 2012 14:45:48 -0400 To: walter.ben...@gmail.com CC: alan...@hotmail.com; iaep@lists.sugarlabs.org; support-g...@laptop.org Subject: Re: [IAEP] Turtle Blocks question Walter, Agreed. I am happy to continuing working with you on this. Gerald On Fri, Oct 5, 2012 at 2:36 PM, Walter Bender walter.ben...@gmail.com wrote: On Fri, Oct 5, 2012 at 2:30 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, if we are crossing devices? Egon Spengler: Don't cross the streams. The usual approach would be to add a device input to the blocks... device 1, device 2, device 3... But also, I should do a better job of autodetecting which sensors are available. The whole thing should be more dynamic. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep Attached is a BETA version of a new WeDo plugin that supports multiple devices. It follows a schema similar to what Alan proposes above. I only have one device, so it is not tested for multiple devices, however, it seems to work for one device and includes a new feature which tests for devices before each start, rather than just at launch, so devices and be plugged in and unplugged without having to restart Turtle Art. Feedback greatly appreciated. regards. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
Hello all. Thanks for all the support with this project. At Tony's suggestion, I downgraded the XO-1 to build 883 (11.3.0), and the the We Do works fine in TurtleBots. Walter shared his new We Do plug in, which worked fine with Turtle Art 160. Thanks. Gerald On Sat, Oct 6, 2012 at 2:18 PM, Walter Bender walter.ben...@gmail.comwrote: On Sat, Oct 6, 2012 at 2:08 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, I have been testing it out this afternoon. It works really well. I only have one We Do here, so I can't test out if it sees different devices. There is one quirky thing. When the script is running a motor, the Stop icon disappears. Then, if you use ctrl-s to stop the script, the blocks disappear. You could just keep a motor=0 block around... I suppose I could auto-stop the motor when the program stops executing, but I think that might limit the utility somewhat. (The Stop Button is for the Turtle Art program, not the WeDo motor.) And a question, how do you reverse the direction of the motor? Should reverse with a negative number. enjoy. -walter Thanks. Gerald On Sat, Oct 6, 2012 at 11:46 AM, Walter Bender walter.ben...@gmail.com wrote: On Sat, Oct 6, 2012 at 1:27 AM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: I think that you cannot check what sensor is connected.. Butia have hotplug and show instantly that a sensor is connect. Lego not have that, and the only check possible: get a value, if no gives errors, maybe there are a sensor of that type connected.. The usual approach would be to add a device input to the blocks... device 1, device 2, device 3 That can works, but I don't like it taking into consideration that you have put the port where each sensor/motor is connected. I think in a special block that sets the brick that you want to use. For example: - you have 2 bricks connected -if you want to: read color sensor from brick 1 in port 1 -turn motor in port b of brcik 2 with power 100 The code will be: select brick (1) read sensor (color, port 1) select brcik (2) turn motor (port b, 100) See that all the blocks no have changes, only uses the select brick to set in the system, which brick get the next functions. The important of this change: when you have only 1 brick, the code no have changes! Opinions? Regards! Alan From: gerald.ard...@gmail.com Date: Fri, 5 Oct 2012 14:45:48 -0400 To: walter.ben...@gmail.com CC: alan...@hotmail.com; iaep@lists.sugarlabs.org; support-g...@laptop.org Subject: Re: [IAEP] Turtle Blocks question Walter, Agreed. I am happy to continuing working with you on this. Gerald On Fri, Oct 5, 2012 at 2:36 PM, Walter Bender walter.ben...@gmail.com wrote: On Fri, Oct 5, 2012 at 2:30 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, if we are crossing devices? Egon Spengler: Don't cross the streams. The usual approach would be to add a device input to the blocks... device 1, device 2, device 3... But also, I should do a better job of autodetecting which sensors are available. The whole thing should be more dynamic. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep Attached is a BETA version of a new WeDo plugin that supports multiple devices. It follows a schema similar to what Alan proposes above. I only have one device, so it is not tested for multiple devices, however, it seems to work for one device and includes a new feature which tests for devices before each start, rather than just at launch, so devices and be plugged in and unplugged without having to restart Turtle Art. Feedback greatly appreciated. regards. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
Hello all. Thanks for all the support with this project. At Tony's suggestion, I downgraded the XO-1 to build 883 (11.3.0), and the the We Do works fine in TurtleBots. Walter shared his new We Do plug in, which worked fine with Turtle Art 160. Thanks. Gerald Hi Maybe though, the Sugar version is not the problem. I am very happy you have it working though. Just tested Turtlebots Wedo OK on 13.1.0 XO-1.75 Tony ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
Date: Sat, 6 Oct 2012 14:18:10 -0400 Subject: Re: [IAEP] Turtle Blocks question From: walter.ben...@gmail.com To: gerald.ard...@gmail.com CC: alan...@hotmail.com; iaep@lists.sugarlabs.org; support-g...@laptop.org; davidson.i...@gmail.com; fors...@ozonline.com.au On Sat, Oct 6, 2012 at 2:08 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, I have been testing it out this afternoon. It works really well. I only have one We Do here, so I can't test out if it sees different devices. There is one quirky thing. When the script is running a motor, the Stop icon disappears. Then, if you use ctrl-s to stop the script, the blocks disappear. You could just keep a motor=0 block around... I suppose I could auto-stop the motor when the program stops executing, but I think that might limit the utility somewhat. (The Stop Button is for the Turtle Art program, not the WeDo motor.) In the Nxt Plugin (and the Butia) I add the stop motors in the stop of the Turtle.When the robot is crazy and you want to stop it, the best way (beyond turn off) isclick on the stop button off the Turtle. The WeDo plugin have the stop motors function: when you click on the stopof the turtle, the WeDo motor is stopped?? And a question, how do you reverse the direction of the motor? Should reverse with a negative number. enjoy. -walter Thanks. Gerald On Sat, Oct 6, 2012 at 11:46 AM, Walter Bender walter.ben...@gmail.com wrote: On Sat, Oct 6, 2012 at 1:27 AM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: I think that you cannot check what sensor is connected.. Butia have hotplug and show instantly that a sensor is connect. Lego not have that, and the only check possible: get a value, if no gives errors, maybe there are a sensor of that type connected.. The usual approach would be to add a device input to the blocks... device 1, device 2, device 3 That can works, but I don't like it taking into consideration that you have put the port where each sensor/motor is connected. I think in a special block that sets the brick that you want to use. For example: - you have 2 bricks connected -if you want to: read color sensor from brick 1 in port 1 -turn motor in port b of brcik 2 with power 100 The code will be: select brick (1) read sensor (color, port 1) select brcik (2) turn motor (port b, 100) See that all the blocks no have changes, only uses the select brick to set in the system, which brick get the next functions. The important of this change: when you have only 1 brick, the code no have changes! Opinions? Regards! Alan From: gerald.ard...@gmail.com Date: Fri, 5 Oct 2012 14:45:48 -0400 To: walter.ben...@gmail.com CC: alan...@hotmail.com; iaep@lists.sugarlabs.org; support-g...@laptop.org Subject: Re: [IAEP] Turtle Blocks question Walter, Agreed. I am happy to continuing working with you on this. Gerald On Fri, Oct 5, 2012 at 2:36 PM, Walter Bender walter.ben...@gmail.com wrote: On Fri, Oct 5, 2012 at 2:30 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, if we are crossing devices? Egon Spengler: Don't cross the streams. The usual approach would be to add a device input to the blocks... device 1, device 2, device 3... But also, I should do a better job of autodetecting which sensors are available. The whole thing should be more dynamic. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep Attached is a BETA version of a new WeDo plugin that supports multiple devices. It follows a schema similar to what Alan proposes above. I only have one device, so it is not tested for multiple devices, however, it seems to work for one device and includes a new feature which tests for devices before each start, rather than just at launch, so devices and be plugged in and unplugged without having to restart Turtle Art. Feedback greatly appreciated. regards. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
Thanks for the help last night on the Arduino plugin. I know what I need to do. And now, another question. I have been working with the plugin for We Do robots. The plugin is installed and the palette is where it is supposed to be. But, the We Do does not respond to the program. When I look at the Turtle Arts plugin page ( http://wiki.sugarlabs.org/go/Activities/Turtle_Art/Plugins), I am directed to this link: https://github.com/itdaniher/WeDoMore/tree/master/udev to download directions for setting up permissions. However, there are two files there and I am not sure what to do with them. I would appreciate any help you can provide. Thanks. Gerald On Thu, Oct 4, 2012 at 11:12 PM, Walter Bender walter.ben...@gmail.comwrote: On Thu, Oct 4, 2012 at 10:55 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, Thanks for the amazingly quick response. I see TurtleBot. I would like to learn how to create my own spin, so please do walk me through it. The easiest thing to do is to: (1) clone the TA project* (2) load the plugins you are interested in (3) run setup.py dist_xo to generate a new .xo bundle * git clone git://git.sugarlabs.org/turtleart/mainline.git It may be useful to change the version number, for example, 160.1 instead of 160 in activity/activity.info I will work more with the Launchpad. So far, it seems very much like the Arduino. Once I know more, I will start to talk to you about requirements for the plugin. OK. No hurry as I have my hands full at the moment. Thanks. Gerald On Thu, Oct 4, 2012 at 10:46 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Oct 4, 2012 at 10:43 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Hello. I have been playing with the Turtle Blocks plugins for Follow Me, We Do Robots, Lego Mindstorms, and Arduino. They installed perfectly in Turtle Blocks (as expected). I have two questions: 1. I will need to install Turtle Blocks and these plugins on 25-50 XO-1s. Do I have to do the plugins one by one on each machine? TurtleBot comes with all of the above plugins pre-installed. It is also possible to create a special spin of Turtle Art with just the plugins you want (several deployments do this and I could walk you through the process) 2. How do I go about requesting plug in(s) for the TI Launchpad? I need to know more about how to talk to the TI Launchpad and what sorts of interactions between it and TA you are looking for. -walter Thanks. Gerald ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
On Fri, Oct 5, 2012 at 1:58 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Thanks for the help last night on the Arduino plugin. I know what I need to do. And now, another question. I have been working with the plugin for We Do robots. The plugin is installed and the palette is where it is supposed to be. But, the We Do does not respond to the program. When I look at the Turtle Arts plugin page (http://wiki.sugarlabs.org/go/Activities/Turtle_Art/Plugins), I am directed to this link: https://github.com/itdaniher/WeDoMore/tree/master/udev to download directions for setting up permissions. However, there are two files there and I am not sure what to do with them. 99-lego-WeDo.rules are the rules and install_driver.sh is the script to run to install them. -walter I would appreciate any help you can provide. Thanks. Gerald On Thu, Oct 4, 2012 at 11:12 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Oct 4, 2012 at 10:55 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, Thanks for the amazingly quick response. I see TurtleBot. I would like to learn how to create my own spin, so please do walk me through it. The easiest thing to do is to: (1) clone the TA project* (2) load the plugins you are interested in (3) run setup.py dist_xo to generate a new .xo bundle * git clone git://git.sugarlabs.org/turtleart/mainline.git It may be useful to change the version number, for example, 160.1 instead of 160 in activity/activity.info I will work more with the Launchpad. So far, it seems very much like the Arduino. Once I know more, I will start to talk to you about requirements for the plugin. OK. No hurry as I have my hands full at the moment. Thanks. Gerald On Thu, Oct 4, 2012 at 10:46 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Oct 4, 2012 at 10:43 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Hello. I have been playing with the Turtle Blocks plugins for Follow Me, We Do Robots, Lego Mindstorms, and Arduino. They installed perfectly in Turtle Blocks (as expected). I have two questions: 1. I will need to install Turtle Blocks and these plugins on 25-50 XO-1s. Do I have to do the plugins one by one on each machine? TurtleBot comes with all of the above plugins pre-installed. It is also possible to create a special spin of Turtle Art with just the plugins you want (several deployments do this and I could walk you through the process) 2. How do I go about requesting plug in(s) for the TI Launchpad? I need to know more about how to talk to the TI Launchpad and what sorts of interactions between it and TA you are looking for. -walter Thanks. Gerald ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
Walter, Thanks. Sorry if this is elementary. So, I download both files on the XO, and then run the rules script? Gerald On Fri, Oct 5, 2012 at 2:00 PM, Walter Bender walter.ben...@gmail.comwrote: On Fri, Oct 5, 2012 at 1:58 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Thanks for the help last night on the Arduino plugin. I know what I need to do. And now, another question. I have been working with the plugin for We Do robots. The plugin is installed and the palette is where it is supposed to be. But, the We Do does not respond to the program. When I look at the Turtle Arts plugin page (http://wiki.sugarlabs.org/go/Activities/Turtle_Art/Plugins), I am directed to this link: https://github.com/itdaniher/WeDoMore/tree/master/udev to download directions for setting up permissions. However, there are two files there and I am not sure what to do with them. 99-lego-WeDo.rules are the rules and install_driver.sh is the script to run to install them. -walter I would appreciate any help you can provide. Thanks. Gerald On Thu, Oct 4, 2012 at 11:12 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Oct 4, 2012 at 10:55 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, Thanks for the amazingly quick response. I see TurtleBot. I would like to learn how to create my own spin, so please do walk me through it. The easiest thing to do is to: (1) clone the TA project* (2) load the plugins you are interested in (3) run setup.py dist_xo to generate a new .xo bundle * git clone git://git.sugarlabs.org/turtleart/mainline.git It may be useful to change the version number, for example, 160.1 instead of 160 in activity/activity.info I will work more with the Launchpad. So far, it seems very much like the Arduino. Once I know more, I will start to talk to you about requirements for the plugin. OK. No hurry as I have my hands full at the moment. Thanks. Gerald On Thu, Oct 4, 2012 at 10:46 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Oct 4, 2012 at 10:43 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Hello. I have been playing with the Turtle Blocks plugins for Follow Me, We Do Robots, Lego Mindstorms, and Arduino. They installed perfectly in Turtle Blocks (as expected). I have two questions: 1. I will need to install Turtle Blocks and these plugins on 25-50 XO-1s. Do I have to do the plugins one by one on each machine? TurtleBot comes with all of the above plugins pre-installed. It is also possible to create a special spin of Turtle Art with just the plugins you want (several deployments do this and I could walk you through the process) 2. How do I go about requesting plug in(s) for the TI Launchpad? I need to know more about how to talk to the TI Launchpad and what sorts of interactions between it and TA you are looking for. -walter Thanks. Gerald ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
Speaking of WeDo, I have a decent handle on supporting multiple devices at once, but I am curious as to (1) there is sufficient interest; and (2) if there are insights into how best present multiple devices to the user. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
Date: Fri, 5 Oct 2012 14:00:35 -0400 From: walter.ben...@gmail.com To: gerald.ard...@gmail.com CC: iaep@lists.sugarlabs.org; support-g...@laptop.org Subject: Re: [IAEP] Turtle Blocks question On Fri, Oct 5, 2012 at 1:58 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Thanks for the help last night on the Arduino plugin. I know what I need to do. And now, another question. I have been working with the plugin for We Do robots. The plugin is installed and the palette is where it is supposed to be. But, the We Do does not respond to the program. When I look at the Turtle Arts plugin page (http://wiki.sugarlabs.org/go/Activities/Turtle_Art/Plugins), I am directed to this link: https://github.com/itdaniher/WeDoMore/tree/master/udev to download directions for setting up permissions. However, there are two files there and I am not sure what to do with them. 99-lego-WeDo.rules are the rules and install_driver.sh is the script to run to install them. The file 99-lego-WeDo.rules needs to be in: /etc/udev/rules.d (in the most linux versions)In the new Fedora changes for: /etc/udev... The Sugar 0.94? and newest have that rule included.I know that in Sugar 0.96 the rule is in place.. -walter I would appreciate any help you can provide. Thanks. Gerald On Thu, Oct 4, 2012 at 11:12 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Oct 4, 2012 at 10:55 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, Thanks for the amazingly quick response. I see TurtleBot. I would like to learn how to create my own spin, so please do walk me through it. The easiest thing to do is to: (1) clone the TA project* (2) load the plugins you are interested in (3) run setup.py dist_xo to generate a new .xo bundle * git clone git://git.sugarlabs.org/turtleart/mainline.git It may be useful to change the version number, for example, 160.1 instead of 160 in activity/activity.info I will work more with the Launchpad. So far, it seems very much like the Arduino. Once I know more, I will start to talk to you about requirements for the plugin. OK. No hurry as I have my hands full at the moment. Thanks. Gerald On Thu, Oct 4, 2012 at 10:46 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Oct 4, 2012 at 10:43 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Hello. I have been playing with the Turtle Blocks plugins for Follow Me, We Do Robots, Lego Mindstorms, and Arduino. They installed perfectly in Turtle Blocks (as expected). I have two questions: 1. I will need to install Turtle Blocks and these plugins on 25-50 XO-1s. Do I have to do the plugins one by one on each machine? TurtleBot comes with all of the above plugins pre-installed. It is also possible to create a special spin of Turtle Art with just the plugins you want (several deployments do this and I could walk you through the process) 2. How do I go about requesting plug in(s) for the TI Launchpad? I need to know more about how to talk to the TI Launchpad and what sorts of interactions between it and TA you are looking for. -walter Thanks. Gerald ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
Walter, Thanks for clarifying. I am not sure of the interest either. Mine may be an unusual case. I have We Dos and Mindstorms and Arduinos and Launchpads and so I am trying to test them all. I imagine I will reduce the number of tools shortly. Does that make sense? Gerald On Fri, Oct 5, 2012 at 2:03 PM, Walter Bender walter.ben...@gmail.comwrote: Speaking of WeDo, I have a decent handle on supporting multiple devices at once, but I am curious as to (1) there is sufficient interest; and (2) if there are insights into how best present multiple devices to the user. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
Alan, I am using XO-1 build 12.1.0. Thanks. Gerald On Fri, Oct 5, 2012 at 2:07 PM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: Date: Fri, 5 Oct 2012 14:00:35 -0400 From: walter.ben...@gmail.com To: gerald.ard...@gmail.com CC: iaep@lists.sugarlabs.org; support-g...@laptop.org Subject: Re: [IAEP] Turtle Blocks question On Fri, Oct 5, 2012 at 1:58 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Thanks for the help last night on the Arduino plugin. I know what I need to do. And now, another question. I have been working with the plugin for We Do robots. The plugin is installed and the palette is where it is supposed to be. But, the We Do does not respond to the program. When I look at the Turtle Arts plugin page (http://wiki.sugarlabs.org/go/Activities/Turtle_Art/Plugins), I am directed to this link: https://github.com/itdaniher/WeDoMore/tree/master/udev to download directions for setting up permissions. However, there are two files there and I am not sure what to do with them. 99-lego-WeDo.rules are the rules and install_driver.sh is the script to run to install them. The file 99-lego-WeDo.rules needs to be in: /etc/udev/rules.d (in the most linux versions) In the new Fedora changes for: /etc/udev... The Sugar 0.94? and newest have that rule included. I know that in Sugar 0.96 the rule is in place.. -walter I would appreciate any help you can provide. Thanks. Gerald On Thu, Oct 4, 2012 at 11:12 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Oct 4, 2012 at 10:55 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, Thanks for the amazingly quick response. I see TurtleBot. I would like to learn how to create my own spin, so please do walk me through it. The easiest thing to do is to: (1) clone the TA project* (2) load the plugins you are interested in (3) run setup.py dist_xo to generate a new .xo bundle * git clone git://git.sugarlabs.org/turtleart/mainline.git It may be useful to change the version number, for example, 160.1 instead of 160 in activity/activity.info I will work more with the Launchpad. So far, it seems very much like the Arduino. Once I know more, I will start to talk to you about requirements for the plugin. OK. No hurry as I have my hands full at the moment. Thanks. Gerald On Thu, Oct 4, 2012 at 10:46 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Oct 4, 2012 at 10:43 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Hello. I have been playing with the Turtle Blocks plugins for Follow Me, We Do Robots, Lego Mindstorms, and Arduino. They installed perfectly in Turtle Blocks (as expected). I have two questions: 1. I will need to install Turtle Blocks and these plugins on 25-50 XO-1s. Do I have to do the plugins one by one on each machine? TurtleBot comes with all of the above plugins pre-installed. It is also possible to create a special spin of Turtle Art with just the plugins you want (several deployments do this and I could walk you through the process) 2. How do I go about requesting plug in(s) for the TI Launchpad? I need to know more about how to talk to the TI Launchpad and what sorts of interactions between it and TA you are looking for. -walter Thanks. Gerald ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
That version have the rules.. You only need install the plugin an try! From: gerald.ard...@gmail.com Date: Fri, 5 Oct 2012 14:09:56 -0400 To: alan...@hotmail.com CC: iaep@lists.sugarlabs.org; support-g...@laptop.org Subject: Re: [IAEP] Turtle Blocks question Alan, I am using XO-1 build 12.1.0. Thanks.Gerald On Fri, Oct 5, 2012 at 2:07 PM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: Date: Fri, 5 Oct 2012 14:00:35 -0400 From: walter.ben...@gmail.com To: gerald.ard...@gmail.com CC: iaep@lists.sugarlabs.org; support-g...@laptop.org Subject: Re: [IAEP] Turtle Blocks question On Fri, Oct 5, 2012 at 1:58 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Thanks for the help last night on the Arduino plugin. I know what I need to do. And now, another question. I have been working with the plugin for We Do robots. The plugin is installed and the palette is where it is supposed to be. But, the We Do does not respond to the program. When I look at the Turtle Arts plugin page (http://wiki.sugarlabs.org/go/Activities/Turtle_Art/Plugins), I am directed to this link: https://github.com/itdaniher/WeDoMore/tree/master/udev to download directions for setting up permissions. However, there are two files there and I am not sure what to do with them. 99-lego-WeDo.rules are the rules and install_driver.sh is the script to run to install them. The file 99-lego-WeDo.rules needs to be in: /etc/udev/rules.d (in the most linux versions) In the new Fedora changes for: /etc/udev... The Sugar 0.94? and newest have that rule included.I know that in Sugar 0.96 the rule is in place.. -walter I would appreciate any help you can provide. Thanks. Gerald On Thu, Oct 4, 2012 at 11:12 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Oct 4, 2012 at 10:55 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, Thanks for the amazingly quick response. I see TurtleBot. I would like to learn how to create my own spin, so please do walk me through it. The easiest thing to do is to: (1) clone the TA project* (2) load the plugins you are interested in (3) run setup.py dist_xo to generate a new .xo bundle * git clone git://git.sugarlabs.org/turtleart/mainline.git It may be useful to change the version number, for example, 160.1 instead of 160 in activity/activity.info I will work more with the Launchpad. So far, it seems very much like the Arduino. Once I know more, I will start to talk to you about requirements for the plugin. OK. No hurry as I have my hands full at the moment. Thanks. Gerald On Thu, Oct 4, 2012 at 10:46 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Oct 4, 2012 at 10:43 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Hello. I have been playing with the Turtle Blocks plugins for Follow Me, We Do Robots, Lego Mindstorms, and Arduino. They installed perfectly in Turtle Blocks (as expected). I have two questions: 1. I will need to install Turtle Blocks and these plugins on 25-50 XO-1s. Do I have to do the plugins one by one on each machine? TurtleBot comes with all of the above plugins pre-installed. It is also possible to create a special spin of Turtle Art with just the plugins you want (several deployments do this and I could walk you through the process) 2. How do I go about requesting plug in(s) for the TI Launchpad? I need to know more about how to talk to the TI Launchpad and what sorts of interactions between it and TA you are looking for. -walter Thanks. Gerald ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
Alan, I did, but the We Do is not responding to the Turtle Art project. Gerald On Fri, Oct 5, 2012 at 2:16 PM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: That version have the rules.. You only need install the plugin an try! -- From: gerald.ard...@gmail.com Date: Fri, 5 Oct 2012 14:09:56 -0400 To: alan...@hotmail.com CC: iaep@lists.sugarlabs.org; support-g...@laptop.org Subject: Re: [IAEP] Turtle Blocks question Alan, I am using XO-1 build 12.1.0. Thanks. Gerald On Fri, Oct 5, 2012 at 2:07 PM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: Date: Fri, 5 Oct 2012 14:00:35 -0400 From: walter.ben...@gmail.com To: gerald.ard...@gmail.com CC: iaep@lists.sugarlabs.org; support-g...@laptop.org Subject: Re: [IAEP] Turtle Blocks question On Fri, Oct 5, 2012 at 1:58 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Thanks for the help last night on the Arduino plugin. I know what I need to do. And now, another question. I have been working with the plugin for We Do robots. The plugin is installed and the palette is where it is supposed to be. But, the We Do does not respond to the program. When I look at the Turtle Arts plugin page (http://wiki.sugarlabs.org/go/Activities/Turtle_Art/Plugins), I am directed to this link: https://github.com/itdaniher/WeDoMore/tree/master/udev to download directions for setting up permissions. However, there are two files there and I am not sure what to do with them. 99-lego-WeDo.rules are the rules and install_driver.sh is the script to run to install them. The file 99-lego-WeDo.rules needs to be in: /etc/udev/rules.d (in the most linux versions) In the new Fedora changes for: /etc/udev... The Sugar 0.94? and newest have that rule included. I know that in Sugar 0.96 the rule is in place.. -walter I would appreciate any help you can provide. Thanks. Gerald On Thu, Oct 4, 2012 at 11:12 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Oct 4, 2012 at 10:55 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, Thanks for the amazingly quick response. I see TurtleBot. I would like to learn how to create my own spin, so please do walk me through it. The easiest thing to do is to: (1) clone the TA project* (2) load the plugins you are interested in (3) run setup.py dist_xo to generate a new .xo bundle * git clone git://git.sugarlabs.org/turtleart/mainline.git It may be useful to change the version number, for example, 160.1 instead of 160 in activity/activity.info I will work more with the Launchpad. So far, it seems very much like the Arduino. Once I know more, I will start to talk to you about requirements for the plugin. OK. No hurry as I have my hands full at the moment. Thanks. Gerald On Thu, Oct 4, 2012 at 10:46 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Oct 4, 2012 at 10:43 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Hello. I have been playing with the Turtle Blocks plugins for Follow Me, We Do Robots, Lego Mindstorms, and Arduino. They installed perfectly in Turtle Blocks (as expected). I have two questions: 1. I will need to install Turtle Blocks and these plugins on 25-50 XO-1s. Do I have to do the plugins one by one on each machine? TurtleBot comes with all of the above plugins pre-installed. It is also possible to create a special spin of Turtle Art with just the plugins you want (several deployments do this and I could walk you through the process) 2. How do I go about requesting plug in(s) for the TI Launchpad? I need to know more about how to talk to the TI Launchpad and what sorts of interactions between it and TA you are looking for. -walter Thanks. Gerald ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
Walter, I think this is an important enhancement as well. I am thinking of some kind of graphical distinction with the bricks, something like icons. The colors get too noisy. Would you also need some rules then about which bricks can and cannot connect together if we are crossing devices? Gerald On Fri, Oct 5, 2012 at 2:11 PM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: Date: Fri, 5 Oct 2012 14:03:21 -0400 From: walter.ben...@gmail.com To: gerald.ard...@gmail.com CC: iaep@lists.sugarlabs.org; support-g...@laptop.org Subject: Re: [IAEP] Turtle Blocks question Speaking of WeDo, I have a decent handle on supporting multiple devices at once, but I am curious as to (1) there is sufficient interest; and (2) if there are insights into how best present multiple devices to the user. It's an important enhancement. You can build a bigger robot that have more motors/sensors. I have the same problem with NXT plugin: How is a good way of show the diferent blocks? Create another palette for the second brick?? -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
On Fri, Oct 5, 2012 at 2:30 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, if we are crossing devices? Egon Spengler: Don't cross the streams. The usual approach would be to add a device input to the blocks... device 1, device 2, device 3... But also, I should do a better job of autodetecting which sensors are available. The whole thing should be more dynamic. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
On Fri, Oct 5, 2012 at 2:45 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, Agreed. I am happy to continuing working with you on this. I'll try to sketch something up sooner than later. -walter Gerald On Fri, Oct 5, 2012 at 2:36 PM, Walter Bender walter.ben...@gmail.com wrote: On Fri, Oct 5, 2012 at 2:30 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, if we are crossing devices? Egon Spengler: Don't cross the streams. The usual approach would be to add a device input to the blocks... device 1, device 2, device 3... But also, I should do a better job of autodetecting which sensors are available. The whole thing should be more dynamic. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
I think that you cannot check what sensor is connected..Butia have hotplug and show instantly that a sensor is connect.Lego not have that, and the only check possible: get a value, if no gives errors, maybethere are a sensor of that type connected.. The usual approach would be to add a device input to the blocks...device 1, device 2, device 3 That can works, but I don't like it taking into consideration that you have put the portwhere each sensor/motor is connected. I think in a special block that sets the brick that you want to use.For example:- you have 2 bricks connected-if you want to: read color sensor from brick 1 in port 1-turn motor in port b of brcik 2 with power 100 The code will be: select brick (1)read sensor (color, port 1)select brcik (2)turn motor (port b, 100) See that all the blocks no have changes, only uses the select brick to set in the system, whichbrick get the next functions.The important of this change: when you have only 1 brick, the code no have changes! Opinions? Regards! Alan From: gerald.ard...@gmail.com Date: Fri, 5 Oct 2012 14:45:48 -0400 To: walter.ben...@gmail.com CC: alan...@hotmail.com; iaep@lists.sugarlabs.org; support-g...@laptop.org Subject: Re: [IAEP] Turtle Blocks question Walter,Agreed.I am happy to continuing working with you on this.Gerald On Fri, Oct 5, 2012 at 2:36 PM, Walter Bender walter.ben...@gmail.com wrote: On Fri, Oct 5, 2012 at 2:30 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, if we are crossing devices? Egon Spengler: Don't cross the streams. The usual approach would be to add a device input to the blocks... device 1, device 2, device 3... But also, I should do a better job of autodetecting which sensors are available. The whole thing should be more dynamic. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
On Thu, Oct 4, 2012 at 10:43 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Hello. I have been playing with the Turtle Blocks plugins for Follow Me, We Do Robots, Lego Mindstorms, and Arduino. They installed perfectly in Turtle Blocks (as expected). I have two questions: 1. I will need to install Turtle Blocks and these plugins on 25-50 XO-1s. Do I have to do the plugins one by one on each machine? TurtleBot comes with all of the above plugins pre-installed. It is also possible to create a special spin of Turtle Art with just the plugins you want (several deployments do this and I could walk you through the process) 2. How do I go about requesting plug in(s) for the TI Launchpad? I need to know more about how to talk to the TI Launchpad and what sorts of interactions between it and TA you are looking for. -walter Thanks. Gerald ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
Walter, Thanks for the amazingly quick response. I see TurtleBot. I would like to learn how to create my own spin, so please do walk me through it. I will work more with the Launchpad. So far, it seems very much like the Arduino. Once I know more, I will start to talk to you about requirements for the plugin. Thanks. Gerald On Thu, Oct 4, 2012 at 10:46 PM, Walter Bender walter.ben...@gmail.comwrote: On Thu, Oct 4, 2012 at 10:43 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Hello. I have been playing with the Turtle Blocks plugins for Follow Me, We Do Robots, Lego Mindstorms, and Arduino. They installed perfectly in Turtle Blocks (as expected). I have two questions: 1. I will need to install Turtle Blocks and these plugins on 25-50 XO-1s. Do I have to do the plugins one by one on each machine? TurtleBot comes with all of the above plugins pre-installed. It is also possible to create a special spin of Turtle Art with just the plugins you want (several deployments do this and I could walk you through the process) 2. How do I go about requesting plug in(s) for the TI Launchpad? I need to know more about how to talk to the TI Launchpad and what sorts of interactions between it and TA you are looking for. -walter Thanks. Gerald ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep
Re: [IAEP] Turtle Blocks question
On Thu, Oct 4, 2012 at 10:55 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Walter, Thanks for the amazingly quick response. I see TurtleBot. I would like to learn how to create my own spin, so please do walk me through it. The easiest thing to do is to: (1) clone the TA project* (2) load the plugins you are interested in (3) run setup.py dist_xo to generate a new .xo bundle * git clone git://git.sugarlabs.org/turtleart/mainline.git It may be useful to change the version number, for example, 160.1 instead of 160 in activity/activity.info I will work more with the Launchpad. So far, it seems very much like the Arduino. Once I know more, I will start to talk to you about requirements for the plugin. OK. No hurry as I have my hands full at the moment. Thanks. Gerald On Thu, Oct 4, 2012 at 10:46 PM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Oct 4, 2012 at 10:43 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Hello. I have been playing with the Turtle Blocks plugins for Follow Me, We Do Robots, Lego Mindstorms, and Arduino. They installed perfectly in Turtle Blocks (as expected). I have two questions: 1. I will need to install Turtle Blocks and these plugins on 25-50 XO-1s. Do I have to do the plugins one by one on each machine? TurtleBot comes with all of the above plugins pre-installed. It is also possible to create a special spin of Turtle Art with just the plugins you want (several deployments do this and I could walk you through the process) 2. How do I go about requesting plug in(s) for the TI Launchpad? I need to know more about how to talk to the TI Launchpad and what sorts of interactions between it and TA you are looking for. -walter Thanks. Gerald ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep