Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 49

Error on import ros packages

$
0
0
I`m trying to write a ros module in python, but I'm facing this issue below: import: not authorized `rospy' @ error/constitute.c/WriteImage/1028. from: can't read /var/mail/sensor_msgs.msg from: can't read /var/mail/tf2_msgs.msg from: can't read /var/mail/geometry_msgs.msg from: can't read /var/mail/cv_bridge Is there any configuration wrong in CmkaList.txt or package.xml? Am I missing any file for cmake compile correctly python code? EDIT #1: Added code #!/usr/bin/env python import rospy from sensor_msgs.msg import Image,CameraInfo from tf2_msgs.msg import TFMessage from geometry_msgs.msg import TransformStamped from cv_bridge import CvBridge import airsim import cv2 import numpy as np here

Viewing all articles
Browse latest Browse all 49

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>