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
XMLRPC Timeout #88
Comments
@semih67 it looks like you are using an version The issue related to ifm3d is the XML-RPC timeout. For this I recommend to follow the troubleshooting guide we've introduced in the last release. The second issue with the catkin build seems to be related to the configuration used during the ifm3d build. It looks like you have disabled the ifm3d image module. Could you or @tpanzarella please edit the issue and encapsulate the output with This would make my live easier in reading the output and finding the issue. |
I also get an error if i try to update. And how can I enable the ifm3d image module? |
@semih67 what kind of error do you get? |
I can't look it up now which kind of error it was. I can write it tomorrow. But if I typed this: I got the error. And if I removed the update everything went fine And again the question how can I enable the ifm3d image? |
And I also pinged the IP and it was an unreachable host |
@semih67 I would prefer to have solved one problem after the other. For me it looks like you have issues with your network configuration. This can be caused for example on issues with cooperate proxy like described in the troubleshooting guide. To check your current network configuration you can use the
or by ifconfig
The image module is activated by default. Please follow the detailed installation guidelines for ifm3d-ros for details. It seems you are located in Germany if it is easier for you we also can arrange a phone call in German. |
It would be nice to have a phone call but first I want to try it by your help. Maybe if I solve this everything will work. |
Ok after I upgraded the packages I could update. So the problem is solved. But when I type in ifconfig I get in eth0 a mac address |
But nevertheless I should be able to compile the package. But I can't |
@semih67 to speed up you can send me an e-mail to christian.ege@ifm.com with your phone number so I can call you. |
I'm at work now could you not write here what I have to do? |
Just write me what I have to check |
If ifconfig only shows a MAC address but no IP address I do assume you have only one Ethernet port which is configured to DHCP. If you plug-in the camera to this port you will not receive an ip address on this port. To connect to the camera you can try to check if this command can find the camera:
This may need the installation of |
This command above gives in my case the following result:
Which will allow me to ping the camera with it's local name:
|
Ooh ok I think I know what my problem is. I think I have to set the IP in the bashrc and in the network settings. But now I don't know how to do it. |
And if I use your command then it stops at grep: Videos ... and it can't locate the camera |
May I recommend to get another Ethernet interface, for example an USB one, to have the Camera plus regular Internet connection or by adding a Ethernet Switch. There are plenty of how-to how to change the ip address of your host out on the internet. But be careful, this maybe cuts you off from the local office net and will prevent you from internet access. |
I'm using a switch now and pinging 192.168.0.69 but it says the same that the host is unreachable |
And do you know how to change the ip in the bashrc file? |
So the reachability of the camera heavily depends on your network set-up for example from my output above you can see multiple networks. Typically your office network is different from the |
Ok it's working now, I can ping the camera. But I still get the error if I try to compile it. It still says: ´but it set ifm3d_FOUND to FALSE so package "ifm3d" is considered to be NOT -- Configuring incomplete, errors occurred! Reproduce this error by running: Command failed, exiting. |
BTW the image module is default activated since two years. Most probably it was disabled building the first time due to issues with PCL. May I ask for which Ubuntu version and platform you are building? I ask this because it looks like you build for an RaspberryPi because of |
I try to recompile it but I get errors: if I do make check:
|
should I remove the ifm3d and clone it again? Would it solve the problem? |
It's 16.04 xenial. I'm working on a jetson board and try to compile it normally |
Yes the image module is activate in the cmake file but should it not be activated? |
I made one more make check and this time I got only one failed test: FrameGrabber.ByteBufferMoveAssignmentOperator |
Ok and now no fails it's weird |
@semih67 the [EDIT] sorry I missed the error output you already posted above |
It's working now. I could compile it with no errors. I don't know why but thank you for your help |
@semih67 the |
And now I get errors if I try to launch it. I cloned ifm3d-ros in my src directory and compiled everything but now if I type: roslaunch ifm3d camera.launch I get these errors:
|
Hi Semih67 - Thank you for all of your time. Would it make sense to arrange a 1 hour block of time to discuss the current status and what may be required moving forward? The may help accelerate the integration. I can arrange the meeting with the appropriate people (in the appropriate Countries) is this will help. Please contact me at garrett.place@ifm.com to discuss. |
@semih67 I fully agree with @GarrettPlace we should spend that time to accelerate this. What ever real time channel you prefer. Meanwhile I can imagine due to the rebuild of the ifm3d library you may have different versions of the ifm3d and the ifm3d-ros nodlet. But I am not an expert when it comes to the ROS code. |
@graugans @semih67 The CMake's CPack extension provides the CPACK_DEBIAN_PACKAGE_SHLIBDEPS variable that turns on a wrapper to dpkg-shlibdeps for generating proper dependencies in your debian control file. However, when I was building the packaging infrastructure, the cpack machinery fell short, mostly as a result of how we modularize Bottom-line, I personally recommend installing via |
@semih67 You state:
Did you compile and install? I recommend you follow these instructions as closely as you can. The error you show seems to indicate that ROS pluginlib cannot load the .so that implements the camera nodelet. This would be indicative of it not being installed properly which is orthogonal to compiling it. |
Hey thank you for your help, I started to install ifm3d again and I want to do it step by step now. What I have done so now is that I cloned the link for ifm3d in catkin_ws/src . So this is the step where I'm unsure, because in your instructions you have created a build folder. And I don't know where you do this, in which folder. I cloned it to the src folder and tried to compile it and got the error that it could't find some packages: ``` CMake Error at CMakeLists.txt:4 (find_package):
|
@semih67 ifm3d-ros is a wrapper over ifm3d as a ros-interface. Please build and install ifm3d as per ifm3d build instructions. You might have missed
As per the information provided by you in above comment it seems ifm3d installation is missing from your system. If library is not installed in standard paths.. use -DCMAKE_PREFIX_PATH=installation path.. with catkin_make for building ifm3d-ros. |
Ok I have done this and could compile it after I installed ifm3d-ros. But now I can't launch it it says: [camera.launch] is neither a launch file in package [ifm3d] nor is [ifm3d] a launch file name |
I didn't do this step: |
Try to use source command In a seprate terminal restart roscore And then in another terminal try this: As per the instructions this is already added to .bashrc file.. |
This is not working: source ${LPR_ROS}/install/setup.bash I have also tried it with source ${LPR_ROS}/opt/ros/kinetic/setup.bash but the same. I also used the ordinary source command but no success: source /opt/ros/kinetic/setup.bash |
$ catkin_make -DCMAKE_INSTALL_PREFIX=${LPR_ROS}/ifm3d install And then source command must be $ Source {LPR_ROS}/ifm3d/install/setup.bash |
When I run this command My src folder looks like this: ifm3d ifm3d-ros CMakeLists.txt |
Ok I solved the problem. The problem was that my install folder was in catkin_ws. So this |
But now I get a warning when I launch the camera: [warn] ... : Timeout waiting for camera. I also got this when I tested the camera. |
@semih67 if you have followed the Instruction then please check
and after this please check
if the installation is fine then you will find setup.bash in this folder. Have you done ~/.bashrc: changes as per the installation Instruction ''' |
@semih67 oho great that you solve the issue Now for timeout error can you please checkout our troubleshoot guide |
@semih67 can we close this issue? |
yes you can close it |
@tpanzarella can you please close this issue? |
When I run catkin_make_isolated I get these errors:
e/nvidia/catkin_ws/build_isolated/ifm3d'
-- ifm3d found component: camera
-- ifm3d found component: framegrabber
CMake Warning at /usr/lib/cmake/ifm3d-0.9.0/ifm3d-config.cmake:44 (message):
ifm3d could not find component: image
Call Stack (most recent call first):
CMakeLists.txt:4 (find_package)
CMake Error at CMakeLists.txt:4 (find_package):
Found package configuration file:
but it set ifm3d_FOUND to FALSE so package "ifm3d" is considered to be NOT
FOUND.
-- Configuring incomplete, errors occurred!
See also "/home/nvidia/catkin_ws/build_isolated/ifm3d/CMakeFiles/CMakeOutput.log".
<== Failed to process package 'ifm3d':
Command '['/home/nvidia/catkin_ws/devel_isolated/gpio_control/env.sh', 'cmake', '/home/nvidia/catkin_ws/src/ifm3d-ros', '-DCATKIN_DEVEL_PREFIX=/home/nvidia/catkin_ws/devel_isolated/ifm3d', '-DCMAKE_INSTALL_PREFIX=/home/nvidia/catkin_ws/install_isolated', '-G', 'Unix Makefiles']' returned non-zero exit status 1
Reproduce this error by running:
==> cd /home/nvidia/catkin_ws/build_isolated/ifm3d && /home/nvidia/catkin_ws/devel_isolated/gpio_control/env.sh cmake /home/nvidia/catkin_ws/src/ifm3d-ros -DCATKIN_DEVEL_PREFIX=/home/nvidia/catkin_ws/devel_isolated/ifm3d -DCMAKE_INSTALL_PREFIX=/home/nvidia/catkin_ws/install_isolated -G 'Unix Makefiles'
Command failed, exiting.
catkin_make_isolated 44,82s user 24,52s system 140% cpu 49,351 total
And in ~/dev/ifm3d/build I'm running make check and get these errors
[ RUN ] Image.MoveCtor
unknown file: Failure
C++ exception with description "Lib: XMLRPC Timeout - can you
ping' the sensor?" thrown in the test body. [ FAILED ] Image.MoveCtor (1035 ms) [ RUN ] Image.MoveAssignmentOperator unknown file: Failure C++ exception with description "Lib: XMLRPC Timeout - can you
ping' the sensor?" thrown in the test body.[ FAILED ] Image.MoveAssignmentOperator (2032 ms)
[ RUN ] Image.CopyCtor
unknown file: Failure
C++ exception with description "Lib: XMLRPC Timeout - can you
ping' the sensor?" thrown in the test body. [ FAILED ] Image.CopyCtor (2022 ms) [ RUN ] Image.CopyAssignmentOperator unknown file: Failure C++ exception with description "Lib: XMLRPC Timeout - can you
ping' the sensor?" thrown in the test body.[ FAILED ] Image.CopyAssignmentOperator (2037 ms)
[ RUN ] Image.References
unknown file: Failure
C++ exception with description "Lib: XMLRPC Timeout - can you
ping' the sensor?" thrown in the test body. [ FAILED ] Image.References (2031 ms) [ RUN ] Image.CloudMechanics unknown file: Failure C++ exception with description "Lib: XMLRPC Timeout - can you
ping' the sensor?" thrown in the test body.[ FAILED ] Image.CloudMechanics (2025 ms)
[ RUN ] Image.XYZImage
unknown file: Failure
C++ exception with description "Lib: XMLRPC Timeout - can you
ping' the sensor?" thrown in the test body. [ FAILED ] Image.XYZImage (2026 ms) [ RUN ] Image.ComputeCartesian unknown file: Failure C++ exception with description "Lib: XMLRPC Timeout - can you
ping' the sensor?" thrown in the test body.[ FAILED ] Image.ComputeCartesian (2034 ms)
[ RUN ] Image.TimeStamp
unknown file: Failure
C++ exception with description "Lib: XMLRPC Timeout - can you
ping' the sensor?" thrown in the test body. [ FAILED ] Image.TimeStamp (1019 ms) [ RUN ] Image.IlluTemp unknown file: Failure C++ exception with description "Lib: XMLRPC Timeout - can you
ping' the sensor?" thrown in the test body.[ FAILED ] Image.IlluTemp (1017 ms)
[----------] 10 tests from Image (17281 ms total)
[----------] Global test environment tear-down
[==========] 10 tests from 1 test case ran. (17281 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 10 tests, listed below:
[ FAILED ] Image.MoveCtor
[ FAILED ] Image.MoveAssignmentOperator
[ FAILED ] Image.CopyCtor
[ FAILED ] Image.CopyAssignmentOperator
[ FAILED ] Image.References
[ FAILED ] Image.CloudMechanics
[ FAILED ] Image.XYZImage
[ FAILED ] Image.ComputeCartesian
[ FAILED ] Image.TimeStamp
[ FAILED ] Image.IlluTemp
10 FAILED TESTS
modules/image/test/CMakeFiles/check_image.dir/build.make:57: recipe for target 'modules/image/test/CMakeFiles/check_image' failed
make[3]: *** [modules/image/test/CMakeFiles/check_image] Error 1
CMakeFiles/Makefile2:751: recipe for target 'modules/image/test/CMakeFiles/check_image.dir/all' failed
make[2]: *** [modules/image/test/CMakeFiles/check_image.dir/all] Error 2
CMakeFiles/Makefile2:76: recipe for target 'CMakeFiles/check.dir/rule' failed
make[1]: *** [CMakeFiles/check.dir/rule] Error 2
Makefile:184: recipe for target 'check' failed
make: *** [check] Error 2
Do you guys understand my problem?
The text was updated successfully, but these errors were encountered: