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

jahim44229's profile - activity

2022-08-31 01:44:30 -0500 received badge  Famous Question (source)
2022-08-31 01:44:30 -0500 received badge  Notable Question (source)
2020-07-04 14:39:18 -0500 received badge  Famous Question (source)
2020-06-10 01:14:57 -0500 received badge  Notable Question (source)
2020-06-10 01:14:57 -0500 received badge  Popular Question (source)
2020-06-02 20:56:39 -0500 received badge  Famous Question (source)
2020-05-14 04:53:50 -0500 received badge  Famous Question (source)
2020-04-14 03:28:28 -0500 received badge  Popular Question (source)
2020-04-02 07:31:30 -0500 commented answer What exactly is causing this error whne compiling the node ?

My system compiled the code I sent to you. The error is not in the code. You should control the CMakeLists.txt.

2020-04-02 07:30:09 -0500 commented answer What exactly is causing this error whne compiling the node ?

My system compiled the code I sent to you. The error is not in the code. You should control CMakeLists.txt.

2020-04-02 07:29:47 -0500 commented answer What exactly is causing this error whne compiling the node ?

My computer compiled the code I sent to you. The error is not in the code. You should control CMakeLists.txt.

2020-04-02 07:23:12 -0500 edited answer What exactly is causing this error whne compiling the node ?

Please add -> #include <image_transport/image_transport.h> #include <ros/ros.h> #include <image_tra

2020-04-02 07:22:36 -0500 edited answer What exactly is causing this error whne compiling the node ?

include <ros ros.h=""> #include <image_transport/image_transport.h> void imageCallback(const sens

2020-04-02 07:22:18 -0500 edited answer What exactly is causing this error whne compiling the node ?

include <ros ros.h=""> #include <image_transport/image_transport.h> void imageCallback(const sensor_msgs:

2020-04-02 07:22:05 -0500 edited answer What exactly is causing this error whne compiling the node ?

include <ros ros.h=""> #include <image_transport/image_transport.h> void imageCallback(const sensor_msgs:

2020-04-02 07:21:37 -0500 edited answer What exactly is causing this error whne compiling the node ?

include <ros ros.h=""> #include <image_transport/image_transport.h> void imageCallback(const sensor_msgs:

2020-04-02 07:20:55 -0500 answered a question What exactly is causing this error whne compiling the node ?

#include <ros/ros.h> #include <image_transport/image_transport.h> void imageCallback(const sensor_msgs::Im

2020-04-02 07:20:55 -0500 received badge  Rapid Responder (source)
2020-04-02 07:07:57 -0500 answered a question I created a python and c++ node . But I cant see my nodes with rosrun command.

Open bashrc file; nano ~/.bashrc Add this to the end; source ~/catkin_ws/devel/setup.bash Then save and quit. If

2020-04-02 07:07:57 -0500 received badge  Rapid Responder (source)
2020-04-02 06:56:55 -0500 asked a question Mapping(SLAM)

Mapping(SLAM) Hey guys, I have a odometry message and point clouds. How can I make a map using them? How can I combine

2020-04-02 06:51:55 -0500 received badge  Notable Question (source)
2020-03-27 05:24:43 -0500 received badge  Famous Question (source)
2020-03-27 05:24:43 -0500 received badge  Notable Question (source)
2020-03-11 03:18:17 -0500 marked best answer How to change OpenCV version of any ros package?

Example ;

find_package(RTABMap 0.19.5 REQUIRED)

find_package(OpenCV 4.2.0 REQUIRED)

find_package(PCL 1.7 REQUIRED)
add_definitions(${PCL_DEFINITIONS}) # To include -march=native if set

catkin_package(
  INCLUDE_DIRS include
  LIBRARIES rtabmap_ros
  CATKIN_DEPENDS cv_bridge roscpp rospy sensor_msgs std_msgs std_srvs nav_msgs geometry_msgs visualization_msgs
                 image_transport tf tf_conversions tf2_ros eigen_conversions laser_geometry pcl_conversions 
                 pcl_ros nodelet dynamic_reconfigure message_filters class_loader rosgraph_msgs
                 stereo_msgs move_base_msgs image_geometry ${optional_dependencies}
  DEPENDS RTABMap OpenCV
)

###########
## Build ##
###########

## Specify additional locations of header files
## Your package locations should be listed before other locations
# include_directories(include)
include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}/include
  ${RTABMap_INCLUDE_DIRS}
  ${OpenCV_INCLUDE_DIRS}
  ${PCL_INCLUDE_DIRS}
  ${catkin_INCLUDE_DIRS}
)

# libraries
SET(Libraries
   ${OpenCV_LIBRARIES}
   ${PCL_LIBRARIES}
   ${catkin_LIBRARIES}
   ${RTABMap_LIBRARIES}
)

It works like this when compiled.

I just changed the find_package () section.

Is it necessary to make changes in other parts? For Example in catkin_package ().

catkin_package ( DEPENDS RTABMap OpenCV )

to

catkin_package ( DEPENDS RTABMap OpenCV 4.2.0 )

Thanks in advance.

2020-03-10 03:31:17 -0500 received badge  Popular Question (source)
2020-03-09 04:53:45 -0500 edited question How to change OpenCV version of any ros package?

How to change OpenCV version of any ros package? Example ; find_package(RTABMap 0.19.5 REQUIRED) find_package(OpenCV

2020-03-09 04:53:02 -0500 edited question How to change OpenCV version of any ros package?

How to change OpenCV version of any ros package? Example ; find_package(RTABMap 0.19.5 REQUIRED) find_package**(OpenC

2020-03-09 04:53:02 -0500 received badge  Editor (source)
2020-03-09 04:51:50 -0500 asked a question How to change OpenCV version of any ros package?

How to change OpenCV version of any ros package? Example ; find_package(RTABMap 0.19.5 REQUIRED) find_package**(OpenC

2020-03-04 07:28:26 -0500 received badge  Enthusiast
2020-03-02 06:33:44 -0500 edited question How should we add recompiled files to CMakeList?

How should we add recompiled files to CMakeList? My computer has ros-melodic-desktop full installed. To change the openc

2020-03-02 06:32:04 -0500 asked a question How should we add recompiled files to CMakeList?

How should we add recompiled files to CMakeList? My computer has ros-melodic-desktop full installed. To change the openc

2020-03-02 02:27:18 -0500 marked best answer catkin_make opencv version conflict.

Hello everyone ; When I write catkin_make it gives such a warning.

/usr/bin/ld: warning: libopencv_core.so.4.2, needed by /usr/local/lib/libopencv_highgui.so.4.2.0, may conflict with libopencv_core.so.3.2.

I installed opencv with sudo apt and then I installed it from source. How can i fix the warning ?

Thanks.

2020-03-02 02:27:18 -0500 received badge  Scholar (source)
2020-03-02 02:25:59 -0500 received badge  Notable Question (source)
2020-02-27 08:26:15 -0500 commented answer catkin_make opencv version conflict.

How Ros finds OpenCV 3.2. I didn't even write it in the CMakeList.

2020-02-27 08:25:05 -0500 commented answer catkin_make opencv version conflict.

I get the same warning again.

2020-02-27 08:24:41 -0500 commented answer catkin_make opencv version conflict.

Like this ? set(OpenCV_DIR /usr/local/lib/cmake/opencv4) find_package(catkin REQUIRED COMPONENTS cv_bridge messa

2020-02-27 08:24:28 -0500 commented answer catkin_make opencv version conflict.

Like this ? set(OpenCV_DIR /usr/local/lib/cmake/opencv4) find_package(catkin REQUIRED COMPONENTS cv_bridge message_f

2020-02-25 08:07:31 -0500 commented question [RTABMAP] Features2d.cpp:937::parseParameters() GPU version of ORB not available (OpenCV cudafeatures2d module)! Using CPU version instead...

I use OpenCV 4.2.0.

2020-02-25 08:06:51 -0500 asked a question [RTABMAP] Features2d.cpp:937::parseParameters() GPU version of ORB not available (OpenCV cudafeatures2d module)! Using CPU version instead...

[RTABMAP] Features2d.cpp:937::parseParameters() GPU version of ORB not available (OpenCV cudafeatures2d module)! Using C

2020-02-25 07:17:19 -0500 commented answer catkin_make opencv version conflict.

Like this ? set(OpenCV_DIR /usr/local/lib/cmake/opencv4) find_package(catkin REQUIRED COMPONENTS cv_bridge message_f

2020-02-25 07:16:59 -0500 commented answer catkin_make opencv version conflict.

Like this ? set(OpenCV_DIR /usr/local/lib/cmake/opencv4) find_package(catkin REQUIRED COMPONENTS cv_bridge message_

2020-02-25 07:12:52 -0500 received badge  Popular Question (source)
2020-02-25 03:02:08 -0500 received badge  Popular Question (source)
2020-02-20 09:02:28 -0500 commented answer catkin_make opencv version conflict.

Normally this was the case; set(OpenCV_DIR /usr/local/lib/cmake/opencv4) find_package(catkin REQUIRED COMPONENTS ros

2020-02-20 09:02:14 -0500 commented answer catkin_make opencv version conflict.

Normally this was the case; set(OpenCV_DIR /usr/local/lib/cmake/opencv4) find_package(catkin REQUIRED COMPONENTS ros