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

[Question] Just use visualization #50

Open
CesMak opened this issue May 1, 2019 · 0 comments
Open

[Question] Just use visualization #50

CesMak opened this issue May 1, 2019 · 0 comments

Comments

@CesMak
Copy link

CesMak commented May 1, 2019

Hey,

I just want to use the nice visualization nodes you have here. I already have a published topic /imu in my ros what should I do to just use your visualization?

I thought I have to simply launch:
roslaunch razor_imu_9dof razor-display.launch

But I got this error:


process[display_3D_visualization_node-2]: started with pid [30306]
Traceback (most recent call last):
  File "/opt/ros/kinetic/share/razor_imu_9dof/nodes/display_3D_visualization.py", line 31, in <module>
    from visual import *
  File "/usr/lib/python2.7/dist-packages/visual/__init__.py", line 66, in <module>
    from visual.ui import display
  File "/usr/lib/python2.7/dist-packages/visual/ui.py", line 3, in <module>
    import materials
  File "/usr/lib/python2.7/dist-packages/visual/materials.py", line 152, in <module>
    tx_turb3 = raw_texture( data=reshape(data,(64,64,64,3)), interpolate=True, mipmap=False )
  File "/usr/lib/python2.7/dist-packages/visual/materials.py", line 70, in __init__
    self.__setattr__(key, value)
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
[display_3D_visualization_node-2] process has died [pid 30306, exit code 1, cmd /opt/ros/kinetic/share/razor_imu_9dof/nodes/display_3D_visualization.py __name:=display_3D_visualization_node __log:=/home/markus/.ros/log/0503e28e-6c0c-11e9-8e23-48d2244c225b/display_3D_visualization_node-2.log].
log file: /home/markus/.ros/log/0503e28e-6c0c-11e9-8e23-48d2244c225b/display_3D_visualization_node-2*.log





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

1 participant