View unanswered posts | View active topics It is currently Thu Jul 31, 2014 7:22 pm






Reply to topic  [ 3 posts ] 
USB/BT connection 
Author Message
Rookie

Joined: Thu Nov 08, 2007 2:07 pm
Posts: 1
Location: Bristol, UK
Post USB/BT connection
Hi Guys,

I'm new to the whole world of NXT programming. I did a bit with an RCX using BrickOS but now I need to upgrade.

What I need for my undergraduate dissertation project is to create a robot controlled by Matlab. Originally I saw that RobotC can use events, and I thought that I could generate these events from the PC, transmitted over BT or USB, and have the NXT react to them. Unfortunately I can't find much info on how to do this...

Alternatively, if its possible to send messages over USB/BT from the PC to the NXT then I could simply poll the message "inbox" and react to them. Is this possible?

Any help or advice would be greatly appreciated.

Tim


Fri Nov 09, 2007 7:26 am
Profile WWW
Rookie

Joined: Mon Oct 22, 2007 6:41 pm
Posts: 2
Post 
Have you taken a look at the Microsoft Robotics Studio. This is a free development environment for writing high level robotic behavioral code. In this type of environment, all of the hard work is really done on the PC and the NXT would act like a remote extension of the PC to interact with the environment. MRS has support for communication with the NXT via Bluetooth. I am not trying to steer you one way or the other, just giving you one option to look into.

http://msdn2.microsoft.com/en-us/robotics/default.aspx


Fri Nov 09, 2007 7:26 pm
Profile
Creator
Creator

Joined: Fri Feb 09, 2007 9:21 am
Posts: 614
Post 
Download the NXT Software Development Kit from the LEGO site. Read about the Fantom protocol and DLL. You'll need to make calls to this DLL from within MATLAB.

ROBOTC supports the Fantom.dll messaging protcol. This is the same communications protocol that is used by NXT-G and Microsoft Robotics Studio.

Try cross-posting on the nxtasy.org forum asking for someone who is already using MATLAB and is willing to share the DLL function calls with you.

Also do a similar post on the www.lugnet.org robotics newsgroups.


Wed Nov 14, 2007 10:47 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 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:  



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