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

Fix edgevectors and pixyvectors errors #1

Open
wants to merge 2 commits into
base: b3rb_ros_line_follower
Choose a base branch
from

Conversation

CloudedQuartz
Copy link

this fixes synapse_ros build errors with pixyvector support and edgevectors runtime errors as described in commit 25d550e

CloudedQuartz and others added 2 commits July 17, 2024 22:24
- edgevectors is not exported without the messages header file
- This fixes the following error:

Traceback (most recent call last):
  File "/home/cloudedquartz/cognipilot/cranium/install/b3rb_ros_line_follower/lib/b3rb_ros_line_follower/vectors", line 33, in <module>
    sys.exit(load_entry_point('b3rb-ros-line-follower==0.0.0', 'console_scripts', 'vectors')())
  File "/home/cloudedquartz/cognipilot/cranium/install/b3rb_ros_line_follower/lib/b3rb_ros_line_follower/vectors", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/cloudedquartz/cognipilot/cranium/install/b3rb_ros_line_follower/lib/python3.10/site-packages/b3rb_ros_line_follower/b3rb_ros_edge_vectors.py", line 30, in <module>
    from synapse_msgs.msg import EdgeVectors
ImportError: cannot import name 'EdgeVectors' from 'synapse_msgs.msg' (/home/cloudedquartz/cognipilot/cranium/install/synapse_msgs/local/lib/python3.10/dist-packages/synapse_msgs/msg/__init__.py)

Signed-off-by: Ayan Pande <[email protected]>
Signed-off-by: Ayan Pande <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants