ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Unable to locate package ros-humble-joint-state-publisher-gui

asked 2023-04-07 21:00:19 -0600

manish.nayak gravatar image

updated 2023-04-07 22:15:12 -0600

I am configuring my environment to seamlessly use ROS Humble distribution, but it feels like there is something to be debugged at every step.

I would like to run joint-state-publisher-gui and visualize my robot in rviz but it seems that gui has been segregated from the standard install unlike Foxy.

I am following the solution mentioned here -

It could possibly be an issue that the source repository is not added, as per this - and I did that as well in my Software Package Manager.

deb bionic main

Since I am using Ubuntu 20.04 and it has tier-3 support as per documentation.

It didn't solve my issue either. Then, I tried ignoring the ros-humble prefix altogether by using the commands

sudo apt-get install joint-state-publisher-gui

And surprisingly it did run and install a bunch of things including the joint-state-publisher

qygxamu@wdxcnd30215jj:~/Documents/articubot_tutorial$ sudo apt-get install joint-state-publisher-gui
Preparing to unpack .../14-joint-state-publisher-gui_1.12.14-1_all.deb ...
Unpacking joint-state-publisher-gui (1.12.14-1) ...
Selecting previously unselected package ros-robot-state-publisher.
Preparing to unpack .../39-ros-robot-state-publisher_1.14.0-3build1_amd64.deb ...
Unpacking ros-robot-state-publisher (1.14.0-3build1) ...
Setting up liburdf0d:amd64 (1.13.1-2build1) ...
Setting up joint-state-publisher (1.12.14-1) ...
Setting up joint-state-publisher-gui (1.12.14-1) ...
qygxamu@wdxcnd30215jj:~/Documents/articubot_tutorial$ sudo apt-get install ros-humble-joint-state-publisher-gui
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-humble-joint-state-publisher-gui

However, still when I try to source the ros2 folder and try finding the joint-state-publisher-gui package, it's nowhere to be found. Kindly help in finding out what else I could be missing here.

EDIT - It definitely seems some sourcing issue is there. I am not able to install any Ros package. Not even this.

sudo apt install ros-humble-turtlesim
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2023-04-08 03:23:40 -0600

manish.nayak gravatar image

updated 2023-04-08 03:25:41 -0600

I had installed it from source instead of binary and the environment was not set up properly. No one to blame but me for not reading the instructions properly..

I am shifting back to foxy for now. Would shift back again to humble after a couple of weeks.

edit flag offensive delete link more


Just to mention it: is the ROS 1 package repository. It does not serve ROS 2 packages.

That's why you could not install any ros-humble-* packages.

And surprisingly it did run and install a bunch of things including the joint-state-publisher

this installed the ROS 1 joint_state_publisher. Actually, it installed the wiki/UpstreamPackages version of it, so not even the ROS Noetic version.

gvdhoorn gravatar image gvdhoorn  ( 2023-04-08 08:25:51 -0600 )edit

Question Tools

1 follower


Asked: 2023-04-07 21:00:19 -0600

Seen: 651 times

Last updated: Apr 08