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

Double A's profile - activity

2020-06-22 12:15:24 -0500 received badge  Famous Question (source)
2020-06-22 12:15:24 -0500 received badge  Notable Question (source)
2020-06-22 12:15:24 -0500 received badge  Popular Question (source)
2020-06-22 12:15:09 -0500 received badge  Famous Question (source)
2020-05-04 23:31:12 -0500 received badge  Famous Question (source)
2018-06-22 09:08:52 -0500 received badge  Famous Question (source)
2018-06-22 09:08:52 -0500 received badge  Notable Question (source)
2018-06-22 09:08:52 -0500 received badge  Popular Question (source)
2018-03-07 17:07:10 -0500 received badge  Famous Question (source)
2018-03-07 17:07:10 -0500 received badge  Notable Question (source)
2018-01-30 23:06:05 -0500 received badge  Notable Question (source)
2018-01-30 23:05:40 -0500 received badge  Popular Question (source)
2017-03-03 08:49:49 -0500 asked a question Sophus, control reaches end of non void function.

I am using Eigen 3.0.5 and gcc 4.9. Whenever I try to compile the sophus library, I get the following error. I am trying to compile it in association with tum visions dvo_slam : https://github.com/tum-vision/dvo_slam

`/home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/sophus/rxso3.hpp:362:3: error: control reaches end of non-void function [-Werror=return-type] } ^ /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/sophus/rxso3.hpp: In member function ‘Sophus::RxSO3Base<Derived>::Transformation Sophus::RxSO3Base<Derived>::rotationMatrix() const [with Derived = Sophus::RxSO3<float>; Sophus::RxSO3Base<Derived>::Transformation = Eigen::Matrix<float, 3, 3>; typename Eigen::internal::traits<T>::Scalar = float]’: /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/sophus/rxso3.hpp:254:3: error: control reaches end of non-void function [-Werror=return-type] } ^ /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/sophus/rxso3.hpp: In member function ‘Sophus::RxSO3<typename Eigen::internal::traits<T>::Scalar> Sophus::RxSO3Base<Derived>::inverse() const [with Derived = Sophus::RxSO3<float>; typename Eigen::internal::traits<T>::Scalar = float]’: /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/sophus/rxso3.hpp:124:3: error: control reaches end of non-void function [-Werror=return-type] } ^ /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/sophus/rxso3.hpp: In member function ‘const Eigen::Quaternion<Scalar_>& Sophus::RxSO3<Scalar_, Options>::quaternion() const [with Scalar_ = float; int Options = 0]’: /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/sophus/rxso3.hpp:576:3: error: control reaches end of non-void function [-Werror=return-type] } ^ In file included from /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/sophus/rxso3.hpp:4:0, from /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/test/core/test_rxso3.cpp:3: /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/sophus/so3.hpp: In static member function ‘static Sophus::SO3Base<Derived>::Tangent Sophus::SO3Base<Derived>::logAndTheta(const Sophus::SO3<typename Eigen::internal::traits<T>::Scalar>&, Sophus::SO3Base<Derived>::Scalar*) [with Derived = Sophus::SO3<float>; Sophus::SO3Base<Derived>::Tangent = Eigen::Matrix<float, 3, 1>; typename Eigen::internal::traits<T>::Scalar = float; Sophus::SO3Base<Derived>::Scalar = float]’: /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/sophus/so3.hpp:455:3: error: control reaches end of non-void function [-Werror=return-type] } ^ In file included from /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/test/core/test_rxso3.cpp:3:0: /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/sophus/rxso3.hpp: In member function ‘Sophus::RxSO3Base<Derived>::Point Sophus::RxSO3Base<Derived>::operator*(const Point&) const [with Derived = Sophus::RxSO3<float>; Sophus::RxSO3Base<Derived>::Point = Eigen::Matrix<float, 3, 1>; typename Eigen::internal::traits<T>::Scalar = float]’: /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/sophus/rxso3.hpp:211:3: error: control reaches end of non-void function [-Werror=return-type] } ^ In file included from /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/test/core/tests.hpp:9:0, from /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/test/core/test_rxso3.cpp:4: /home/devel/dvo_test/sandbox/dvo_slam/sophus/sophus_src/sophus/average.hpp: In function ‘Sophus::enable_if_t<std::is_same<typename SequenceContainer::value_type, Sophus::RxSO3<Scalar> >::value, Sophus::optional<typename SequenceContainer::value_type> > Sophus::average(const SequenceContainer&) [with SequenceContainer = std::array<Sophus::RxSO3<float>, 2u ...
(more)
2017-02-28 10:37:43 -0500 received badge  Editor (source)
2017-02-28 08:41:41 -0500 commented question Trouble seting up DSO in my command line for package dvo_benchmark

I'm sorry, I'm new to ROS and ros answers. I'll keep that in mind in the future, thanks.

2017-02-28 08:40:48 -0500 received badge  Popular Question (source)
2017-02-27 21:02:58 -0500 commented question Trouble seting up DSO in my command line for package dvo_benchmark
2017-02-27 17:27:25 -0500 asked a question Trouble seting up DSO in my command line for package dvo_benchmark

I'm attempting to install tum vision's dvo_slam on ROS indigo with ubuntu 14.04 LTS using the following repo: https://github.com/songuke/dvo_slam . I have nearly compiled everything, except I receive this error when I attempt to build dvo_benchmark:

/usr/bin/ld: /opt/ros/indigo/lib/libroscpp.so: undefined reference to symbol '_ZN3ros13serialization18throwStreamOverrunEv'
/opt/ros/indigo/lib/libroscpp_serialization.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [devel/lib/dvo_benchmark/benchmark] Error 1
make[1]: *** [CMakeFiles/benchmark.dir/all] Error 2
make: *** [all] Error 2

I understand that this means I have to find the link.txt file in the CMakeFiles/benchmark.dir and edit it to reference roscpp_serialization. My question is exactly how do I edit it? Here is my link.txt file:

/usr/bin/c++      CMakeFiles/benchmark.dir/src/benchmark_slam.cpp.o  -o devel/lib/dvo_benchmark/benchmark -rdynamic /opt/ros/indigo/lib/libroscpp.so -lboost_signals /opt/ros/indigo/lib/librosconsole.so /opt/ros/indigo/lib/librosconsole_log4cxx.so /opt/ros/indigo/lib/librosconsole_backend_interface.so -llog4cxx -lboost_regex /opt/ros/indigo/lib/libroscpp_serialization.so /opt/ros/indigo/lib/librostime.so /opt/ros/indigo/lib/libxmlrpcpp.so /opt/ros/indigo/lib/libcpp_common.so -lconsole_bridge /home/devel/dvo_slam/devel/lib/libdvo_core.a /home/devel/dvo_slam/devel/lib/libdvo_visualization.a /usr/lib/x86_64-linux-gnu/libopencv_videostab.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_video.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_superres.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_stitching.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_photo.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_ocl.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_objdetect.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_ml.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_legacy.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_gpu.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_flann.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_features2d.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_contrib.so.2.4.8 /usr/lib/x86_64-linux-gnu/libopencv_calib3d.so.2.4.8 -lpcl_common -lpcl_kdtree -lpcl_octree -lpcl_search -lpcl_sample_consensus -lpcl_filters -lboost_system -lboost_filesystem -lboost_thread -lboost_date_time -lboost_iostreams -lboost_serialization -lboost_chrono -lpthread -Wl,-Bstatic -lflann_cpp_s -Wl,-Bdynamic /home/devel/dvo_slam/devel/lib/libdvo_ros.a /home/devel/dvo_slam/devel/lib/libdvo_slam.a -Wl,-rpath,/opt/ros/indigo/lib

Currently I have my roscpp_serialization folder stored in /opt/ros/indigo/share and my libroscpp_serialization.so file stored in /opt/ros/indigo/lib

Any help would be appreciated, I really need to resolve this issue quickly. Thank you.

2017-02-27 16:59:15 -0500 received badge  Notable Question (source)
2017-02-24 11:50:06 -0500 received badge  Enthusiast
2017-02-23 12:00:02 -0500 asked a question find_package cannot locate existing package

I am attempting to compile a set of packages, yet I get the following error:

CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:159 (message):
  catkin_package() DEPENDS on 'G2O' which must be find_package()-ed before.
  If it is a catkin package it can be declared as CATKIN_DEPENDS instead
  without find_package()-ing it.
Call Stack (most recent call first):
  /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
  dvo_slam/CMakeLists.txt:24 (catkin_package)

I made sure to source my catkin workspace and confirmed (with rospack) that the package g2o exists. I checked the appropriate CMakeLists.txt, which calls find_package(G2O REQUIRED). I do not understand why I am getting this error.

2017-02-22 09:47:22 -0500 received badge  Popular Question (source)
2017-02-21 12:45:48 -0500 asked a question Trouble viewing kinect image in rviz

I have force reinstalled openni_launch and avin2 on my kinetic operating system, and it successfully launches and detects the kinect without errors. I even successfully installed and built rgbd_launch using cmake. However, every time I try to visualize the output in rviz or image_view, nothing happens. I have no idea why this is occurring, and no error messages are being displayed to provide a starting point. The only clue I have is that when I ran the "make" command in the rgbd_launch directory (after cmake), nothing happened. Any help would be appreciated.

2017-02-20 02:45:24 -0500 asked a question Issue installing dvo_slam on ros Indigo with the Sophus dependecies

Dear all,

I am following this github guide to installing dvo_slam on ros indigo ( https://github.com/songuke/dvo_slam ). I almost have it working, but every time i compile I get the following error:

/usr/bin/ld: /usr/local/lib/libg2o_core.a(hyper_graph_cpp.o): relocation R_X86_64_325 against '_ZTVN3g2o10HyperGraph4EdgeE' can not be used when making a shared object: recompile with -fPIC /usr/local/lib/libg2o_core.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status

This error apparently is related to the dvo_slam/CMakeFiles/dvo_slam.dir/all file. I believe the error originated in the modified Sophus dependency folder, but I am unsure.

I also get the following CMake warning:

(dev) at perception_pcl/pcl_ros/CMakeLists.txt:80 (add_dependencies): Policy CMP0046 is not set: Error on non-existent dependency in add_dependencies. Run "cmake -- help-policy CMP0046" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The dependency target "pcl_ros_generate_messages_cpp" of target "pcl_ros_tf" does not exist.

I believe that this warning does not impact the error, but I am unsure. I'm including it in case it does.

Any help on resolving these would be greatly appreciated, as the package compiles 98% of the way. Tags

2017-02-20 02:45:23 -0500 asked a question Installing dvo_slam on ros indigo

Dear all,

I am following this github guide to installing dvo_slam on ros indigo ( https://github.com/songuke/dvo_slam ). I almost have it working, but every time i compile I get the following error:

/usr/bin/ld: /usr/local/lib/libg2o_core.a(hyper_graph_cpp.o): relocation R_X86_64_325 against '_ZTVN3g2o10HyperGraph4EdgeE' can not be used when making a shared object: recompile with -fPIC /usr/local/lib/libg2o_core.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status

This error apparently is related to the dvo_slam/CMakeFiles/dvo_slam.dir/all file. I believe the error originated in the modified Sophus dependency folder, but I am unsure.

I also get the following CMake warning:

"(dev) at perception_pcl/pcl_ros/CMakeLists.txt:80 (add_dependencies): Policy CMP0046 is not set: Error on non-existent dependency in add_dependencies. Run "cmake -- help-policy CMP0046" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The dependency target "pcl_ros_generate_messages_cpp" of target "pcl_ros_tf" does not exist."

I believe that this warning does not impact the error, but I am unsure. I'm including it in case it does.

Any help on resolving these would be greatly appreciated, as the package compiles 98% of the way.