You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ankit Bhatia edited this page Jan 6, 2016
·
4 revisions
Device discovery setup (UDEV rules)
When a USB serial port device is connected to Ubuntu, it assigns it a device name in the /dev directory. In order to create symbolic links to these arbitrarily named devices (/dev/ttyUSB* or /dev/ttyACM*) we can use the following udev rules.
Using your favorite editor open the following file:
Restart the sensor nodes for rediscovering the attached devices.
.bashrc setup:
For convenience, the code uses some environmental variables set up in the bash-rc file for easy configuration. If not added already, add the following lines to the end of the .bashrc file:
Examples of are satellite1, satellite2, satellite3, et cetera. This is useful for the server to distinguish between data from different sensor streams.