-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Galaxy S2 and Motorola Xoom #1
Comments
Hi Shez, Thank you for your feedback! Thanks, |
Hey, I've tried with this new version, but still get the same problem. I recompiled from source to add wee bits of debugging, and when plugged into On Thursday 20 June 2013 14:53:19 Daisuke Baba wrote:
|
Thank you for the report. Reopen the issue. |
Hey, I've hacked in a work around which works for me - your new code wasn't getting Not really production ready but gets me flying (literally, this is for a Cheers a/src/main/java/com/yourinventit/processing/android/serial/UsbSerialCommunicator.java
|
Thanks. So you cannot pass the deviceName since I will address it. db |
Hey. If I understand you, then not quite - it was list() itself that was failing, Thanks again for your work on this, I've been round the houses looking for Cheers On Tuesday 25 June 2013 15:47:58 Daisuke Baba wrote:
|
I understood. The first call of That is, the known bug where I put on my todo list. Anyway, I'm very glad to hear your success story! Flying quadcopter is really amazing!!! I'm trying to create a vehicle (not a real one!) controlled by a tablet or a smartphone via BLE. However, I was just succeeded in using PWM to control a mabuchi motor with UNO R3 last Sunday... db |
Cool - I'll get something up for you and others - so far its not as useful as On Tuesday 25 June 2013 16:16:16 Daisuke Baba wrote:
|
Thank you for the info. Very helpful. |
Video of a (kebabstick) octocopter being flown by my motorola xoom: write up to follow... On Thursday 27 June 2013 12:00:57 Daisuke Baba wrote:
|
Great!! |
http://www.instructables.com/id/Easy-Android-controllable-PC-Interfaceable-Relati/ :) On Thursday 27 June 2013 12:00:57 Daisuke Baba wrote:
|
Thanks! A great post! |
Hi was this fixed? I cant for the life of me get it to work! FATAL EXCEPTION: Animation Thread Is there a workaround I can use? right now all I'm trying to do is write a single character to the serial port to test it out. Also I'm using a Galaxy S4 on 4.2.2 Thanks for all your hard work! |
Hi genie360, Can you tell me the USB vendor ID and product ID of the device you connected to S4?
|
Thanks for the reply! t's a parallax xbee shield, Device Descriptor: ConnectionStatus: DeviceConnected Endpoint Descriptor: Endpoint Descriptor: |
also something I just though of.... whats the best way to make sure that I'm using the correst com port on the phone? I'm pretty sure its "/dev/ttyUSB0", but seeing as I cant get it to run, I cant list the ports to be sure. Thanks again! |
Both vendorId and productId are valid for FTDI USB values. So there is another issue. <intent-filter>
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
</intent-filter>
<meta-data
android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
android:resource="@xml/device_filter" />
</activity> And make sure that an xml file is placed at When you connect the XBee shield to Galaxy via USB, a popup dialog appears in order for the Galaxy to ask you to choose an application using the USB device. If you have never seen the dialog, the USB settings are wrong. The complete AndroidManifest.xml file example is available here. Regarding the usb port on the phone, using |
that did the trick! Thank you. I am also using this for a quadcopter :) I have an AR.Drone 2.0 and added a pan/tilt mechanism for the front camera. Thanks to your library I am able to control the pan/tilt using the android gyroscope! It has opened so many doors. I made a simple head tracker (with video glasses) and hand held version too. Cant wait for a test flight! will link a video soon Thanks again |
Good! |
Hey,
On both these platforms I get this message and stacktrace almost immediately (before unplugging and plugging into an Arduino due)
I appreciate the Due is adding further unknown variables (presumably I need to add vendor & product id to device_filter.xml at least ?) but it looks like its falling over before that.
Does this sound like a device specific problem, or am I just being dumd?
Cheers
Shez
FATAL EXCEPTION: Animation Thread
java.lang.IllegalStateException: Cannot setup USB Serial.
at com.yourinventit.processing.android.serial.UsbSerialCommunicator.doStart(UsbSerialCommunicator.java:105)
at com.yourinventit.processing.android.serial.AbstractAndroidSerialCommunicator.start(AbstractAndroidSerialCommunicator.java:333)
at com.yourinventit.processing.android.serial.AbstractAndroidSerialCommunicator.start(AbstractAndroidSerialCommunicator.java:308)
at com.yourinventit.processing.android.serial.AbstractAndroidSerialCommunicator.start(AbstractAndroidSerialCommunicator.java:297)
at com.yourinventit.processing.android.serial.Serial.(Serial.java:51)
at com.yourinventit.processing.android.serial.Serial.list(Serial.java:263)
at processing.test.serialtest.serialtest.setup(serialtest.java:33)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PGraphicsAndroid2D.requestDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:856)
The text was updated successfully, but these errors were encountered: