Robotics StackExchange | Archived questions

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

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 - https://answers.ros.org/question/344992/missing-joint_state_publisher_gui-when-l-run-displaylaunch/

It could possibly be an issue that the source repository is not added, as per this - https://answers.ros.org/question/346665/how-to-install-joint_state_publisher_gui-in-melodic-version-of-ros/ and I did that as well in my Software Package Manager.

deb http://packages.ros.org/ros/ubuntu 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

Asked by manish.nayak on 2023-04-07 21:00:19 UTC

Comments

Answers

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.

Asked by manish.nayak on 2023-04-08 03:23:40 UTC

Comments

Just to mention it: packages.ros.org 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.

Asked by gvdhoorn on 2023-04-08 08:25:51 UTC