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

aimc's profile - activity

2021-06-03 12:20:26 -0500 received badge  Great Answer (source)
2017-05-12 11:34:43 -0500 marked best answer how to change usb_cam parameters?

Hello. I have installed usb_cam package. And making use of it with visp_auto_tracker:

roslaunch visp_auto_tracker tracklive_usb.launch

But the camera looks quite bright, i would like to edit those parameters (brightness, contrast, etc.) as easily as with dynamic_reconfigure and uvc (which i used for a totally different project):

rosrun dynamic_reconfigure dynparam set /uvc_cam_node contrast 90

Please help.

Greetings ROS community.

2016-08-26 22:46:26 -0500 received badge  Great Question (source)
2015-12-02 11:10:17 -0500 received badge  Good Answer (source)
2015-09-30 11:04:53 -0500 received badge  Nice Answer (source)
2014-04-08 13:15:39 -0500 received badge  Taxonomist
2014-01-28 17:29:42 -0500 marked best answer include package ??

Hi. I have written a C++ program, which goes by the name:

listener.cpp

located in:

/home/user/catkin_ws/src/project1/src/listener.cpp

Which works fine, but is unable to import one .h file:

    #include "ros/ros.h"
    #include "std_msgs/String.h"
    #include "std_msgs/Int8.h" 
//#include <sound_play/sound_play.h>
    #include <unistd.h>

Without the sound_play line, it works, and the program does what is expected. But i am needing to make use of sound_play. This is the catkin_make output when running it without commenting the line:

[100%] Building CXX object project1/CMakeFiles/project1.dir/src/listener.cpp.o
/home/user/catkin_ws/src/project1/src/listener.cpp:4:35: fatal error: sound_play/sound_play.h: No such file or directory
compilation terminated.

I do have installed audio_common, and already catkin_make'd it. It is located in:

/opt/ros/groovy/stacks/

And the terminal is "sourced" with:

source catkin_ws/devel/setup.sh

I've tried (for testing purposes) to import other things, and it seems like it only allows you to import things that are in the opt/ros/share folder. By the way, what i want to do with sound_play is more or less like documented here: test.cpp for sound_play

How may I include sound_play package? Any help is welcomed, as I think i am not coping with the include and dependency system yet. Greetings ROS community.

EDIT: So after some answers, i decided to build with rosmake, and i followed more or less the listener talker tutorial. I created a package with the same dependencies, except for adding sound_play Whenever i build, it throws an error, because it cannot use ros.h properly:

Linking CXX executable ../bin/talker
  CMakeFiles/talker.dir/src/talker.cpp.o: In function `ros::Publisher ros::NodeHandle::advertise<std_msgs::String_<std::allocator<void> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, bool)':
  /opt/ros/groovy/include/ros/node_handle.h:241: undefined reference to `ros::NodeHandle::advertise(ros::AdvertiseOptions&)'
  CMakeFiles/talker.dir/src/talker.cpp.o: In function `void ros::Publisher::publish<std_msgs::String_<std::allocator<void> > >(std_msgs::String_<std::allocator<void> > const&) const':
  /opt/ros/groovy/include/ros/publisher.h:106: undefined reference to `ros::Publisher::Impl::isValid() const'
  /opt/ros/groovy/include/ros/publisher.h:118: undefined reference to `ros::Publisher::publish(boost::function<ros::SerializedMessage ()> const&, ros::SerializedMessage&) const'
  CMakeFiles/talker.dir/src/talker.cpp.o: In function `main':
  /home/aimc/catkin_ws/src/include_test/src/talker.cpp:21: undefined reference to `ros::init(int&, char**, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
  /home/aimc/catkin_ws/src/include_test/src/talker.cpp:28: undefined reference to `ros::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 ...
(more)
2014-01-28 17:29:29 -0500 marked best answer Fingerprint reader and ROS

Hi. Is there a package or recommended tutorial for using a fingerprint reader with ROS? I am actually planning to buy this model: http://es.dhgate.com/usb-fingerprint-reader-password-lock-for/p-ff80808138bd3a540138d57a4f96511d.html

Any info or project example would be appreciated also! Greetings ROS community.

2014-01-28 17:28:43 -0500 marked best answer suitable for industrial use?

Is ROS suitable for use on an industrial scale? (example: automatization of manufacture of plastic bottles).

Would be helpful if there were some example projects for these cases, if exist.

greetings to ros community

2014-01-28 17:28:43 -0500 marked best answer is it easy to write own drivers?

Suppose i have here a new Bluetooth PS joystick. Would it be easy to write a driver for it to work with ros? would it be a lot harder than writing a sensor for Ubuntu Linux?

Thanks in advance, i'm very novice in this matters.

greetings ros community

2013-07-18 11:46:04 -0500 received badge  Famous Question (source)
2013-05-22 08:27:24 -0500 received badge  Good Question (source)
2013-05-14 06:05:50 -0500 received badge  Famous Question (source)
2013-04-27 05:46:32 -0500 received badge  Famous Question (source)
2013-04-10 08:19:31 -0500 received badge  Notable Question (source)
2013-04-02 13:19:14 -0500 received badge  Notable Question (source)
2013-04-01 05:37:57 -0500 received badge  Nice Question (source)
2013-03-31 04:59:32 -0500 received badge  Popular Question (source)
2013-03-30 15:14:37 -0500 asked a question QR Code detection?

I am developing a project which makes use of visp_auto_tracker, among other packages. The visp code allows to keep track of a QR o flashcode: visp_auto_tracker

But it doesn't make any difference between QR codes (the package doesn't read them).

Is there any ROS QR Code detection package OR project available?

If there isn't, i'm planning to make a Java node that deciphers QR code from an image and present the result with a ROS message (or something similar).

Any help is appreciated. Many greetings ROS community.

2013-03-29 18:39:19 -0500 commented answer How to get new stack/package installed into your Ubuntu?

I agree and also would like to add that using git command also works.

2013-03-25 14:53:36 -0500 received badge  Notable Question (source)
2013-03-25 05:14:27 -0500 received badge  Popular Question (source)
2013-03-23 06:17:53 -0500 received badge  Nice Answer (source)
2013-03-19 01:50:39 -0500 answered a question I can't install ros at the first step!

Try:

sudo apt-get clean
sudo apt-get update

to clean the repositories. Please comment or reply if it worked.