git clone https://github.com/FlagOpen/RoboDriver.gitMake sure you are in the robodriver conda env.
确保你已经进入 robodriver 的 conda 环境:
conda create -n robodriver python=3.10
conda activate robodriver
pip install -e .conda activate robodriverMake sure ROS1 (e.g. noetic) is installed and sourced.
确保已经安装并正确配置 ROS1(例如 noetic):
source /opt/ros/noetic/setup.bash如果你的 ROS 发行版不是
noetic,请根据实际安装路径进行修改。
In this repository directory:
在本仓库目录中运行:
cd /path/to/your/RoboDriver/robodriver/robots/robodriver-robot-realman-aio-ros1
python -m robodriver_robot_realman_aio_ros1.ros1_zmq_bridgeIn your RoboDriver project directory:
在你的 RoboDriver 工程目录中:
cd /path/to/your/RoboDriver
conda activate robodriver
python robodriver/scripts/run.py --robot.type=realman_aio_ros1-
Make sure the ROS1 bridge (
ros1_zmq_bridge.py) is running before starting RoboDriver.
启动 RoboDriver 前,请确保 ROS1 → ZMQ 桥接脚本已经在运行。 -
If you encounter OpenCV
cvShowImagerelated errors when launching RoboXStudio,
you can comment outcv2.imshow/cv2.waitKeyinrobodriver/scripts/run.py.
如果在启动 RoboXStudio 时遇到 OpenCVcvShowImage的报错,可以在
robodriver/scripts/run.py中注释掉cv2.imshow和cv2.waitKey调用。