Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error about roslaunch semantic_mapping.launch #28

Open
pugna111 opened this issue Aug 31, 2020 · 3 comments
Open

error about roslaunch semantic_mapping.launch #28

pugna111 opened this issue Aug 31, 2020 · 3 comments

Comments

@pugna111
Copy link

after roslaunch semantic_mapping.launch,the error imformation show in the terminal:
[ERROR] [1598838171.042500]: bad callback: <bound method Subscriber.callback of <message_filters.Subscriber object at 0x7f8d2e0fe790>> Traceback (most recent call last): File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback cb(msg) File "/opt/ros/kinetic/lib/python2.7/dist-packages/message_filters/__init__.py", line 75, in callback self.signalMessage(msg) File "/opt/ros/kinetic/lib/python2.7/dist-packages/message_filters/__init__.py", line 57, in signalMessage cb(*(msg + args)) File "/opt/ros/kinetic/lib/python2.7/dist-packages/message_filters/__init__.py", line 291, in add self.signalMessage(*msgs) File "/opt/ros/kinetic/lib/python2.7/dist-packages/message_filters/__init__.py", line 57, in signalMessage cb(*(msg + args)) File "/home/titan/semantic_slam_ws/src/semantic_slam/semantic_cloud/src/semantic_cloud.py", line 210, in color_depth_callback cloud_ros = self.cloud_generator.generate_cloud_semantic_max(color_img, depth_img, semantic_color, pred_confidence, color_img_ros.header.stamp) File "/home/titan/semantic_slam_ws/src/semantic_slam/semantic_cloud/include/color_pcl_generator/color_pcl_generator.py", line 148, in generate_cloud_semantic_max self.generate_cloud_data_common(bgr_img, depth_img) File "/home/titan/semantic_slam_ws/src/semantic_slam/semantic_cloud/include/color_pcl_generator/color_pcl_generator.py", line 124, in generate_cloud_data_common self.bgr0_vect[:,0:1] = bgr_img[:,:,0].reshape(-1,1) ValueError: could not broadcast input array from shape (921600,1) into shape (307200,1)
I'm using zed stereo camera,and I have changed color_image_topic and depth_image_topic in semantic_cloud.yaml,On the other hand using own zed.yaml in ORBSLAM instead of xtion.yaml. cloud you give me some advices? thank you~

@codieboomboom
Copy link

Hi, what is the resolution of image from your camera?

@frankSARU
Copy link

Hi there, I meet the same problem now and I'm using intel D435i camera. I never meet this error before, have you resolve your problem?

@Gary-zyt
Copy link

Hi, I also meet the same problem now ,but I don't know how to correct errors, some people say maybe my numpy is too high ,but I try to reduced version, the problem remains .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants