go to ./PI/TLS_server command to start server :
./tls-alex-server
go to ./PI/TLS_server run this command to compile:
g++ tls-alex-server.cpp tls_server_lib.cpp tls_pthread.cpp make_tls_server.cpp tls_common_lib.cpp serial.cpp serialize.cpp -pthread -lssl -lcrypto -o tls-alex-server
go to ./Laptop/TLS_client command to start client :
./tls-alex-client
go to ./Laptop/TLS_client run this command to compile:
g++ tls-alex-client.cpp make_tls_client.cpp tls_client_lib.cpp tls_pthread.cpp tls_common_lib.cpp -pthread -lssl -lcrypto -o tls-alex-client
steps to start the lidar
- start roscore on Raspberry Pi
- run command on Raspberry Pi
source PI/PI_slam/devel/setup.bash roslaunch rplidar_ros rplidar.launch
- run command on own laptop
**Changes were made to files inside the Laptop/Laptop_slam/src/rplidar_ros/launch folder
source Laptop/Laptop_slam/devel/setup.bash roslaunch rplidar_ros view_hectorSlam.launch
- Under own laptop
add the following line to .bashrc
export ROS_MASTER_URI=http://172.20.10.10:11311/
- In Raspberry Pi
add the following line to .bashrc
export ROS_MASTER_URI=http://lcoalhost:11311/
On Raspberry Pi, run the following lines
- Turn off HDMI:
/usr/bin/tvservice -o