Closed jonipol closed 1 year ago
this looks like a regression of ros2cli in humble and later. It applies also to other verbs like "ros2 topic"
with the foxy docker image (or galactic):
root@c81da55b7f47:/# source /opt/ros/foxy/setup.bash
root@c81da55b7f47:/# ros2 topic echo <TAB><TAB>
--csv --no-arr --qos-depth --qos-history --qos-reliability -f /parameter_events
--full-length --no-str --qos-durability --qos-profile --truncate-length -l /rosout
with ros:humble (or iron / rolling):
^Cot@795d4942f348:/# ros2 topic echo ^C
hangs forever and nee to ctrl+C two times
I'd be curious to know if this fails natively as well. Pinging ros2cli maintainers to see if this is a known issue and if this issue should be move there instead: @gbiggs @audrow
@jonipol Corresponding tickets and PR are in progress on the upstream repository: https://github.com/ros2/ros2cli/issues/851 https://github.com/ros2/ros2cli/pull/852
I recommend you to subscribe / watch those and check if they solve the issue for you. Once they are released they will automatically make it into the docker images in the following weeks
I have been migrating our code base to Humble and I am using a
ros:humble
image as the base. Quite often the autocomplete freezes completely. This happens on both fastrtps and cyclonedds.I was not able to reproduce this on local installation of humble-core. So it only happens inside the container.
Steps to reproduce
In the log below you can see that the autocomplete works well when looking for options for
ros2 action
but then freezes if trying to tab when send_goal has been added to the command. Only after pressing "ctrl + c" the command line becomes responsive again.Expected output for the completion would be in this case a list of available actions or
-
.