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

requestadepache's profile - activity

2020-04-22 07:52:38 -0500 received badge  Notable Question (source)
2020-04-22 07:52:38 -0500 received badge  Famous Question (source)
2020-02-06 04:20:58 -0500 received badge  Famous Question (source)
2019-07-31 03:24:27 -0500 received badge  Enthusiast
2019-07-30 14:45:07 -0500 received badge  Popular Question (source)
2019-07-30 12:58:36 -0500 answered a question create subscriber for /turtle1/pose data

Solved: I had first to copy data from pointer to another variable with data type turtlesim::Pose For example , turtlesi

2019-07-30 12:58:36 -0500 received badge  Rapid Responder (source)
2019-07-30 12:46:27 -0500 commented question create subscriber for /turtle1/pose data

Thanks i solved it out , I had first to copy data from pointer to another variable with data type turtlesim::Pose For e

2019-07-30 12:42:57 -0500 commented question create subscriber for /turtle1/pose data

Thanks i solved it out , I had first to copy data from pointer to another variable with data type turtlesim::Pose For e

2019-07-30 12:20:10 -0500 edited question create subscriber for /turtle1/pose data

create subscriber for /turtle1/pose data i tried to subscribe /turtle1/pose values to the node i created using this :

2019-07-30 12:14:12 -0500 edited question create subscriber for /turtle1/pose data

create subscriber for /turtle1/pose data i tried to subscribe /turtle1/pose values to the node i created using this :

2019-07-30 12:08:30 -0500 received badge  Editor (source)
2019-07-30 12:08:30 -0500 edited question create subscriber for /turtle1/pose data

create publisher for /turtle1/pose i tried to subscribe /turtle1/pose values to the node i created using this : ** in

2019-07-30 11:58:52 -0500 edited question create subscriber for /turtle1/pose data

create publisher for /turtle1/pose i tried to subscribe /turtle1/pose values to the node i created using this : ** in

2019-07-30 11:58:20 -0500 asked a question create subscriber for /turtle1/pose data

create publisher for /turtle1/pose i tried to subscribe /turtle1/pose values to the node i created using this : ** in

2019-07-28 04:52:00 -0500 received badge  Notable Question (source)
2019-07-27 16:19:20 -0500 marked best answer How to control turtlesim by a publisher data sent by arduino rosserial

I'm noob in ROS, and i used this aduino code to send Float64 data to ros

#include <std_msgs/Float64.h>

ros::NodeHandle  nh;

std_msgs::Float64 float_msg;

ros::Publisher chatter("chatter", &float_msg);

float x = 5;

void setup()

{

  nh.initNode();

  nh.advertise(chatter);

}


void loop()
{

  float_msg.data = x;


  chatter.publish( &float_msg );

  nh.spinOnce();
  delay(1000);
}

then i used the following command to control turtle sent publisher data

rostopic pub -1 /turtle1/cmd_vel geometry_msgs/Twist -- '[chatter, 0.0, 0.0]' '[0.0, 0.0, 1.8]'

but it doesn't read chatter as Float64 data so it doesn't work , even i checked rostopic info chatter and it had float64 data type

Thanks in advance

2019-07-27 16:19:20 -0500 received badge  Scholar (source)
2019-07-27 16:18:14 -0500 received badge  Popular Question (source)
2019-07-27 06:18:38 -0500 commented answer How to control turtlesim by a publisher data sent by arduino rosserial

Thanks for your help :)

2019-07-27 06:18:14 -0500 received badge  Supporter (source)
2019-07-26 22:23:13 -0500 asked a question How to control turtlesim by a publisher data sent by arduino rosserial

How to control turtlesim by a publisher data sent by arduino rosserial I'm noob in ROS, and i used this aduino code to s