Run Robotiq to control the driver node and report an error
rosrun robotiq_2f_gripper_control Robotiq2FGripperRtuNode.py /dev/ttyUSB0
IOError: [Errno 13 ] Permission denied: ' /home/zn/.ros/log/robotiq2FGripper.log '
Solution:
This problem is caused by the permissions of the ros file in this path.
Enter the following command to modify permissions:
sudo chmod 777 -R ~/.ros/
After the modification is completed, enter roscore again and it will be ok
/home/zn/robotiq_ws/src/robotiq/robotiq_2f_gripper_control/nodes/Robotiq2FGripperRtuNode.py: 65 : SyntaxWarning: The publisher should be created with an explicit keyword argument ' queue_size ' . Please see http: // wiki.ros.org/rospy /Overview/Publishers%20and%20Subscribers for more information.pub = rospy.Publisher( ' Robotiq2FGripperRobotInput ' , inputMsg.Robotiq2FGripper_robot_input)
Similar Posts:
- [Solved] su: warning: cannot change directory to : Permission denied ;-bash: bash_profile: Permission denied
- Samba windows 10 share: mount error(112): Host is down [How to Solve]
- Jupyter notebook new Python3 Error: Permission denied: Untitled.ipynb,Modify workspace
- [record a problem] Linux + opencv + cuvid decodes 1080p video. When using CUDA kernel function, it will crash
- Solve the problem of ADB: command not found on MAC
- selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document
- [Warning] TIMESTAMP with implicit DEFAULT value is deprecated.
- Python solves the problem of modulenotfounderror: no module named ‘queue’
- CentOS7 MYSQL Connect Error: [ERROR] InnoDB: The innodb_system data file ‘ibdata1’ must be writable
- Product not scheduled in sales organization XXX,distribution channel