You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~/catkin_ws$ roslaunch champ_setup_assistant setup_assistant.launch
... logging to /home/user/.ros/log/e8c9ff6a-b90d-11ed-9fec-b5b3893dba3e/roslaunch-myPC.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://myPC:32999/
SUMMARY
========
PARAMETERS
* /rosdistro: noetic
* /rosversion: 1.15.15
NODES
/
champ_setup_assistant (champ_setup_assistant/setup_assistant.py)
auto-starting new master
process[master]: started with pid [582802]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to e8c9ff6a-b90d-11ed-9fec-b5b3893dba3e
process[rosout-1]: started with pid [582823]
started core service [/rosout]
process[champ_setup_assistant-2]: started with pid [582826]
Traceback (most recent call last):
File "/home/user/catkin_ws/src/champ_setup_assistant/scripts/setup_assistant.py", line 79, in <module>
sa = SetupAssistant()
File "/home/user/catkin_ws/src/champ_setup_assistant/scripts/setup_assistant.py", line 54, in __init__
self.robot_viz = RvizWidget(self)
File "/home/user/catkin_ws/src/champ_setup_assistant/scripts/rviz_widget.py", line 57, in __init__
self.frame = rviz.VisualizationFrame()
AttributeError: module 'rviz' has no attribute 'VisualizationFrame'
The fix is to replace import rviz
with from rviz import bindings as rviz
in the file champ_setup_assistant/scripts/setup_assistant.py
The text was updated successfully, but these errors were encountered:
~/catkin_ws$ roslaunch champ_setup_assistant setup_assistant.launch
... logging to /home/user/.ros/log/e8c9ff6a-b90d-11ed-9fec-b5b3893dba3e/roslaunch-myPC.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://myPC:32999/
SUMMARY
========
PARAMETERS
* /rosdistro: noetic
* /rosversion: 1.15.15
NODES
/
champ_setup_assistant (champ_setup_assistant/setup_assistant.py)
auto-starting new master
process[master]: started with pid [582802]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to e8c9ff6a-b90d-11ed-9fec-b5b3893dba3e
process[rosout-1]: started with pid [582823]
started core service [/rosout]
process[champ_setup_assistant-2]: started with pid [582826]
Traceback (most recent call last):
File "/home/user/catkin_ws/src/champ_setup_assistant/scripts/setup_assistant.py", line 79, in <module>
sa = SetupAssistant()
File "/home/user/catkin_ws/src/champ_setup_assistant/scripts/setup_assistant.py", line 54, in __init__
self.robot_viz = RvizWidget(self)
File "/home/user/catkin_ws/src/champ_setup_assistant/scripts/rviz_widget.py", line 57, in __init__
self.frame = rviz.VisualizationFrame()
AttributeError: module 'rviz' has no attribute 'VisualizationFrame'
The fix is to replace import rviz with from rviz import bindings as rviz
in the file champ_setup_assistant/scripts/setup_assistant.py
It should be champ_setup_assistant/scripts/rviz_widget.py
The fix is to replace
import rviz
with
from rviz import bindings as rviz
in the file
champ_setup_assistant/scripts/setup_assistant.py
The text was updated successfully, but these errors were encountered: