Skip to content

llechee/ROS-videonode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

首先更改:~/video_ws/build里的 CMakeCache.txt和Makefile
将路径名字修改为你自己的。vi下批量替换命令为 :%s/a/b/g (意思是把a换成b)
修改之后 回到工作空间, 执行
rosdep install --from-paths src --ignore-src --rosdistro=noetic -y
随后catkin_make

第一种方法:
roslaunch usb_cam usb_cam-test.launch  (不需要运行roscore)
第二种方法:
rosrun usb_cam img_publisher #put vedio
rosrun usb_cam img_viewer    #get video

网络流:
(需要配置一个文件)
1. roscd web_video_server
2. sudo mkdir launch
3. cp ~/video_ws/web_video.launch /opt/ros/noetic/share/web_video_server/launch
(根据自己路径改变)
roslaunch web_video_server web_video.launch


待补充

# new 新方式
```
# 适用于ros noetic  环境 : Ubuntu20.04
sudo apt install ros-noetic-cv-camera

# 
rosparam set cv_camera/device_id 0

# 
rosrun cv_camera cv_camera_node

#
rosrun web_video_server web_video_server
```
# 待补充

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published