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

oars's profile - activity

2022-06-22 08:21:04 -0500 received badge  Nice Question (source)
2018-11-19 04:32:16 -0500 received badge  Student (source)
2017-04-21 16:14:38 -0500 received badge  Famous Question (source)
2017-01-18 06:34:24 -0500 received badge  Notable Question (source)
2016-12-15 01:17:28 -0500 received badge  Popular Question (source)
2016-12-14 11:28:50 -0500 commented answer How to check sate of plan execution in MoveIt! during async execution in python?

Awesome! Thanks for the detailed answer. Really appreciate it. This gives me all I need moving forward.

2016-12-14 11:28:21 -0500 received badge  Scholar (source)
2016-12-13 17:31:16 -0500 asked a question How to check sate of plan execution in MoveIt! during async execution in python?

I'm using MoveIt! to generate motion plans for a robot arm. Have it working just fine using the defined move_group for my arm. My question is, when executing a plan with group.go(wait=False), what is the correct way to check on the status of the execution of the path?

The return of group.go(wait=False) is a boolean so that doesn't do me any good, and the group, and robot objects do not seem to have anything indicating a plan is being executed.

2015-01-19 03:37:04 -0500 received badge  Famous Question (source)
2015-01-19 03:37:04 -0500 received badge  Notable Question (source)
2015-01-19 03:37:04 -0500 received badge  Popular Question (source)
2014-06-19 02:26:34 -0500 received badge  Notable Question (source)
2013-11-25 05:17:21 -0500 received badge  Self-Learner (source)
2013-11-25 05:17:21 -0500 received badge  Teacher (source)
2013-11-25 05:12:43 -0500 received badge  Popular Question (source)
2013-11-01 09:35:23 -0500 answered a question How to link code with catkin?

Solved it. I was missing link_directories(lib).

2013-11-01 07:39:54 -0500 asked a question How to link code with catkin?

I'm having trouble linking code with catkin have the following file structure:

mypackage/
|src/
    | ros_node.cpp
|lib/
    | library.c
|include/
    | library.h

ros_node.cpp includes library.h and my CMakelist has the following for building:

add_library(library lib/library.c)
include_directories(include ${catkin_INCLUDE_DIRS})
add_executable(ros_node src/ros_node.cpp)    
add_dependencies(ros_node ros_node_generate_messages_cpp)
target_link_libraries(ros_node ${catkin_LIBRARIES} library)

This fails when linking the library to the ROS node. Anyone able to point me in the right direction for properly linking with ROS?

Thanks

2013-06-10 11:31:47 -0500 asked a question Compiler flags cascading to other projects

I'm having issues with the ros-groovy-visp package as it requires the Cmakelist file to include a separate cmake file: /opt/ros/groovy/share/visp/VISPUse.cmake. The problem arises since this file adds compiler flags which are then affecting compilation for other projects

# Add extra build flags to be able to consider especially for OpenMP
list(APPEND CMAKE_CXX_FLAGS "-fopenmp")
list(APPEND CMAKE_CXX_FLAGS "-std=c++0x")

## Remove duplicates compilation flags separate_arguments(CMAKE_CXX_FLAGS)
list(REMOVE_DUPLICATES CMAKE_CXX_FLAGS)
string(REPLACE ";" " " CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" CACHE STRING "common C++ build flags" FORCE)

How can I go about and remove the compiler flags added by this makefile? Are there better ways of handling this?

2013-03-25 05:55:45 -0500 commented question Add ROS publisher to existing project

@jbohren: Yeah, I found those bindings after opening this question. I'm using this for a quick project so I will just build up from the ros_opentld interface.

2013-03-24 16:01:58 -0500 received badge  Notable Question (source)
2013-03-24 12:19:40 -0500 received badge  Popular Question (source)
2013-03-24 07:38:07 -0500 asked a question Add ROS publisher to existing project

I'm not very experienced with building C++ projects. I'm trying to take the OpenTLD project and add a ROS publisher that will report the location of the tracker.

I have added some code to create the publisher, however I don't know how to properly link ROS to the existing project.

CMakeFiles/opentld.dir/OpenTLD.cpp.o: In function Main::Main()': OpenTLD.cpp:(.text._ZN4MainC2Ev[_ZN4MainC5Ev]+0x7a): undefined reference toros::NodeHandle::NodeHandle(std::basic_string<char, std::char_traits<char="">, std::allocator<char> > const&, std::map<std::basic_string<char, std::char_traits<char="">, std::allocator<char> >, std::basic_string<char, std::char_traits<char="">, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char="">, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char="">, std::allocator<char> > const, std::basic_string<char, std::char_traits<char="">, std::allocator<char> > > > > const&)' OpenTLD.cpp:(.text._ZN4MainC2Ev[_ZN4MainC5Ev]+0x56d): undefined reference to ros::NodeHandle::advertise(ros::AdvertiseOptions&)' OpenTLD.cpp:(.text._ZN4MainC2Ev[_ZN4MainC5Ev]+0x662): undefined reference toros::Publisher::~Publisher()' OpenTLD.cpp:(.text._ZN4MainC2Ev[_ZN4MainC5Ev]+0xd0a): undefined reference to ros::Publisher::~Publisher()' OpenTLD.cpp:(.text._ZN4MainC2Ev[_ZN4MainC5Ev]+0xd12): undefined reference toros::NodeHandle::~NodeHandle()' OpenTLD.cpp:(.text._ZN4MainC2Ev[_ZN4MainC5Ev]+0x1049): undefined reference to ros::Publisher::~Publisher()' CMakeFiles/opentld.dir/OpenTLD.cpp.o: In functionmain': OpenTLD.cpp:(.text.startup+0xb5): undefined reference to ros::Publisher::~Publisher()' OpenTLD.cpp:(.text.startup+0xbe): undefined reference toros::NodeHandle::~NodeHandle()' OpenTLD.cpp:(.text.startup+0x135): undefined reference to ros::NodeHandle::~NodeHandle()' OpenTLD.cpp:(.text.startup+0x146): undefined reference toros::Publisher::~Publisher()'