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

mr101470's profile - activity

2020-09-30 22:41:13 -0500 received badge  Nice Answer (source)
2020-09-30 22:41:09 -0500 received badge  Student (source)
2020-04-27 12:17:54 -0500 received badge  Teacher (source)
2020-04-27 12:17:54 -0500 received badge  Self-Learner (source)
2019-11-25 04:49:37 -0500 received badge  Famous Question (source)
2018-08-14 06:02:05 -0500 received badge  Notable Question (source)
2018-08-14 06:02:05 -0500 received badge  Popular Question (source)
2017-05-11 08:16:19 -0500 received badge  Famous Question (source)
2017-03-17 03:28:06 -0500 received badge  Notable Question (source)
2017-03-17 03:28:06 -0500 received badge  Popular Question (source)
2017-02-22 07:48:12 -0500 received badge  Enthusiast
2017-02-21 14:24:17 -0500 commented answer How to install ROS indigo in Ubuntu 14.04 trusty 64-bit?

Thanks, It solves my problem as well !

2017-02-04 04:33:40 -0500 commented question when rosrun works and roslaunch malfunctions

Hi Steven, Yes, the ip I pass it in the rosrun as well, but after your comment I checked and infact, my node name for the driver was the same as the package name and I thought the name that I insert in the launch file, doest not need to be exactly the same. Thanks for your answer

2017-02-03 11:53:42 -0500 commented question when rosrun works and roslaunch malfunctions

and here is the launch file for the node :

    <launch>
<node name="polar_process" pkg="pleora_polarcam" type="process_stokes_node" output="screen" />
    </launch>
2017-02-03 11:48:39 -0500 commented question when rosrun works and roslaunch malfunctions

here is the launch file for the driver : <launch>

<node name="pleora_polarcam_driver" pkg="pleora_polarcam" type="pleora_polarcam_driver" args="_ip:=169.254.56.68" output="screen"/>

    </launch>
2017-02-03 10:21:39 -0500 asked a question when rosrun works and roslaunch malfunctions

I am just started to work with ROS and I am facing a strange problem. I have executable based on camera driver and another executable which just show the images grabbed (imshow_node). While I start the driver using rosrun and either rosrun or roslaunch imshow_node everything works fine, however if I use roslaunch to start the dirver, and then roslaunch the imshow_node it doesnt show the images, it doesnt give me error neither.

I dont know if anyone came cross this problem before and I appreciate your help Cheers.

2017-02-02 15:42:46 -0500 answered a question linking boost components - catkin error

The problem was solved by adding the following line in the beginning

add_definitions(-DBOOST_LOG_DYN_LINK=1)

and also changing ${Boost_INCLUDE_DIR} to ${Boost_INCLUDE_DIRS} (Note: "DIRS" not "DIR") as per the wiki page on CMakeLists.

2017-02-02 10:16:31 -0500 asked a question linking boost components - catkin error

I followed most of the answers on how to link properly a library and still I cant compile my package with catkin_make, due to undefined reference to boost::log::v2s_mt_posix::trivial::logger::get()

Here is my the summary of my CMakeList.txt:

cmake_minimum_required(VERSION 2.8.3)
project(pleora_polarcam)

add_definitions(-std=c++11)

set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_CXX_FLAGS "-lboost_system") 
set(CMAKE_CXX_FLAGS "-lpthread")

find_package(catkin REQUIRED COMPONENTS
  roscpp
  cv_bridge
  image_transport
  dynamic_reconfigure
  driver_base
  camera_info_manager
)

find_package(OpenCV REQUIRED)
find_package(Boost 1.54 COMPONENTS log_setup log program_options thread REQUIRED)

catkin_package(
  INCLUDE_DIRS include
  LIBRARIES photonfocus_camera
  CATKIN_DEPENDS cv_bridge image_transport roscpp 
  DEPENDS system_lib
  DEPENDS Boost opencv 
)

include_directories(
  ${Boost_INCLUDE_DIR}
  ${catkin_INCLUDE_DIRS}
  ${EBUS_INCLUDE_DIRS}
  ${GNUTLS_INCLUDE_DIR}
)

add_executable(pix2image src/pix2image.cpp)

target_link_libraries(pix2image
  ${OpenCV_LIBRARIES}
  -lpthread
  ${Boost_LIBRARIES}
  ${catkin_LIBRARIES}
)