Go to Post resistance to FIRST is futile. - King Duke [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-07-2010, 14:04
Lisa Perez's Avatar
Lisa Perez Lisa Perez is offline
Registered User
FRC #0573 (Mech Warriors)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Bloomfield Hills, MI
Posts: 1,291
Lisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond repute
User can send commands but cannot read sensor data over Bluetooth

I have created a LabVIEW VI that allows me to control an iRobot Create robot through a Bluetooth connection. Writing commands to the Create works just fine - I am able to drive, stop, request sensor data, etc. However, actually reading sensor data from the Create has proven to be more of an issue.

I have the code set up such that it requests sensor data from the Create, waits for 50ms, determines how many bytes are at the port, and then reads the bytes from that port. I tested this over a wired connection, and it worked just fine, showing 1 or 2 bytes at port depending on what sensor data I requested at that point in time. Over the Bluetooth connection, however, it showed that there were 0 bytes at the port, regardless of what sensor data I requested.

It seems that the Bluetooth connection may be the issue, but, as I have limited experience with Bluetooth, I do not really know how to configure it to allow me to get that sensor data (if indeed the connection is the issue). Any tips?

Thanks!
__________________
Event Coordinator - Center Line District Event
Volunteer Coordinator - Michigan State Championship

Lead Mentor - Team 573, Mech Warriors
Former Mentor - Team 830, Rat Pack and Team 3182, Athena's Warriors
Proud Alumna - Team 573, Mech Warriors and Team 1, Juggernauts
  #2   Spotlight this post!  
Unread 01-07-2010, 15:08
Jack Jones Jack Jones is offline
Retired
no team
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Waterford, MI
Posts: 964
Jack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond repute
Re: User can send commands but cannot read sensor data over Bluetooth

Call Keith
__________________
This message is hidden because Jack Jones is on your ignore list.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending user data, parsing user data. demosthenes2k8 NI LabVIEW 3 30-01-2009 13:51
Help! Can't send files to NXT Brick via bluetooth Raptorace22 National Instruments LabVIEW and Data Acquisition 0 24-11-2008 16:39
Using the IR remote to send radio commands to the robot Mikhail_Pham Control System 2 14-01-2008 00:14
Can the pic controller send the data to pc? sunnyrx7turbo Control System 2 05-08-2005 13:14


All times are GMT -5. The time now is 23:25.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi