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

cannot launch node of type [homer_robot_face/RobotFace] Cannot locate node of type [RobotFace] in package #9

Open
muavizishfaq opened this issue Oct 15, 2023 · 26 comments

Comments

@muavizishfaq
Copy link

i have run the command catkin_make (As suggested in issue #5) but still its not working. I am getting same error every time. So please help me to resolve this issue.

@vseib
Copy link
Member

vseib commented Oct 15, 2023

Hello,
what error are you getting? Is it the one in the title of this issue?
Have you followed ALL the steps in #5, not just running catkin_make?

@vseib
Copy link
Member

vseib commented Oct 16, 2023

Hello, you have a dublicate issue #8 - is this one (#9) also completed? If yes, please document your solution and close it.

@muavizishfaq
Copy link
Author

i have already done all the steps you mention in problem #5. but still my issue is not resolve.if you have any other way to do this then please tell me.

@muavizishfaq
Copy link
Author

by the way where is the file in this package named RobotFace or i have to change anything

@vseib
Copy link
Member

vseib commented Oct 20, 2023

There is no file RobotFace in this package. It is the node name (executable) that you have to generate by running catkin_make.

Is catkin_make reporting any errors?
What is the output when you type
roscd homer_robot_face

If the package can not be found you have to source your workspace. If this is not helping try running
rospack profile
and then
roscd homer_robot_face
again.
What is the output of each of these command?

@muavizishfaq
Copy link
Author

there is no error it simply go to the directory. like,,,
muaviz@muaviz-HP-ProBook-640-G3:~/catkin_ws/src/homer_robot_face-master$

@muavizishfaq
Copy link
Author

using roscd homer_robot_face command

@vseib
Copy link
Member

vseib commented Oct 20, 2023

That's a good sign.
Now go to
~/catkin_ws/
and run
catkin_make

somewhere in the beginning (around 20-25 lines from the start) there will be something like this:

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 42 packages in topological order:
-- ~~ - freenect_launch
-- ~~ - freenect_stack
....
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Check that homer_robot_face is in the list of the packages.
Then scroll further down and check if catkin_make produces any errors.

@muavizishfaq
Copy link
Author

so there is no package name homer_robot_face in this topological order list.
Furthermore, during catkin_make i an getting following error.

" CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
"bayesian_belief_networks" with any of the following names:

bayesian_belief_networksConfig.cmake
bayesian_belief_networks-config.cmake

Add the installation prefix of "bayesian_belief_networks" to
CMAKE_PREFIX_PATH or set "bayesian_belief_networks_DIR" to a directory
containing one of the above files. If "bayesian_belief_networks" provides
a separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
BLIP-main/blip/CMakeLists.txt:10 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/muaviz/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/muaviz/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:3820: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed "

@vseib
Copy link
Member

vseib commented Oct 20, 2023

The package
bayesian_belief_networks
is not configured correctly. If you do not need it - remove it (i.e. delete it).
Then run
rospack profile
and again catkin_make
and check the list of packages again for homer_robot_face

If you need it, then you first have to figure out how to fix it - otherwise you can not run catkin_make and you can not build robot_face.

@muavizishfaq
Copy link
Author

muavizishfaq commented Oct 20, 2023

now i am getting another error.
"
+++ processing catkin package: 'homer_robot_face'
-- ==> add_subdirectory(homer_robot_face-master)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Looking for OGRE...
-- Found Ogre Ghadamon (1.9.0)
-- Found OGRE: optimized;/usr/lib/x86_64-linux-gnu/libOgreMain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreMain.so
-- Looking for OGRE_Paging...
-- Found OGRE_Paging: optimized;/usr/lib/x86_64-linux-gnu/libOgrePaging.so;debug;/usr/lib/x86_64-linux-gnu/libOgrePaging.so
-- Looking for OGRE_Terrain...
-- Found OGRE_Terrain: optimized;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so
-- Looking for OGRE_Property...
-- Found OGRE_Property: optimized;/usr/lib/x86_64-linux-gnu/libOgreProperty.so;debug;/usr/lib/x86_64-linux-gnu/libOgreProperty.so
-- Looking for OGRE_RTShaderSystem...
-- Found OGRE_RTShaderSystem: optimized;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so;debug;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so
-- Looking for OGRE_Volume...
-- Found OGRE_Volume: optimized;/usr/lib/x86_64-linux-gnu/libOgreVolume.so;debug;/usr/lib/x86_64-linux-gnu/libOgreVolume.so
-- Looking for OGRE_Overlay...
-- Found OGRE_Overlay: optimized;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so;debug;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by "Qt5X11Extras" with
any of the following names:

Qt5X11ExtrasConfig.cmake
qt5x11extras-config.cmake

Add the installation prefix of "Qt5X11Extras" to CMAKE_PREFIX_PATH or set
"Qt5X11Extras_DIR" to a directory containing one of the above files. If
"Qt5X11Extras" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
homer_robot_face-master/CMakeLists.txt:36 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/muaviz/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/muaviz/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

"

@muavizishfaq
Copy link
Author

by the i am using ros melodic

@vseib
Copy link
Member

vseib commented Oct 20, 2023

qt5 is a dependency of robot face

try
sudo apt-get install libqt5x11extras5-dev
(works with ubuntu 20.04 - not sure for newer versions)

@muavizishfaq
Copy link
Author

my one is ubuntu 18.04

@vseib
Copy link
Member

vseib commented Oct 20, 2023

should work then :)

@muavizishfaq
Copy link
Author

"
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find EST (missing: ESD_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
homer_robot_face-master/cmake/FindEST.cmake:47 (find_package_handle_standard_args)
homer_robot_face-master/CMakeLists.txt:40 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/muaviz/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/muaviz/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:3820: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

"

please mention all the dependency

@vseib
Copy link
Member

vseib commented Oct 20, 2023

You can find them in the CMakeLists.txt - but you are also right that they should be listed.
The non-ros deps are:

  • OGRE : RenderSystem_GL)
  • Qt5 : Core Widgets X11Extras
  • Festival
  • ESD
  • OpenCV

@vseib
Copy link
Member

vseib commented Oct 20, 2023

try:
sudo apt-get install festival-dev
this should automatically also install ESD

@muavizishfaq
Copy link
Author

already have
festival-dev is already the newest version (1:2.5.0-1).

@muavizishfaq
Copy link
Author

muavizishfaq commented Oct 20, 2023

i am also using this command
" sudo apt-get install libqt4-core libqt4-dev libqt4-gui festival
festival-dev festlex-cmu festlex-poslex festlex-oald mbrola
mbrola-us1 libogre-1.8-dev libesd0-dev libestools2.1-dev "

but in this following packages are unable to locate

E: Unable to locate package libqt4-core
E: Unable to locate package libqt4-gui
E: Package 'libogre-1.8-dev' has no installation candidate
E: Unable to locate package libesd0-dev

@muavizishfaq
Copy link
Author

muavizishfaq commented Oct 20, 2023

please give me the command to download these dependency
OGRE : RenderSystem_GL)
Qt5 : Core Widgets X11Extras

Currently using " Ubuntu 18.04 (bionic) "
already run " sudo apt-get install ogre-1.9 "
Let me know if it is fine

@vseib
Copy link
Member

vseib commented Oct 20, 2023

First of all: all the "sudo apt install ..." commands I give you, I find using www.google.com, so you can try to do this too.

From one of your last comments it seems that ogre and qt5 are already installed. You probably should not mix qt4 and qt5 so don't mind that these packages are not found.

What is the current error? Is it still ESD missing?
Try to reinstall festival, hoping that dependencies will be fixed:
sudo apt-get install --reinstall festival festival-dev

@muavizishfaq
Copy link
Author

i run the command you gave but still same issue

CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find EST (missing: ESD_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
homer_robot_face-master/cmake/FindEST.cmake:47 (find_package_handle_standard_args)
homer_robot_face-master/CMakeLists.txt:40 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/muaviz/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/muaviz/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:3820: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

@muavizishfaq
Copy link
Author

Hi bro !
Fortunately in my friend's machine package is working fine (face is properly display, speech is working fine, face is showing gestures) but still have one issue that during speech the lips movement is not working and following error is occurring

auto-starting new master
process[master]: started with pid [2426]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to e6e934e0-7307-11ee-bc05-88b111da1830
process[rosout-1]: started with pid [2437]
started core service [/rosout]
process[RobotFace-2]: started with pid [2440]
process[speech_node-3]: started with pid [2441]
process[rodney_voice_test_node-4]: started with pid [2443]
process[keyboard-5]: started with pid [2452]
[ INFO] [1698218828.978010300]: /rodney_voice_test_node started
[ INFO] [1698218828.986405038]: /speech_node started
[ INFO] [1698218829.433482260]: Creating MainWindow..
Reading config file /home/noor/catkin_ws/src/src/homer_robot_face/config/config.cfg...
Mesh Filename : Lisa
Finished reading config.
TalkingHead in construction...
QObject::connect: Cannot connect (null)::pauseTalkingHead(int) to (null)::pausedByImageDisplay(int)
[ INFO] [1698218829.456693442]: Initialising talkinghead - waiting 1000 ms for things to get ready.
Layout with no rotation
[ INFO] [1698218829.459955139]: Info: 01
[ INFO] [1698218830.508371652]: hallo talkinghead
QWidget::create(): Parameter 'window' does not have any effect

So can you please guide.....

@vseib
Copy link
Member

vseib commented Oct 25, 2023

Hi again,
did he find the right package to avoid the missing ESD dependency? If yes, please document the solution here.

As for the remaining issue: Hard to tell from here.
OGRE is responsible for the animation and I guess Qt for rendering. Maybe some deps are still missing.
There are some qt errors in your posted message. Apparently some slots can not be connected ...

The command you posted a while ago:
" sudo apt-get install libqt4-core libqt4-dev libqt4-gui festival
festival-dev festlex-cmu festlex-poslex festlex-oald mbrola
mbrola-us1 libogre-1.8-dev libesd0-dev libestools2.1-dev "
is from our robot-face manual, right? Back then we were using Ubuntu 16. So maybe you need to find some updated versions for Ubuntu 18.
Check if qt5 is properly installed. Try: sudo apt-get install qt5-default

@vseib
Copy link
Member

vseib commented Oct 25, 2023

Another thing: Is the head talking (can you here speech)? If not maybe there is an issue with your text-to-speech system. If no speech is arriving at the head it will not talk and the lips won't move.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants