We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ros2model
Describe the bug ros2model fails to run on Humble due to using legacy ROS 1 script rosversion
rosversion
** Step and tutorial** Tutorial link: https://ipa320.github.io/RosTooling.github.io/docu/ros2model.html Step: ros2 model node -o turtlesim/nodes
ros2 model node -o turtlesim/nodes
Screenshots
~/eclipse-workspace/ros2/ws$ ros2 model node -o turtlesim/nodes parse: node_name=get_/turtlesim1/turtlesim_info topic name: /turtlesim1/turtle1/color_sensor topic name again: /turtle1/color_sensor get interface verbose: namespace='/turtlesim1' name='turtle1/color_sensor' qos=QualityOfService(history='UNKNOWN', reliability='RELIABLE', durability='VOLATILE', lifespan=None, deadline=9223372036854775807, liveliness='AUTOMATIC', liveliness_lease_duration=9223372036854775807) type='turtlesim/msg/Color' full_name='/turtlesim1/turtle1/color_sensor' topic name: /turtlesim1/turtle1/pose topic name again: /turtle1/pose get interface verbose: namespace='/turtlesim1' name='turtle1/pose' qos=QualityOfService(history='UNKNOWN', reliability='RELIABLE', durability='VOLATILE', lifespan=None, deadline=9223372036854775807, liveliness='AUTOMATIC', liveliness_lease_duration=9223372036854775807) type='turtlesim/msg/Pose' full_name='/turtlesim1/turtle1/pose' /parameter_events /turtlesim1/turtle1/cmd_vel topic name again: /turtle1/cmd_vel get interface verbose: namespace='/turtlesim1' name='turtle1/cmd_vel' qos=QualityOfService(history='UNKNOWN', reliability='RELIABLE', durability='VOLATILE', lifespan=None, deadline=9223372036854775807, liveliness='AUTOMATIC', liveliness_lease_duration=9223372036854775807) type='geometry_msgs/msg/Twist' full_name='/turtlesim1/turtle1/cmd_vel' parse_interface: interface_name: clear parse_interface: interface_name: kill parse_interface: interface_name: reset parse_interface: interface_name: spawn parse_interface: interface_name: turtle1/set_pen parse_interface: interface_name: turtle1/teleport_absolute parse_interface: interface_name: turtle1/teleport_relative parse_interface: interface_name: turtle1/rotate_absolute Traceback (most recent call last): File "/opt/ros/humble/bin/ros2", line 33, in <module> sys.exit(load_entry_point('ros2cli==0.18.9', 'console_scripts', 'ros2')()) File "/opt/ros/humble/lib/python3.10/site-packages/ros2cli/cli.py", line 91, in main rc = extension.main(parser=parser, args=args) File "/home/lukajuricic/eclipse-workspace/ros2/ws/install/ros2model/lib/python3.10/site-packages/ros2model/command/model.py", line 41, in main return extension.main(args=args) File "/home/lukajuricic/eclipse-workspace/ros2/ws/install/ros2model/lib/python3.10/site-packages/ros2model/verb/runtime_node.py", line 58, in main node_instance = RuntimeParser.parse( File "/home/lukajuricic/eclipse-workspace/ros2/ws/install/ros2model/lib/python3.10/site-packages/ros2model/api/runtime_parser/rosmodel_runtime_parser.py", line 353, in parse parsed_node.get_parameters(node) File "/home/lukajuricic/eclipse-workspace/ros2/ws/install/ros2model/lib/python3.10/site-packages/ros2model/api/runtime_parser/rosmodel_runtime_parser.py", line 257, in get_parameters new_proc = subprocess.Popen(["rosversion", "-d"], stdout=subprocess.PIPE) File "/usr/lib/python3.10/subprocess.py", line 971, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'rosversion'
Desktop (please complete the following information):
Additional context Side note: pydantic dependency version must be >= 2.0.3, see https://stackoverflow.com/questions/77172420/importerror-cannot-import-name-field-validator-from-pydantic
pydantic
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
ros2model
fails to run on Humble due to using legacy ROS 1 scriptrosversion
** Step and tutorial**
Tutorial link: https://ipa320.github.io/RosTooling.github.io/docu/ros2model.html
Step:
ros2 model node -o turtlesim/nodes
Screenshots
Desktop (please complete the following information):
Additional context
Side note:
pydantic
dependency version must be >= 2.0.3, see https://stackoverflow.com/questions/77172420/importerror-cannot-import-name-field-validator-from-pydanticThe text was updated successfully, but these errors were encountered: