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

ganam's profile - activity

2018-03-05 08:02:07 -0500 received badge  Notable Question (source)
2017-05-02 09:18:29 -0500 received badge  Supporter (source)
2016-11-21 07:53:35 -0500 received badge  Popular Question (source)
2016-11-21 01:33:52 -0500 received badge  Editor (source)
2016-11-20 00:55:33 -0500 asked a question multiple gazebo robots acts differently while given the same order.

i'm running a simulation where I spawn two models of my robot in gazebo and give them the same order to walk in a circle I'm using different name spaces for every robot and able to publish each robot's order separately. i defined two publishers for each robot :

 ros::Publisher publisher =
 n.advertise<geometry_msgs::Twist>("/gazebo/robot1/velocity_command", 10);

  ros::Publisher publisher1 =
 n.advertise<geometry_msgs::Twist>("/gazebo/robot2/velocity_command", 10);

then i published the same predefined geometry message for each one :

 while (ros::ok())
           { 
          publisher.publish(msg);
           publisher1.publish(msg);
           ros::spinOnce();
           loop_rate.sleep();
           }

both robots move well for a short time. then they start to deviate from each other drastically. I just can't imagine what would cause this.

2016-10-09 05:10:16 -0500 received badge  Enthusiast
2016-10-05 05:24:13 -0500 answered a question rqt_graph not shown in window

I found this answer in some Asian blog and it worked with me http://kawauso-festival.blogspot.com....

the steps were :

$ sudo pip uninstall pyparsing

$ pip install -Iv https://pypi.python.org/packages/source/p/pyparsing/pyparsing-1.5.7.tar.gz#md5=9be0fcdcc595199c646ab317c1d9a709

$ sudo pip install pydot

$ rosrun rqt_graph rqt_graph