How to Pick and Place with ROS using 2D Camera to detect the position of the object with OpenCV

  Рет қаралды 2,330

Learn robotics with ROS

Learn robotics with ROS

Күн бұрын

Пікірлер: 13
@sarahchen8692
@sarahchen8692 6 күн бұрын
Hello, I have a problem: While I am running the first command line "roslaunch cobot_sim spawn_robot_2Dcamera_traj_controller_world.launch", it opened the gazebo scene but the rviz can not load to open the robot moveit.rviz, how can I fix it? Thank you.
@learn-robotics-with-ros
@learn-robotics-with-ros 6 күн бұрын
@@sarahchen8692 you just need to press play in Gazebo. Let me know if it works
@sarahchen8692
@sarahchen8692 3 күн бұрын
Yes,it works well. 😊But one more problem: The stream_camera.py works well to detect the object from red mask, but while running “python get_position_server.py” it can not detect anything and have the issue as “Error processing request: ‘ObjectDetection’ object has no attribute ‘x_pos’. 😮
@learn-robotics-with-ros
@learn-robotics-with-ros 3 күн бұрын
@sarahchen8692 have you tried to move the object in Gazebo a little bit? If you run the python code, does it detect the object?
@sarahchen8692
@sarahchen8692 2 күн бұрын
@@learn-robotics-with-ros Yes, I moved the object but it can not detect the item with "get_position_server.py”, but the “stream_camera.py” works well. My cv2 version is 4.10.0. So how can I change the code to make it work? Thank you😃
@learn-robotics-with-ros
@learn-robotics-with-ros 2 күн бұрын
@@sarahchen8692 before to run the server, you would need to make sure that the object is detected. I have used a mask based on the color, so have you tried to change the HSV lower and upper limit threshold?
@hekate1080
@hekate1080 8 ай бұрын
Thank you for such high value content!!
How to use a 2D camera in ROS and simulate in Gazebo
22:03
Learn robotics with ROS
Рет қаралды 1,2 М.
Solving the problem EVERY robot has (with ros2_control)
24:36
Articulated Robotics
Рет қаралды 97 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,2 МЛН
New building editor in Gazebo
4:33
Gazebo Sim
Рет қаралды 13 М.
Universal Robot with ROS - How UR5 package is made and program inverse kinematics
27:51
How do we add LIDAR to a ROS robot?
22:45
Articulated Robotics
Рет қаралды 163 М.
Something is wrong with ISPs in India 🇮🇳
13:17
Mehul - Codedamn
Рет қаралды 86 М.
Using AI To Detect AI Music (and other music industry data-porn)
19:42
OpenCV Basics for Robotics with ROS - How to track object position
47:36
Learn robotics with ROS
Рет қаралды 1,5 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.