Society of Robots - Robot Forum
Software => Software => Topic started by: vinodhkumarvk on February 24, 2011, 07:09:09 AM
-
Dear Sir,
I am newbie to robotics field and i need to develop a communication between two mobile robots. by means of Bluetooth.
both the WMR's have Bluetooth embedded on them...
so i need any algorithms or any tutorials regarding the programming of two robots.
I am working under C language (Linux platform)
please do help me regarding this issue
-
Use the Bluetooth SPP (Serial Port Protocol), or be somewhat more intelligent and just use ad-hoc wifi, since you're apparently running on a system that can run linux.
-
Dear Sir,
does RFCOMMM refer to --->bluetooth serial port protocol
the bots are not having any wifi modules embedded?? so how can i connect it in ad-hoc network....
-
rfcomm is the SPP, yes. If you've got embedded linux running, you can probably afford to put in a USB wifi dongle. Then your life is much easier - the protocols are all defined already, and you don't have to worry about low-level communications.
If you must use bluetooth, be aware that it's not the easiest thing to configure - your best bet is to open an rfcomm tunnel between the two bots and pretend it's a serial port.
-
thank u very much sir.....
Yes I have to do it in bluetooth....
im refering this book so that i can get an idea on the bluetooth rfcomm programming.
Bluetooth essentials for programmers By Albert S. Huang, Larry Rudolph
will it be enough?????? and i have very less time to develop my code :(
-
Bluetooth to bluetooth rfcomm can be done by switching one of the modules to master mode, and creating a connection between the two. Then, treat the resulting /dev/rfcomm* port as a serial port, which is much easier to deal with. The book you list seems to be good, but I don't have any personal experience with it and thus cannot make a recommendation.
-
Yes sir, i want to make one robot as master and other as slave...( by means of RFCOMM )
And i want to transfer the data to slave from master....
oh ..kk.....and if u do find information regarding this query please do reply me ..
thank u very much !!!