This is the visual display component to the Rafiki front bumper subsystem
+ How To Add This Control To Your Project (Click to Expand)
- Make sure you have the latest version of ARC installed.
- Select the Get button in this page to download the archive file.
- Double click the downloaded archive file to execute installer.
- The installer will add this control to ARC.
- Load ARC and press the Project -> Add Control button from the menu.
- Choose the Rafiki category tab.
- Press the Rafiki Front Bumber icon to add the control to your project.
THIS IS IN BETA
This is the front bumper sensor plugin for Rafiki from Cochran Robotics. A Cochran Robotics subcontroller for a parking sensor must be used with this control, which is part of Rafiki.
4 different proximity sensors are on the front of the Rafiki (left, left front, right front and right). This plugin convert the information provided from these sensors into variables in ARC. If the object is close to a particular direction, the motor controller will not allow the robot to move or turn in that direction. ARC is connected to the bumper subsystem controller via serial. This sensor is also used in the SLAM module along with the LIDAR sensor and drop off sensors.
A serial command of "Q0" will return the name of the sensor. There will be another plugin that you will be able to use to identify all of the Rafiki subsystem controller boards. For now, you will have to identify this controller and specify the name of the COM port in the config section of this plugin. The user can identify which port is used for the front bumper by sending a Q0 serial command to the controller com port which needs to be set to 9600, N, 8, 1 which is the default configuration in Windows. This can be done via an Arduino serial monitor or via the Serial Terminal (PC) control in the General list of controls.
This plugin will update 4 variables. You can use these values to then do things withing ARC. They are are called
The values will be either
The Drive Motor controller is hard wired to this controller. If an object is close to Rafiki, the drive motor controller will refuse commands sent to it to turn or move toward that direction. The Drive motor controller is also tied into the drop-off sensor motor controller. If a drop-off is detected by any of the front 3 sensors, Rafiki's drive motor controller will refuse commands to move forward. The same goes with the back drop-off sensors. Each of these subsystems runs off of its own 16 mhz controller, which is responsible for monitoring specifically one system. This allows any drop offs or objects that are close to be monitored at the same time. By having these connections to the motor controller we are able to stop Rafiki and then alert that there was an issue. This allows much faster and more reliable response than sending a command to ARC. and then having ARC send a command to the motor controller to stop. Also, it is possible for ARC to miss a piece of information . In this event, this missed piece of information could cause damage to someone or to Rafiki itself.
You will run this plugin via a script. Here is an example script
ControlCommand("Rafiki Front Bumber", Start)