Overview of MyroC Processing with Bluetooth
When controlling robots with MyroC and a C program, processing
generally follows these steps:
- The C program is compiled and run on a workstation (e.g..,
desktop or laptop)
- The C program makes a Bluetooth connection to a robot
- Commands are sent from the workstation to the robot
- The commands are interpreted and executed by the robot
- The robot may send information back to the workstation,
according to the command.
Bluetooth Notes
The Scribbler 2 robot and MyroC follow a relatively simple
communication approach, following a standard Bluetooth protocol.
- Each robot (actually the Fluke plugged into the robot) has a
Media Access Control (MAC) address, usually given in hexadecimal
notation, such as "00:1E:19:01:09:50"
- The robot runs Bluetooth, waiting for a workstation's request to connect
- Once a connection is established
- The workstation and robot exchange messages
- The format of each message is carefully defined within the
robot's design.
- MyroC provides a collection of library functions that
translate logical robot activities into proper messages
following the robot's protocol.
Using the MAC address works well, but can be cumbersome.
- Every Bluetooth device has a MAC address
- If a device allows separate cards for different Bluetooth
communications, each card will have its own MAC address.
- MAC addresses unintuitive and hard to remember
- MyroC for Linux, Mac OS X, and Windows 10 have different
approaches to help simplify the connection process.
created 25 January 2021
last revised 25 January 2021
|
|
|
previous next
|