-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add script to bind rfcomm device to remote Bluetooth device #146
Conversation
does this script monitor the bluetooth connection and automatically connect the device when its exists? |
No. So my usage is like the following:
FYI (rfcomm bind):
|
so you mean that you manually start the upstart like |
also please
|
I am sorry for confusing you.
No, So
If bluetooth device appears after
OK. |
I see, thanks |
I add script to bind rfcomm device to remote bluetooth device.
By binding rfcomm device, we can connect bluetooth device via rosserial.
https://github.com/sktometometo/M5Stack_Bluetooth_rosserial_example
Usage
Save the bluetooth device MAC address to file like (
/var/lib/robot/rfcomm_devices.yaml
)Then, run this program.
If you use PR2,
management
Currently, I start the above launch file by upstart.
The config file is in /etc/upstart/jsk-rfcomm-bind.conf in pr2.
To check how many devices are bound to rfcomm, use rfcomm command.