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

Autocompletion for message contents still broken in humble? #793

Open
Matthias199 opened this issue Jan 26, 2023 · 7 comments
Open

Autocompletion for message contents still broken in humble? #793

Matthias199 opened this issue Jan 26, 2023 · 7 comments
Labels
help wanted Extra attention is needed more-information-needed Further information is required

Comments

@Matthias199
Copy link

Same issue as here!
#563

Ubuntu 22.04.1 LTS and ros humble fresh installed ...

@fujitatomoya
Copy link
Collaborator

works for me, can you share more details that reproduce this issue?

root@tomoyafujita:~# dpkg -l | grep ros-humble-ros2cli
ii  ros-humble-ros2cli                                0.18.4-1jammy.20221207.031440           amd64        Framework for ROS 2 command line tools.
ii  ros-humble-ros2cli-common-extensions              0.1.1-4jammy.20221207.042253            amd64        Meta package for ros2cli common extensions

root@tomoyafujita:~# ros2 topic pub /cli_demo geometry_msgs/msg/Pose "po<tab>
  x: 0.0
  y: 0.0
  z: 0.0
orientation:
  x: 0.0
  y: 0.0
  z: 0.0

@fujitatomoya fujitatomoya added help wanted Extra attention is needed more-information-needed Further information is required labels Jan 26, 2023
@fujitatomoya
Copy link
Collaborator

#570 has been merged and released in humble release.

@Matthias199
Copy link
Author

Ahh i get if I had to add not only the " also the first letter in the message like "p in your example, yeah this way it works ... but feels a bit inconvenience. In ros1 is uses this feature also if I did not no nothing about the message to get information about it. Now i have o sure know how the message start

@fujitatomoya
Copy link
Collaborator

Ah, right. agree, even rolling does the following...

root@tomoyafujita:~/ros2_ws/colcon_ws# ros2 topic pub /cli_demo geometry_msgs/msg/Pose <tab..>
-1
--keep-alive
-n
--node-name
--once
-p
position:\^J\ \ x:\ 0.0\^J\ \ y:\ 0.0\^J\ \ z:\ 0.0\^Jorientation:\^J\ \ x:\ 0.0\^J\ \ y:\ 0.0\^J\ \ z:\ 0.0\^J\ \ w:\ 1.0\
--print
--qos-depth
--qos-durability
--qos-history
--qos-liveliness
--qos-liveliness-lease-duration-seconds
--qos-profile
--qos-reliability
-r
--rate
-s
--spin-time
-t
--times
--use-sim-time
-w
--wait-matching-subscriptions

position:\^J\ \ x:\ 0.0\^J\ \ y:\ 0.0\^J\ \ z:\ 0.0\^Jorientation:\^J\ \ x:\ 0.0\^J\ \ y:\ 0.0\^J\ \ z:\ 0.0\^J\ \ w:\ 1.0\ can be listed as suggestion with any other possible options. it is not really beautiful suggested option list, i think. that is what you mean?

@tomkimsour
Copy link

I think this at least deserve a small section in ros documentation. And i don't think it has been fixed yet.

@fujitatomoya
Copy link
Collaborator

@tomkimsour

I think this at least deserve a small section in ros documentation. And i don't think it has been fixed yet.

can you describe more details what needs to be added? like we should add the quote for the message contents autocompletion?

@tomkimsour
Copy link

@tomkimsour

I think this at least deserve a small section in ros documentation. And i don't think it has been fixed yet.

can you describe more details what needs to be added? like we should add the quote for the message contents autocompletion?

Yes I guess something like that would be ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed more-information-needed Further information is required
Projects
None yet
Development

No branches or pull requests

3 participants