Revision history [back]

Problem with Transform-Publisher on custom Bot

Hi Everyone,

i hope someone can answer me a question. I have a custom robot and i would like to use the Navigation-Stack of ROS. i follow this tutorial: (http://wiki.ros.org/navigation).The Problem is that anything is incorrect on my Transform Publisher. The tf-tree is odom-->map-->base_link-->base_laser.

Here is my Transform-Publisher:

#include <ros/ros.h>

int main(int argc, char** argv){

ros::init(argc, argv, "robot_tf_publisher");
ros::NodeHandle n;

ros::Rate r(100);

while(n.ok()){
tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 1), tf::Vector3(0.1, 0.0, 0.2)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),
ros::Time::now(),"map", "odom"));

r.sleep();
}
}


If i start the Ros-Navigation the last Message is "odom received". All is ok! So when i click on "2D Pose Estimate" the result is this: https://www.dropbox.com/s/n211hzuvjrr4rdj/Screenshot%202015-04-29%2016.21.35.png?dl=0

if i still click on the button "2D Nav Goal" the robot rotates in a circle and i get an Error:

"Rotate recovery can't´t rotate in place because thesauri is a potential collision. cost -1.00"

Here is the log:

https://www.dropbox.com/s/rfabmy6idns5av8/Screenshot%202015-04-29%2016.23.49.png?dl=0

I think the Problem is the Transform-Publisher. Can anybody help me?

Thanks Max

Problem with Transform-Publisher on custom Bot

Hi Everyone,

i hope someone can answer me a question. I have a custom robot and i would like to use the Navigation-Stack of ROS. i follow this tutorial: (http://wiki.ros.org/navigation).The (http://wiki.ros.org/navigation) The Problem is that anything is incorrect on my Transform Publisher. The tf-tree is odom-->map-->base_link-->base_laser.

Here is my Transform-Publisher:

#include <ros/ros.h>

int main(int argc, char** argv){

ros::init(argc, argv, "robot_tf_publisher");
ros::NodeHandle n;

ros::Rate r(100);

while(n.ok()){
tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 1), tf::Vector3(0.1, 0.0, 0.2)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),
ros::Time::now(),"map", "odom"));

r.sleep();
}
}


If i start the Ros-Navigation the last Message is "odom received". All is ok! So when i click on "2D Pose Estimate" the result is this: https://www.dropbox.com/s/n211hzuvjrr4rdj/Screenshot%202015-04-29%2016.21.35.png?dl=0

if i still click on the button "2D Nav Goal" the robot rotates in a circle and i get an Error:

"Rotate recovery can't´t rotate in place because thesauri is a potential collision. cost -1.00"

Here is the log:

https://www.dropbox.com/s/rfabmy6idns5av8/Screenshot%202015-04-29%2016.23.49.png?dl=0

I think the Problem is the Transform-Publisher. Can anybody help me?

Thanks Max

Problem with Transform-Publisher on custom Bot

Hi Everyone,

i hope someone can answer me a question. I have a custom robot and i would like to use the Navigation-Stack of ROS. i follow this tutorial: (http://wiki.ros.org/navigation) The Problem is that anything is incorrect on my Transform Publisher. The tf-tree is odom-->map-->base_link-->base_laser.

Here is my Transform-Publisher:

#include <ros/ros.h>

int main(int argc, char** argv){

ros::init(argc, argv, "robot_tf_publisher");
ros::NodeHandle n;

ros::Rate r(100);

while(n.ok()){
tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 1), tf::Vector3(0.1, 0.0, 0.2)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),
ros::Time::now(),"map", "odom"));

r.sleep();
}
}


If i start the Ros-Navigation the last Message is "odom received". All is ok! So when i click on "2D Pose Estimate" the result is this: https://www.dropbox.com/s/n211hzuvjrr4rdj/Screenshot%202015-04-29%2016.21.35.png?dl=0

if i still click on the button "2D Nav Goal" the robot rotates in a circle and i get an Error:

"Rotate recovery can't´t rotate in place because thesauri there is a potential collision. cost -1.00"

Here is the log:

https://www.dropbox.com/s/rfabmy6idns5av8/Screenshot%202015-04-29%2016.23.49.png?dl=0

I think the Problem is the Transform-Publisher. Can anybody help me?

Thanks Max

Problem with Transform-Publisher on custom Bot

Hi Everyone,

i hope someone can answer me a question. I have a custom robot and i would like to use the Navigation-Stack of ROS. i follow this tutorial: (http://wiki.ros.org/navigation) The Problem is that anything is incorrect on my Transform Publisher. The tf-tree is odom-->map-->base_link-->base_laser.

Here is my Transform-Publisher:

#include <ros/ros.h>

int main(int argc, char** argv){

ros::init(argc, argv, "robot_tf_publisher");
ros::NodeHandle n;

ros::Rate r(100);

while(n.ok()){
tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 1), tf::Vector3(0.1, 0.0, 0.2)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),
ros::Time::now(),"map", "odom"));

r.sleep();
}
}


If i start the Ros-Navigation the last Message is "odom received". All is ok! So when i click on "2D Pose Estimate" the result is this: https://www.dropbox.com/s/n211hzuvjrr4rdj/Screenshot%202015-04-29%2016.21.35.png?dl=0

The Odom-Frame and the base_laser-Frame are on two different places. Why?

if i still click on the button "2D Nav Goal" the robot rotates in a circle and i get an Error:

"Rotate recovery can't´t rotate in place because there is a potential collision. cost -1.00"

Here is the log:

https://www.dropbox.com/s/rfabmy6idns5av8/Screenshot%202015-04-29%2016.23.49.png?dl=0

I think the Problem is the Transform-Publisher. Can anybody help me?

Thanks Max

Problem with Transform-Publisher on custom Bot

Hi Everyone,

i hope someone can answer me a question. I have a custom robot and i would like to use the Navigation-Stack of ROS. i follow this tutorial: (http://wiki.ros.org/navigation) The Problem is that anything is incorrect on my Transform Publisher. The tf-tree is odom-->map-->base_link-->base_laser.

Here is my Transform-Publisher:

#include <ros/ros.h>

int main(int argc, char** argv){

ros::init(argc, argv, "robot_tf_publisher");
ros::NodeHandle n;

ros::Rate r(100);

while(n.ok()){
tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 1), tf::Vector3(0.1, 0.0, 0.2)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),
ros::Time::now(),"map", "odom"));

r.sleep();
}
}


If i start the Ros-Navigation the last Message is "odom received". All is ok! So when i click on "2D Pose Estimate" the result is this: https://www.dropbox.com/s/n211hzuvjrr4rdj/Screenshot%202015-04-29%2016.21.35.png?dl=0

The Odom-Frame and the base_laser-Frame are on two different places. Why?

if i still click on the button "2D Nav Goal" the robot rotates in a circle and i get an Error:

"Rotate recovery can't´t rotate in place because there is a potential collision. cost -1.00"

Here is the log:

I think the Problem is the Transform-Publisher. Can anybody help me?

Thanks Max

Problem with Transform-Publisher on custom Bot

Hi Everyone,

i hope someone can answer me a question. I have a custom robot and i would like to use the Navigation-Stack of ROS. i follow this tutorial: (http://wiki.ros.org/navigation) The Problem is that anything is incorrect on my Transform Publisher. The tf-tree is odom-->map-->base_link-->base_laser.

Here is my Transform-Publisher:

#include <ros/ros.h>

int main(int argc, char** argv){

ros::init(argc, argv, "robot_tf_publisher");
ros::NodeHandle n;

ros::Rate r(100);

while(n.ok()){
tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 1), tf::Vector3(0.1, 0.0, 0.2)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),
ros::Time::now(),"map", "odom"));

r.sleep();
}
}


If i start the Ros-Navigation the last Message is "odom received". All is ok! So when i click on "2D Pose Estimate" the result is this: https://www.dropbox.com/s/n211hzuvjrr4rdj/Screenshot%202015-04-29%2016.21.35.png?dl=0

The Odom-Frame and the base_laser-Frame are on two different places. Why?

if i still click on the button "2D Nav Goal" the robot rotates in a circle and i get an Error:

"Rotate recovery can't´t rotate in place because there is a potential collision. cost -1.00"

I think the Problem is the Transform-Publisher. Can anybody help me?

Thanks Thanks

Max

Problem with Transform-Publisher on custom Bot

Hi Everyone,

i hope someone can answer me a question. I have a custom robot and i would like to use the Navigation-Stack of ROS. i follow this tutorial: (http://wiki.ros.org/navigation) The Problem is that anything is incorrect on my Transform Publisher. The tf-tree is odom-->map-->base_link-->base_laser. map-->odom-->base_link-->base_laser.

Here is my Transform-Publisher:

#include <ros/ros.h>

int main(int argc, char** argv){

ros::init(argc, argv, "robot_tf_publisher");
ros::NodeHandle n;

ros::Rate r(100);

while(n.ok()){
tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 1), tf::Vector3(0.1, 0.0, 0.2)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),
ros::Time::now(),"map", "odom"));

r.sleep();
}
}


If i start the Ros-Navigation the last Message is "odom received". All is ok! So when i click on "2D Pose Estimate" the result is this: https://www.dropbox.com/s/n211hzuvjrr4rdj/Screenshot%202015-04-29%2016.21.35.png?dl=0

The Odom-Frame and the base_laser-Frame base_link/base_laser-Frame are on two different places. Why?

if i still click on the button "2D Nav Goal" the robot rotates in a circle and i get an Error:

"Rotate recovery can't´t rotate in place because there is a potential collision. cost -1.00"

I think the Problem is the Transform-Publisher. Can anybody help me?

Thanks

Max

Problem Problems with Transform-Publisher Transform-Broadcaster on custom Bot

Hi Everyone,

i hope someone can answer me a question. I have a custom robot and i would like to use the Navigation-Stack of ROS. i follow this tutorial: (http://wiki.ros.org/navigation) The Problem is that anything is incorrect on my Transform Publisher. The tf-tree is map-->odom-->base_link-->base_laser.

#include <ros/ros.h>

int main(int argc, char** argv){

ros::init(argc, argv, "robot_tf_publisher");
ros::NodeHandle n;

ros::Rate r(100);

while(n.ok()){
tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 1), tf::Vector3(0.1, 0.0, 0.2)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),
ros::Time::now(),"map", "odom"));

r.sleep();
}
}


If i start the Ros-Navigation the last Message is "odom received". All is ok! So when i click on "2D Pose Estimate" the result is this: https://www.dropbox.com/s/n211hzuvjrr4rdj/Screenshot%202015-04-29%2016.21.35.png?dl=0

The Odom-Frame and the base_link/base_laser-Frame are on two different places. Why?

if i still click on the button "2D Nav Goal" the robot rotates in a circle and i get an Error:

"Rotate recovery can't´t rotate in place because there is a potential collision. cost -1.00"

I think the Problem is the Transform-Publisher. Transform-Broadcaster. Can anybody help me?

Thanks

Max

Problems with Transform-Broadcaster on custom Bot

Hi Everyone,

i hope someone can answer me a question. I have a custom robot and i would like to use the Navigation-Stack of ROS. i follow this tutorial: (http://wiki.ros.org/navigation) The Problem is that anything is incorrect on my Transform Publisher. Transform-Broadcaster. The tf-tree is map-->odom-->base_link-->base_laser.

#include <ros/ros.h>

int main(int argc, char** argv){

ros::init(argc, argv, "robot_tf_publisher");
ros::NodeHandle n;

ros::Rate r(100);

while(n.ok()){
tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 1), tf::Vector3(0.1, 0.0, 0.2)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),
ros::Time::now(),"map", "odom"));

r.sleep();
}
}


If i start the Ros-Navigation the last Message is "odom received". All is ok! So when i click on "2D Pose Estimate" the result is this: https://www.dropbox.com/s/n211hzuvjrr4rdj/Screenshot%202015-04-29%2016.21.35.png?dl=0

The Odom-Frame and the base_link/base_laser-Frame are on two different places. Why?

if i still click on the button "2D Nav Goal" the robot rotates in a circle and i get an Error:

"Rotate recovery can't´t rotate in place because there is a potential collision. cost -1.00"

I think the Problem is the Transform-Broadcaster. Can anybody help me?

Thanks

Max

Problems with Transform-Broadcaster on custom Bot

Hi Everyone,

i hope someone can answer me a question. I have a custom robot and i would like to use the Navigation-Stack of ROS. i follow this tutorial: (http://wiki.ros.org/navigation) The Problem is that anything is incorrect on my Transform-Broadcaster. Transform Publisher. The tf-tree is map-->odom-->base_link-->base_laser.

#include <ros/ros.h>

int main(int argc, char** argv){

ros::init(argc, argv, "robot_tf_publisher");
ros::NodeHandle n;

ros::Rate r(100);

while(n.ok()){
tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 1), tf::Vector3(0.1, 0.0, 0.2)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),
ros::Time::now(),"map", "odom"));

r.sleep();
}
}


If i start the Ros-Navigation the last Message is "odom received". All is ok! So when i click on "2D Pose Estimate" the result is this: https://www.dropbox.com/s/n211hzuvjrr4rdj/Screenshot%202015-04-29%2016.21.35.png?dl=0

The Odom-Frame and the base_link/base_laser-Frame are on two different places. Why?

if i still click on the button "2D Nav Goal" the robot rotates in a circle and i get an Error:

"Rotate recovery can't´t rotate in place because there is a potential collision. cost -1.00"

I think the Problem is the Transform-Broadcaster. Can anybody help me?

Thanks

Max

Problems with Transform-Broadcaster on custom Bot

Hi Everyone,

i hope someone can answer me a question. I have a custom robot and i would like to use the Navigation-Stack of ROS. i follow this tutorial: (http://wiki.ros.org/navigation) The Problem is that anything is incorrect on my Transform Publisher. Transform-Boradcaster. The tf-tree is map-->odom-->base_link-->base_laser.

#include <ros/ros.h>

int main(int argc, char** argv){

ros::init(argc, argv, "robot_tf_publisher");
ros::NodeHandle n;

ros::Rate r(100);

while(n.ok()){
tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 1), tf::Vector3(0.1, 0.0, 0.2)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),

tf::StampedTransform(
tf::Transform(tf::Quaternion(0, 0, 0, 0), tf::Vector3(0.0, 0.0, 0.0)),
ros::Time::now(),"map", "odom"));

r.sleep();
}
}


If i start the Ros-Navigation the last Message is "odom received". All is ok! So when i click on "2D Pose Estimate" the result is this: https://www.dropbox.com/s/n211hzuvjrr4rdj/Screenshot%202015-04-29%2016.21.35.png?dl=0

The Odom-Frame and the base_link/base_laser-Frame are on two different places. Why?

if i still click on the button "2D Nav Goal" the robot rotates in a circle and i get an Error:

"Rotate recovery can't´t rotate in place because there is a potential collision. cost -1.00"