Hi, when i run
python change_camera_info.py /home/jinye/lidar_image.bag /home/jinye/new.bag /sensors/camera/camera_info=/home/jinye/20200716_1306_autoware_camera_calibration.yaml
i got error
Traceback (most recent call last):
File "change_camera_info.py", line 35, in
import roslib; roslib.load_manifest(PKG)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
sys.path = _generate_python_path(package_name, _rospack) + sys.path
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/launcher.py", line 93, in _generate_python_path
m = rospack.get_manifest(pkg)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 171, in get_manifest
return self._load_manifest(name)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 215, in _load_manifest
retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name, rospack=self)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 207, in get_path
raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound: bag_tools
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/opt/ros/kinetic/share
another question is how does bag_tools work for create a new rosbag? i didn't see you use it or i didn't notice it.
best.
Hi, when i run
import roslib; roslib.load_manifest(PKG)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
sys.path = _generate_python_path(package_name, _rospack) + sys.path
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/launcher.py", line 93, in _generate_python_path
m = rospack.get_manifest(pkg)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 171, in get_manifest
return self._load_manifest(name)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 215, in _load_manifest
retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name, rospack=self)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 207, in get_path
raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound: bag_tools
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/opt/ros/kinetic/share
python change_camera_info.py /home/jinye/lidar_image.bag /home/jinye/new.bag /sensors/camera/camera_info=/home/jinye/20200716_1306_autoware_camera_calibration.yaml
i got error Traceback (most recent call last): File "change_camera_info.py", line 35, inanother question is how does bag_tools work for create a new rosbag? i didn't see you use it or i didn't notice it. best.