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

matt27110's profile - activity

2019-09-20 02:31:34 -0500 marked best answer Modify an image from another node

Hello everyone,

Currently, I'm working on the AR drone 2.0 with ROS indigo. I want to track an object.

At the moment, I have 3 nodes: the first one gets a camera capture from the drone's camera and send it to the 2nd node (it works).

The second node takes the capture, binarizes it and send the binarized image to my 3rd node. (it works)

From this binarized image, my 3rd node finds the barycenter of my target and now, I want to draw a rectangle onto the image coming from the camera in the first node but I don't know how to proceed since my 3rd node.

Do you have any idea ?

2018-07-06 07:57:25 -0500 received badge  Self-Learner (source)
2018-07-06 07:57:25 -0500 received badge  Teacher (source)
2018-06-20 15:54:59 -0500 received badge  Famous Question (source)
2018-06-20 02:58:33 -0500 received badge  Notable Question (source)
2018-06-19 15:36:01 -0500 received badge  Popular Question (source)
2018-05-17 11:37:18 -0500 asked a question Docker and ROS

Docker and ROS Hello everyone, As ROS works through TCP/IP communications, can we connect ROS nodes that are running on

2017-10-23 05:07:37 -0500 received badge  Famous Question (source)
2017-09-25 03:41:31 -0500 received badge  Notable Question (source)
2017-09-25 03:41:31 -0500 received badge  Popular Question (source)
2017-09-21 13:06:12 -0500 received badge  Famous Question (source)
2017-07-21 03:02:59 -0500 received badge  Good Question (source)
2017-07-14 16:10:38 -0500 received badge  Famous Question (source)
2017-06-05 05:53:34 -0500 received badge  Notable Question (source)
2017-05-24 10:05:06 -0500 received badge  Notable Question (source)
2017-05-24 10:05:06 -0500 received badge  Popular Question (source)
2017-05-03 18:26:20 -0500 received badge  Famous Question (source)
2017-04-06 10:40:49 -0500 received badge  Notable Question (source)
2017-04-04 07:09:58 -0500 received badge  Nice Question (source)
2017-04-04 07:09:48 -0500 received badge  Popular Question (source)
2017-03-26 02:54:27 -0500 received badge  Famous Question (source)
2017-03-26 02:54:27 -0500 received badge  Notable Question (source)
2017-03-26 02:52:46 -0500 received badge  Popular Question (source)
2017-03-21 05:17:16 -0500 received badge  Student (source)
2017-03-17 14:38:46 -0500 received badge  Notable Question (source)
2017-03-06 12:36:50 -0500 asked a question OpenCV3 - Install extra-modules ROS Kinetic

Hello everyone !

I know there's already a post about this subject : http://answers.ros.org/question/22924... but there's no answer.

OpenCV3 is included with ROS Kinetic. Is there a way to install opencv extra-modules while opencv is already installed ?

Thank you for your help !

2017-02-21 06:31:08 -0500 answered a question link ncurses ROS kinetic

Eureka !!

I removed the 2 lines in the manifest and the pkg_check_modules in the CMakeLIsts. Then I replaced ncurses++ by Curses and it works !

find_package(Curses REQUIRED)
add_executable(test_ncurses src/test_ncurses.cpp )
target_link_libraries(test_ncurses ${catkin_LIBRARIES}  ${Curses_LIBRARIES})
2017-02-21 06:23:59 -0500 commented question link ncurses ROS kinetic

Not working :/

CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
  A required package was not found
2017-02-21 06:17:33 -0500 received badge  Enthusiast
2017-02-20 15:13:43 -0500 asked a question link ncurses ROS kinetic

Hello everyone !

I know there are already posts about this subject but after many tries I don't know how to resolve this problem.

This is my code "test_ncurses.cpp":

// test_ncurses.cpp
#include <ncurses.h>
int main(int argc, char **argv) 
{   
   initscr();    
   printw("Hello world");  
   refresh();    
   getch();    
   endwin();   
   return 0; 
}

In the manifest I added these lines :

<build_depend>ncurses++</build_depend>
<run_depend>ncurses++</run_depend>

And in my CMakeLists.txt :

find_package( PkgConfig REQUIRED )
pkg_check_modules ( ncurses++ REQUIRED ncurses++ )
add_executable(test_ncurses src/test_ncurses.cpp )
target_link_libraries(test_ncurses ${catkin_LIBRARIES}  ${ncurses++_LIBRARIES})

And when I want to catkin_make my project I get errors :

undefined reference to "initscr"
undefined reference to "printw"
undefined reference to "refresh"
undefined reference to "stdscr"
undefined reference to "wgetch"
undefined reference to "endwin"

Do you have any ideas ?

Thank you in advance !

2017-02-20 06:04:25 -0500 commented question cv::Point2d as a ROS Message

I've just tested it and it works !! Thank you !

2017-02-20 05:48:57 -0500 commented question cv::Point2d as a ROS Message

Not yet tested with geometry_msgs

2017-02-19 17:10:49 -0500 asked a question cv::Point2d as a ROS Message

Hello everyone !

I would like to send a cv::Point2d as a ROS message. Is it possible ? I'm not sure whether it is or not.

Otherwise I can send a custom ROS message using 2 variables (int point.x and int point.y).

Thank you for your help !

2017-02-14 15:23:02 -0500 asked a question AR drone 2 Timeout cmd_vel

Hello everyone !

I have a question about the AR drone 2. Is it possible to reset the cmd_vel every X ms from the package ardrone_autonomy ?

I know it's possible on the Bebop, just modifying timeout_cmd_vel = MY_VALUE in the yaml file (bebop_autonomy/bebop_driver/config/default.yaml).

Thanks for your help !!

2017-02-12 11:38:36 -0500 marked best answer Install ardrone_autonomy on ROS Kinetic

Hello everyone !

Do you know how to install the package ardrone_autonomy on ROS kinetic (if it's possible) ?

Thank you for your help !

2017-02-12 11:38:36 -0500 received badge  Scholar (source)
2017-02-12 10:16:27 -0500 received badge  Commentator
2017-02-12 10:16:27 -0500 commented question Install ardrone_autonomy on ROS Kinetic

Ahhhh I thought they were different because in the link the ROS version is indigo and mine is kinetic. Thx !!

2017-02-12 10:12:33 -0500 received badge  Popular Question (source)
2017-02-12 10:04:58 -0500 commented question Install ardrone_autonomy on ROS Kinetic

Finally I downloaded the package with apt-get and this package is located at : /opt/ros/kinetic/share/ardrone_autonomy. I copied/pasted it in catkin_ws/src and I would like to run catkin_make but there's no CMakeList

2017-02-12 10:01:34 -0500 commented question Install ardrone_autonomy on ROS Kinetic

I confused myself xD I was trying to use an indigo package called ardrone_autonomy from this link : https://github.com/AutonomyLab/ardron... , I was wrong

2017-02-12 09:59:40 -0500 commented question Install ardrone_autonomy on ROS Kinetic

but in this package there's no CMakeList.txt

2017-02-12 09:57:18 -0500 commented question Install ardrone_autonomy on ROS Kinetic

/opt/ros/kinetic/share/ardrone_autonomy

2017-02-12 09:25:44 -0500 commented question Install ardrone_autonomy on ROS Kinetic

The apt-get command works well ans i'm using Intel processor