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

Chipiron's profile - activity

2022-05-27 05:27:36 -0500 received badge  Great Question (source)
2018-04-09 16:27:04 -0500 received badge  Good Question (source)
2016-08-25 07:00:22 -0500 received badge  Taxonomist
2015-04-02 07:06:26 -0500 received badge  Famous Question (source)
2014-11-21 11:10:18 -0500 received badge  Famous Question (source)
2014-09-22 14:10:47 -0500 received badge  Notable Question (source)
2014-08-29 00:13:41 -0500 received badge  Enthusiast
2014-08-28 00:32:58 -0500 received badge  Famous Question (source)
2014-08-26 01:12:09 -0500 commented question laser_frame not moving

Can you @dornhege mark my answer as correct? I dont have karma > 25

2014-08-25 01:39:41 -0500 received badge  Popular Question (source)
2014-08-23 17:04:12 -0500 received badge  Notable Question (source)
2014-08-22 06:06:23 -0500 received badge  Popular Question (source)
2014-08-22 06:05:13 -0500 commented question laser_frame not moving

Thanks for the reply @dornhege The tf chain was perfect. The problem is explained below. Feel free to ask if I havent explained well.

2014-08-22 06:04:14 -0500 answered a question laser_frame not moving

The error was in the odometry sent to 'message_to_tf' node. Message_to_tf is meant to provide intermediate transforms between /base_link and /odom. Odom is my odometry without z value so it was moving, but base_link wasnt. Why? I was passing to 'message_to_tf' and odometry message identical to ground_truth published by Gazebo but with x,y position and rotation set to 0. The problem is that z rotation wasnt 0 so odom moved in yaw but base_link kept static.

So the answer is: In the following scenario (quadrotor flying), being /odom the odometry without z-value, the odometry message that we must pass to 'message_to_tf' to obtain intermediate transforms between /odom and /base_link (defined in the urdf file) must have only the z component of position and all the remain values to 0 (keeping quaternion normalized)

2014-08-22 05:55:56 -0500 commented question laser_frame not moving

Yes, they are parent->child. There are any more frames, its the complete chain

2014-08-22 05:53:58 -0500 answered a question Frames and rviz visualization

The answer to this question is not simple. It depends on how you want your frames and what transforms are you doing and how are you doing them. Each case will require different solutions.

I recomend to make a draw about your frames and reference axes, what you want, what you have and asking yourself if the transformations you are doing have any sense by themselves.

2014-08-22 05:06:39 -0500 asked a question laser_frame not moving

I have the following scheme in simulation enviroment with Gazebo and Rviz: laser_frame -> base_link -> base_stabilized -> base_footprint -> odom -> map -> world

laser_frame to base_link is provided by robot_state_publisher looking up in the urdf file

base_link -> base_stabilized -> base_footprint -> odom is provided by a 'message_to_tf' node that takes ground_truth topic with z axis and rotation to publish this transformations

odom -> map is provided by a mapper node setting up the transforms in x-axis and y-axis

map -> world is provided by a node doing a static/fixed transform

In Rviz we have as fixed frame and target frame the /world frame. World is fixed, map is fixed refering to world, odom is moving in x,y,z and rotation refering to map BUT base_footprint, base_link and therefore laser_frame arent moving. They keep as they started.

How can I fix it? What am I missing?

Thanks

2014-08-21 04:49:50 -0500 received badge  Organizer (source)
2014-08-21 01:14:57 -0500 asked a question Frames and rviz visualization

I have the following frame transformation chain: laser_frame -> base_link -> base_stabilized -> base_footprint -> odom -> map -> world

Where

  • laser_frame is where the scans are generated
  • odom is the odometry regarding the map
  • map is where the 2D map is created based on scans
  • world is the frame in the middle of the stage, what is meant to be (0,0,0) and the very first coordinate axis

I want the map to be created over the world while scans/world/map moving regarding the quadrotor. I mean something intuitive, the quadrotor moves inside the stage so rviz must show how the stage (world, scans and map) move relative to it, keeping it in the center of view, fixed.

What must be the fixed frame? What must be the target frame? Why? Must I do some weird transformation or it's just simply the setup?

2014-07-30 14:27:37 -0500 received badge  Nice Question (source)
2014-07-21 15:24:16 -0500 received badge  Student (source)
2014-07-21 15:15:58 -0500 received badge  Notable Question (source)
2014-07-21 02:13:17 -0500 received badge  Popular Question (source)
2014-07-20 18:05:38 -0500 commented answer What means 'ground truth'

Very thanks ahendrix, now its more clear! I did not find anything relevant on the web :(

2014-07-20 18:03:47 -0500 marked best answer What means 'ground truth'

I dont know what 'ground truth' means. My project use a 'ground truth to tf' node and gazebo publish some 'ground truth' topic that seems an Odometry message.

What does it means?

What is it intended for?

2014-07-20 18:03:47 -0500 received badge  Supporter (source)
2014-07-20 18:03:46 -0500 received badge  Scholar (source)
2014-07-20 17:32:24 -0500 commented answer What means 'ground truth'

Thanks for the reply ahendrix. What absolute origin of coordinates does groundtruth refers to in gazebo? And what should be in a real SLAM enviroment? The exact position known by the observer? Do you know what i mean?