Hefty price but looks pretty fun.
Hossein.
> To post to this group, send email to
> app-inventor-o...@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/app-inventor-open-source-dev.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-source-dev+unsub...@googlegroups.com.
Thats really cool Gareth.
--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-so...@googlegroups.com.
What is your component like?
Is it a Java library that would need to be added to a special version of App Inventor?
It's too specialized for us to build in to the standard version of App Inventor,
what would you suggest as the easiest way to non-technical users to be able to play with this?
HI Gareth,This looks like great fn.What is your component like? Is it a Java library that would need to be added to a special version of App Inventor? It's too specialized for us to build in to the standard version of App Inventor, so what would you suggest as the easiest way to non-technical users to be able to play with this?== Hal
==Hal
On Wed, Jun 18, 2014 at 10:48 AM, Gareth Haylings <gareth....@googlemail.com> wrote:
HiI am about to buy a Sphero V2.0 which is a robotic ball and will be creating a component to control and program it in AI.If you have never heard of Sphero it's robotic ball that has a great open source platform that would be ideal for eduactional development. Here is a link to the website: http://www.gosphero.com/sphero-2-0/The component blocks that I would look at adding to control and receive feedback from sphero would be:Heading - Set the direction Sphero will move
Speed - Set the speed sphero will moveColor - Changes the colour of SpheroCollisionDetection - Event block to detect even sphero has his something
Location - Return the current location of sphero in relation to its start positionMovementDetection - event that returns the rotation of sphero. This is handy if you want to use sphero as a control interface for an app like a joystickI will be developing this component for myself when I get the Sphero but just wanted feedback whether or not it is of interest as a component that could be added to the official version MIT App Inventor before I write a proposal document.
--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-source-dev+unsub...@googlegroups.com.
Hi
E/ActivityThread(20225): Activity appinventor.ai_test.test.Screen1 has leaked IntentReceiver orbotix.robot.base.RobotProvider$1@41c295f0 that was originally registered here. Are you missing a call to unregisterReceiver()?
E/ActivityThread(20225): android.app.IntentReceiverLeaked: Activity appinventor.ai_test.test.Screen1 has leaked IntentReceiverorbotix.robot.base.RobotProvider$1@41c295f0 that was originally registered here. Are you missing a call to unregisterReceiver()?
--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-so...@googlegroups.com.
package com.orbotix.sample.helloworld;
import java.util.List;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.widget.Toast;
import orbotix.robot.base.*;
import orbotix.robot.sensor.DeviceSensorsData;
import orbotix.sphero.*;
/** Connects to an available Sphero robot, and then flashes its LED. */
public class HelloWorldActivity extends Activity {
public static final String TAG = "OBX-HelloWorld";
/** The Sphero Robot */
private Sphero mRobot;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
RobotProvider.getDefaultProvider().addConnectionListener(new ConnectionListener() {
@Override
public void onConnected(Robot robot) {
mRobot = (Sphero) robot;
mRobot.setColor(255, 0, 0);
mRobot.rotate(180);
mRobot.setBackLEDBrightness(1);
}
@Override
public void onConnectionFailed(Robot sphero) {
}
@Override
public void onDisconnected(Robot robot) {
mRobot = null;
}
});
RobotProvider.getDefaultProvider().addDiscoveryListener(new DiscoveryListener() {
@Override
public void onBluetoothDisabled() {
}
@Override
public void discoveryComplete(List<Sphero> spheros) {
}
@Override
public void onFound(List<Sphero> sphero) {
RobotProvider.getDefaultProvider().connect(sphero.iterator().next());
}
});
boolean success = RobotProvider.getDefaultProvider().startDiscovery(this);
if(!success){
Toast.makeText(HelloWorldActivity.this, "Unable To start Discovery!", Toast.LENGTH_LONG).show();
}
}
/** Called when the user comes back to this app */
@Override
protected void onResume() {
super.onResume();
}
/** Called when the user presses the back or home button */
@Override
protected void onPause() {
super.onPause();
//if (mRobot != null) {
// mRobot.disconnect();
//}
}
}
not at the moment will put it up on git
On 6 July 2014 20:59, RobNCD <rob...@gmail.com> wrote:
Hi GarethDo you have a copy of the component code available to anywhere for us to take a look at?Robert
--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-source-dev+unsub...@googlegroups.com.
>>>> an email to app-inventor-open-source-dev+unsub...@googlegroups.com.
>>>> To post to this group, send email to app-inventor-o...@googlegroups.com.
>>>> Visit this group at
>>>> http://groups.google.com/group/app-inventor-open-source-dev.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
> --
> You received this message because you are subscribed to the Google Groups
> "App Inventor Open Source Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-so...@googlegroups.com.
>>>> an email to app-inventor-open-source-dev+unsubs...@googlegroups.com.
>>>> To post to this group, send email to app-inventor-o...@googlegroups.com.
>>>> Visit this group at
>>>> http://groups.google.com/group/app-inventor-open-source-dev.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
> --
> You received this message because you are subscribed to the Google Groups
> "App Inventor Open Source Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> To post to this group, send email to
> app-inventor-o...@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/app-inventor-open-source-dev.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-source-dev+unsub...@googlegroups.com.
To post to this group, send email to app-inventor-o...@googlegroups.com.
Visit this group at http://groups.google.com/group/app-inventor-open-source-dev.
For more options, visit https://groups.google.com/d/optout.