This project implemented object detected with RealSense camera with RRT trajectory plan algorithm, simulated in MATLAB environment. This project is done during UBC project course EECE597. Thanks for the supervision of Dr. Maryam Kamgarpour and Dr. Mahdi Yousefi.
There are three main parts for this project: trajectory plan algorithm, obstacle dection with RGBD image processing, and integration of the detected obstacle to trajectory plan.
The final report is here.
Further instruction on UBC report template is here.
- ROS Toolbox
- Clone the whole repo to local dir
- Nevigate to folder
PathPlanRRT
in MATLAB. This can be done by opening one of the matlab scripts here, for exmaplepathPlan_main.m
- Type this command in command window: run("pathPlan_main.m")
- Add any path needed to be included
- Nevigate to folder
ObjectDetection
in MATLAB. This can be done by opening one of the matlab scripts here, for exmaplevideoProcess_main.m
- Type this command in command window: run("videoProcess_main.m")
- Add any path needed to be included
- Note: default path to the pre-saved Intel RealSense video is
EECE597/Videos/
, please change them accordingly invideoProcess_main.m
- Nevigate to folder
Integrate
in MATLAB. This can be done by opening one of the matlab scripts here, for exampleintegrate_main.m
- Type this command in command window: run("integrate_main.m")
- Add any path needed to be included
- Note: to run the integrated result, user has to process the recorded video first with run("videoProcess_main.m") in folder
ObjectDetection
Acutal path
Another Example