2018-02-23 10:53:44 -0500 | received badge | ● Notable Question
(source)
|
2018-02-23 10:53:44 -0500 | received badge | ● Popular Question
(source)
|
2018-02-23 10:53:44 -0500 | received badge | ● Famous Question
(source)
|
2012-10-13 14:26:11 -0500 | received badge | ● Famous Question
(source)
|
2012-07-01 22:51:48 -0500 | received badge | ● Notable Question
(source)
|
2011-10-06 21:39:03 -0500 | received badge | ● Popular Question
(source)
|
2011-03-29 15:58:35 -0500 | marked best answer | video stream in ros Did you export your ROS_IP or ROS_HOSTNAME on the other machine also?
Otherwise could you post: $env | grep ROS
And a image of rxgraph with all topics listed could solve the problem.
Is there something published on the topic? rostopic hz /gscam/image_raw
|
2011-03-12 21:16:39 -0500 | received badge | ● Supporter
(source)
|
2011-03-12 21:16:29 -0500 | answered a question | video stream in ros this what i did on the robot i set my export ROS_MASTER_URI=http://ip of robot:11311
and launched roscore
then i ran rosrun gscam gscam
in my laptop i ran export ROS_MASTER_URI=http://ip of robot:11311
then rosrun image_view image_view image:=/gscam/image_raw I ran rostopic hz /gscam/image_raw and got subscribed to [/gscam/image_raw] |
2011-03-11 18:13:18 -0500 | asked a question | video stream in ros i started to stream video using ros by using ssh to connect to the target system where i have attached the camera. I launched a gscam node there and it is working. then in the other system i exported ros_master_uri. When i rostopic list the nodes. I shows /gscam/image_raw publishing. But when i run rosrun image_view image_view image:=/gscam/image_raw the window opens but no video. I did try compressed transport also. Could you please help me? |
2011-03-03 14:03:38 -0500 | marked best answer | avr_bridge help Not sure of this one but you wrote: node.subscribe("call",response(&call_msg));
instead of: node.subscribe("call",response,&call_msg);
|
2011-02-24 20:40:40 -0500 | answered a question | avr_bridge help i will try that and see. Thanks. |
2011-02-18 20:16:02 -0500 | received badge | ● Editor
(source)
|
2011-02-18 20:12:17 -0500 | asked a question | avr_bridge help I tried to run the the 'hello' example given in the tutorial. I first generated avr_ros library which i then included in the libraries folder in arduino(/usr/share/arduino).I then edited the files to make all header refference local by removing "avr-ros/" from all headers. This the final program i got #include <stdio.h>
#include <span style="color: #006699;">"ros.h"</span> <span style="color: #7E7E7E;">//main avrRos library</span>
#include <span style="color: #006699;">"String.h"</span> <span style="color: #7E7E7E;">//std_msg/String library</span>
namespace ros {
<span style="color: #CC6600;">int</span> fputc(<span style="color: #CC6600;">char</span> c, FILE *stream) {
<span style="color: #CC6600;"><b>Serial</b></span>.<span style="color: #CC6600;">write</span>(c);
<span style="color: #CC6600;">return</span> 0;
}
}
<span style="color: #7E7E7E;">//Define global message objects to use in</span>
<span style="color: #7E7E7E;">//the callback functions and throughout the program</span>
<span style="color: #7E7E7E;"><b>ros:</b></span>:Publisher resp;
<span style="color: #7E7E7E;"><b>std_msgs:</b></span>:String call_msg;
<span style="color: #7E7E7E;"><b>std_msgs:</b></span>:String response_msg;
<span style="color: #CC6600;">void</span> toggle()
{ <span style="color: #7E7E7E;">//toggle an led to debug the program</span>
<span style="color: #CC6600;">static</span> <span style="color: #CC6600;">char</span> t=0;
<span style="color: #CC6600;">if</span> (!t ) {
<span style="color: #CC6600;">digitalWrite</span>(13, <span style="color: #006699;">HIGH</span>); <span style="color: #7E7E7E;">// set the LED on</span>
t = 1;
} <span style="color: #CC6600;">else</span> {
<span style="color: #CC6600;">digitalWrite</span>(13, <span style="color: #006699;">LOW</span>); <span style="color: #7E7E7E;">// set the LED off</span>
t = 0;
}
}
<span style="color: #CC6600;">void</span> response(Msg *msg){
toggle();
<span style="color: #7E7E7E;">//make sure that if you are manipulating the raw string,</span>
<span style="color: #7E7E7E;">//there is enough space in it</span>
<span style="color: #7E7E7E;">//to handle all of the data</span>
sprintf(response_msg.data.getRawString(),
<span style="color: #006699;">"You sent : %s"</span>, call_msg.data.getRawString());
node.publish(resp ... (more) |