# webots_ros **Repository Path**: tinymal/webots_rosw ## Basic Information - **Project Name**: webots_ros - **Description**: RoboButler Webots下的中间件,实现图像共享内存采集 - **Primary Language**: C++ - **License**: BSD-2-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2024-04-06 - **Last Updated**: 2024-08-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # webots_ros #### 介绍 RoboButler Webots下的中间件,实现图像共享内存采集,提供了一个USB相机采集的节点方便实现不同相机数量的采集
sudo apt-get install libv4l-dev
sudo apt-get install v4l-utils
sudo apt-get install smplayer

仿真测试:
roslaunch webots_ros webots_ros_sim.launch
实物测试:
启动3个相机:
roslaunch usb_cam usb_cam_all.launch
启动采集机器人数据:
roslaunch webots_ros webots_ros_real.launch
录制数据:
robot_record_episodes.py
播放验证:
robot_replay_episodes.py --id 5