Skip to content

Andy-Leo10/robot_ur3e_perception

Repository files navigation

robot_ur3e_perception

git clone https://github.com/Andy-Leo10/robot_ur3e_perception.git

Setup and download libraries

Install libraries

move to pkg path and use:

python3 -m venv venv
cd /home/user/ros2_ws/src/coffee-dispenser-project/robot_ur3e_perception; source venv/bin/activate
pip install -r requirements.txt

SIMULATED ROBOT

For searching a coffee space - SIM

Launch YoloV5 & TF

export PYTHONPATH=$PYTHONPATH:/home/user/ros2_ws/src/coffee-dispenser-project/robot_ur3e_perception/venv/lib/python3.10/site-packages/
cd /home/user/ros2_ws/src/coffee-dispenser-project/robot_ur3e_perception; source venv/bin/activate
cd ~/ros2_ws/ ;colcon build --packages-select robot_ur3e_perception --symlink-install; source install/setup.bash; ros2 launch robot_ur3e_perception alt_yolov5_tf.launch.py

Launch Digital-Image-Processing & TF

cd ~/ros2_ws/ ;colcon build --packages-select robot_ur3e_perception --symlink-install; source install/setup.bash; ros2 launch robot_ur3e_perception sim_dip_tf.launch.py

Take pictures

cd ~/ros2_ws/ ;colcon build --packages-select robot_ur3e_perception --symlink-install; source install/setup.bash; ros2 launch robot_ur3e_perception real_snapshot.launch.py

Launch Digital-Image-Processing & TF & Marker

cd ~/ros2_ws/ ;colcon build --packages-select robot_ur3e_perception --symlink-install; source install/setup.bash; ros2 launch robot_ur3e_perception sim_dip_tf_marker.launch.py

If ran separately

Run Digital-Image-Processing

cd ~/ros2_ws/ ;colcon build --packages-select robot_ur3e_perception --symlink-install; source install/setup.bash; ros2 run robot_ur3e_perception sim_dip

Run Transform

cd ~/ros2_ws/ ;colcon build --packages-select robot_ur3e_perception --symlink-install; source install/setup.bash; ros2 run robot_ur3e_perception sim_transform

Run Marker

cd ~/ros2_ws/ ;colcon build --packages-select robot_ur3e_perception --symlink-install; source install/setup.bash; ros2 run robot_ur3e_perception sim_marker

REAL ROBOT

For searching a coffee space - REAL

Launch YoloV5 & TF

export PYTHONPATH=$PYTHONPATH:/home/user/ros2_ws/src/coffee-dispenser-project/robot_ur3e_perception/venv/lib/python3.10/site-packages/
cd /home/user/ros2_ws/src/coffee-dispenser-project/robot_ur3e_perception; source venv/bin/activate
cd ~/ros2_ws/ ;colcon build --packages-select robot_ur3e_perception --symlink-install; source install/setup.bash; ros2 launch robot_ur3e_perception real_yolov5_tf.launch.py

Optionally

ros2 param set /D415/D415 pointcloud.enable true

Take pictures

cd ~/ros2_ws/ ;colcon build --packages-select robot_ur3e_perception --symlink-install; source install/setup.bash; ros2 launch robot_ur3e_perception real_snapshot.launch.py

Resources

Resources

Depth Camera Information:

Virtual environments:

Parameters for camera:


Releases

No releases published

Packages

No packages published

Languages