Professional Documents
Culture Documents
Software Implementation of The System
Software Implementation of The System
START
Run
Driver.lunch
NO
Check
Arduino
Connection
YES
Run
Twist.lunch
NO
Check Rplidar
Connection
YES
Start to Go
Target Goal
STOP
.
Figure 4.1. Overall Flowchart of the Proposed System
32
START
Check
arduino
Connection
NO
YES
State Arduino
END
Start
Check
Rplidar
Connection
NO
YES
Start motor
Send laser Calculate and scans
Open Rviz data for Localization Encoder
and Wait to Gmapping for Robot Data
Calculate
get Target Path for
Target
Goal
Calculate
for PID
Tuning
NO Check Public
target Robot
goal
Location
YES
Public Goal
Reach
Stop
C++, Python and XML code for ROS are written by using a test editor Sub-
lime text and compile and run with ROS command “rosrun’ and “roslaunch”.
Since the ADC is 10-bit, special header file has been provided with the code.
Arduino’s microcontroller reads all three axes data from the accelerometer and stores
in the EEPROM. It also stores the default threshold value of 25 in the EEPROM.