-
Notifications
You must be signed in to change notification settings - Fork 210
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
Unable to Build dso_ros #32
Comments
I suggest to use Even better, I suggest to use my branches from the PR's JakobEngel/dso#109 and #27, which hopefully fix some build system issues: |
Hey @NikolausDemmel ...is there any aditional changes needed in order to compile the dso wrapper? I am cloning your repo to the |
Have you checked out the cmake branch for dso and catkin branch for dso_ros? |
BTW I'm using catkin tools, with that, you can also put dso in your catkin workspace and dso_ros should find it. Otherwise, you might need to specify the location of dso in the environment variable for dso_ros to find it. |
@SteveJos and @NikolausDemmel , |
@NikolausDemmel - I cloned the two repositories you had linked to the catkin_ws/src. This built DSO in the catkin_ws. I cloned the catkin version of the DSO_ROS into catkin_ws/src/ I am facing two doubts. How do I build the dso_ros package using catkintools/catkin_make? |
With ROS packages, it is probably best to not manually call cmake and make. I suggest using
|
Hi Nikolaus, Thank you for your reply. I followed what you had suggested, but the dso_ros did not get built. But I still find that dso_ros was not built. Any suggestions would be great. Thank you for replying once again! |
Please run both |
DSO:
DSO_ROS
|
You need to use the branches mentioned above, not master. Go checkout |
Nikolaus, you legend it compiled! Can't believe That was the issue.. Its compiling. One last query with two sub-queries ( :D ) -
I was able to run it after adding the line I'm getting one error though,
Thank you once again |
You will have to start |
Please close the issue if it is resolved. Thanks! |
Thanks Nikolaus! |
To work with live cameras, you will have to read up on how that works with ROS. ROS has a bunch of camera drivers for various devices: http://wiki.ros.org/Sensors/Cameras Also, keep in mind that DSO will probably not work very well on a webcam, at least not for faster motion, since it assumes global shutter and most webcams are rolling shutter. |
@NikolausDemmel, @lorhm, CMakeFiles/dso_live.dir/src/main.cpp.o: In function I've tried the modified Further, my VS Code editor flags the following lines in the #include "util/settings.h" I am not able to figure out what to change or modify such that the Issue Resolved: I moved |
How to use 'catkin_make' to build 'dso_live': As an another method to build, I succeeded in build by 'catkin_make' in kinetic ROS, instead of catkin_tools above. The 'XXX/dso' below is the path of dso package installed already (this is the original package for dso_ros ROS wrapper package).
After that, since the dso_live package is not recognized, the following command should be done once as mentioned above post. If the setup.bash makes some error, try other type of extension in the files of the folder below. The 'XXX' is the path to your caktin_ws folder. |
CMakeOutput.log
I followed the instructions in the README.md.
I ran:
export DSO_PATH=/home/rahulr/Workspace/dso
rosmake
But i Got:
[ rosmake ] rosmake starting...
[ rosmake ] No package or stack specified. And current directory 'build' is not a package name or stack name.
[ rosmake ] Packages requested are: []
[ rosmake ] Logging to directory /home/rahulr/.ros/rosmake/rosmake_output-20180403-184032
[ rosmake ] Expanded args [] to:
[]
[ rosmake ] ERROR: No arguments could be parsed into valid package or stack names.
I when I tried to create the "build" folder and run
cmake ..
I got:
[rosbuild] Building package dso_ros
[rosbuild] Error from directory check: /opt/ros/kinetic/share/ros/core/rosbuild/bin/check_same_directories.py /home/rahulr/Workspace/dso_ros 1
Traceback (most recent call last):
File "/opt/ros/kinetic/share/ros/core/rosbuild/bin/check_same_directories.py", line 46, in <module> raise Exception
Exception
CMake Error at /opt/ros/kinetic/share/ros/core/rosbuild/private.cmake:102 (message):
[rosbuild] rospack found package "dso_ros" at "", but the current directory is "/home/rahulr/Workspace/dso_ros". You should double-check your ROS_PACKAGE_PATH to ensure that packages are found in the correct precedence order.
Call Stack (most recent call first): /opt/ros/kinetic/share/ros/core/rosbuild/public.cmake:177 (_rosbuild_check_package_location) CMakeLists.txt:13 (rosbuild_init)
-- Configuring incomplete, errors occurred!
See also "/home/rahulr/Workspace/dso_ros/build/CMakeFiles/CMakeOutput.log".
I am trying to get the dso to run on a live camera feed - either from the laptop camera or an externally attached usb cam. At this point I'm unsure of how to proceed.
Any help would be appreciated, Thanks!
The text was updated successfully, but these errors were encountered: