View unanswered posts | View active topics It is currently Tue Sep 23, 2014 3:29 am






Reply to topic  [ 7 posts ] 
bluetooth messaging 
Author Message
Rookie

Joined: Thu Mar 01, 2007 12:49 pm
Posts: 11
Post bluetooth messaging
hi,

I need to make NXT communicate by bluetooth with my PC.
I want to use RobotRealm to find and approach a blue ball, but using robotc software for robot navigation. So, I need to enable messaging between NXT and PC, and when robotrealm sees a blue ball it can send a message to NXT and take control of it, or viceversa.

Anyway, I couldn't find any information about messaging in the software. Is it possible?


Fri Mar 16, 2007 6:52 am
Profile
Rookie

Joined: Thu Mar 01, 2007 12:49 pm
Posts: 11
Post 
or, may be, some one can explain me why BT Sample Program does not work...

I have perfect BT connection between pc and nxt (download, poll brick, etc.).
Simply, I have an overflow during ConnectPort() and a freez during SetBrickName()

thanks


Fri Mar 16, 2007 12:24 pm
Profile
Rookie

Joined: Thu Mar 01, 2007 12:49 pm
Posts: 11
Post 
so...

no one tried to use bt messaging to make communicate NXT and PC...

I'm not able to resolve this problem alone...


Fri Mar 23, 2007 6:10 am
Profile
Creator
Creator

Joined: Fri Feb 09, 2007 9:21 am
Posts: 615
Post 
There are some problems with current RobotC Bluetooth messaging. I hope to have them resolved soon.

THe first target is to ensure NXT-to-NXT messaging is work. Yours is a broader problem of NXT-to-PC where the PC is running a user application and not the RobotC environment. FOr this, the PC will have to behave (i.e. message) exactly like a NXT. This will require a relatively high level of technical expertise and programming experience.

What is your technical skill set and background? I am unfamiliar with the Robot Realm environment.

There are a number of toolkits that have been developed to facilitate communications between a PC application program and a NXT over BT. Are you familiar with these and have you selected one? Which one?


Fri Mar 23, 2007 10:10 am
Profile
Rookie

Joined: Sun Mar 04, 2007 3:02 am
Posts: 9
Post timeframe for NXT to NXT messaging
Any idea when a release with NXT to NXT messaging might become available?

Bill H.


Sun Mar 25, 2007 7:25 pm
Profile
Rookie

Joined: Tue Sep 18, 2007 5:00 am
Posts: 1
Post try this
task main()
{

TFileIOResult result;
btConnect(result,8,"R_RIGHT");

nxtDisplayTextLine(2,"%s",result);
wait1Msec(100);
motor[motorA]=1000;

wait1Msec(100);
motor[motorA]=0;

btDisconnect(result,8);

}


Tue Sep 18, 2007 5:04 am
Profile YIM
Creator
Creator

Joined: Fri Feb 09, 2007 9:21 am
Posts: 615
Post 
BT NXT-to-NXT messaging will be available in the next pre-release (version 1.10).


Wed Sep 26, 2007 9:09 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.