ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2018-09-13 09:51:28 -0500 | received badge | ● Nice Question (source) |
2015-09-21 22:49:25 -0500 | received badge | ● Good Question (source) |
2015-09-18 18:41:49 -0500 | marked best answer | How to rosservice call with arrays I'm using ROS electric. I have an srv that contains 2 arrays of int32[] rosmake functions correctly and the service is listed. However when I try to call the service I cannot get it to accept the arrays. Could someone please give me an example of the syntax for the rosservice call command? |
2015-07-20 03:43:44 -0500 | received badge | ● Nice Question (source) |
2015-04-23 03:32:52 -0500 | marked best answer | cannot launch on multiple computers Using Ros Electric and Ubuntu 11.10 I'm attempting to run a launch file from my control computer and have some nodes run locally and some on the remote computer. My launch files looks like this: What I get when I run my roslaunch command is: I know that the remote computer is in my know_hosts file and I followed the instructions here but I continue to get the same error. I've tried it with/out passwords and with/out the ROSLAUNCH_SSH_UNKNOWN=1 Any suggestions? |
2014-01-28 17:28:53 -0500 | marked best answer | independent stereo cameras Hi all, My robot has two cameras for eyes that are in fixed locations but can rotate (pitch & yaw) independently of one another. I've gotten the stereo camera node to work and have run my calibration successfully while the eyes are in fixed positions. Is there a package that can handle the changes in viewing angles while the eyes are moving? Thanks for you time. |
2014-01-28 17:27:17 -0500 | marked best answer | sound_play playWave() is not playing sound I followed the directions I received in: http://answers.ros.org/question/41385/play-a-sound-file-in-a-python-node/ I had the sound_play's soundClient functionality working for some time. However it has inexplicably stopped working and I'm unsure as to why. I'm starting the sound_playnode.py and running the following in another node. The relevant lines from my node (and launch file) are: With numerous print statements I can tell that the soundhandle.playWave(my_sound) is being called and does not appear to generate an error, but no sound is played. I have tried the second method as well, but with the same results. I can run and get the sound to play every time. Any help would be appreciated. Thanks |
2014-01-28 17:27:11 -0500 | marked best answer | running bash in a launch file I have a robot with 2 identical cameras that I need to distinguish between at runtime. The only thing that tells me which is which is the serial number and which of the two ports they appear on is random. Not a problem. I have a script that will check that for me and will return 0 or 1 depending on which camera it detects on which port. I have also tried it with 'true' and 'false' I'm trying to use this in my launch file so that when the robot starts up it auto detect and configure the ports. When I run this I get: The http://www.ros.org/wiki/roslaunch/XML page says:
Has anyone tried to do something similar and if so how do you get ROS to recognize the bool? Ros Electric, Ubuntu 11.10 |
2014-01-28 17:26:59 -0500 | marked best answer | Play a sound file in a python node I've done the soundplay tutorial and can play a file from the command line, but can someone explain how to do it from inside a python program? I've followed the directions from a similar question about the text-to-speech and that works fine but I'm unsure what changes are needed for a file instead. |
2014-01-28 17:26:50 -0500 | marked best answer | rosrun cannot find specified node file Using electric on Ubuntu 11.10 I recently created a new package and node. Something I have done before with no problems. There were no errors with rosmake. When I go to run the node I wrote via I get "No such file or directory" despite the file being in /my_workspace/my_package/nodes/my_node.py The file is in place and set as executable, ros can find and build the package but will not run my node. The only edits I made to the CMakeList.txt file were to uncomment the rosbuild_genmsg() and rosbuild_gensrv() lines. |
2014-01-28 17:26:50 -0500 | marked best answer | error installing audio_common I've been following the instructions for downloading and installing audio_common. I'm running electric on Ubuntu 11.10 I get this error: I am unsure how to proceed. |
2014-01-28 17:26:45 -0500 | marked best answer | writing nodes and defining custom messages/services in rosjava I'm trying to follow the rosjava tutorials for creating my own node. This node needs to be both a publisher and a server. I'm finding the rather brief notes on rosjava messages lacking the level of detail I need, being rather new to ROS and rosjava in particular. I have built .mgs and .srv files for other nodes using rospy, but the structure of rosjava seems sufficiently different that I'm unsure what to do. I need to define two messages one is an arrays of ints, the other an array of floats I also need to define services that are an array of int/floats pairs (or a single int/float pair), neither service returns anything. I'm also unsure as to where to place my .java and externally linked library .jar files to have this node run correctly. Any help would be appreciated. |
2014-01-28 17:26:39 -0500 | marked best answer | Setting up workspace I recently had to reinstall ros and roll back to electric. I have been trying to configure my system to use my ~/ros_workspace folder instead of the default /opt/ros/electric/ I've tried altering the ROS_PACKAGE_PATH and still cannot get ros to recognize that folder. roscd continues to take me to opt/ros/electric and will not locate my packages even when I explicitly call them. I've tried following all the instructions I could find in the tutorials and here in the forums, but I'm at a bit of a loss. |
2014-01-28 17:25:59 -0500 | marked best answer | Installation problems with Fuerte and rosjava Hello everyone, I'm trying to install rosjava for use with fuerte on Ubuntu 12.04 I followed the installation instructions substituting fuerte for electric. Everything seems to be working fine until I run the rosws update command. I'm rather new to linux so I'm not sure what I should be doing to fix this. Any help would be appreciated. |
2014-01-10 06:45:03 -0500 | marked best answer | launching image_view for a topic I am trying to view the images my robot's cameras are receiving remotely. The following in the command line will bring up a window with the video stream However I cannot find any information on how to put the " Alternatively, how can I use image_view in a python node to embed the video in a gui of my design? I'm using: ROS electric Ubuntu 11.10 uvc_camera Tkinter |