Questions tagged [transforms]
The transforms tag has no usage guidance.
147
questions
0
votes
1
answer
31
views
"No transforms from [<any link>] to [<baselink>]" in Rviz2 when trying to launch robot model
I am currently trying to modify a robot model in rviz2 but when I launch it, I am getting a no transforms error under robot model status. I am also getting a fixed frame error and I am unsure why. The ...
1
vote
0
answers
29
views
Ekf_node not publishing any tf transform
I am working with Nav2 packages for autonomy. A first step to make this work is to get odometry working. I am trying to get an ekf_node to publish an odom->base_footprint transform (the URDF has ...
0
votes
0
answers
9
views
How to Ensure Consistent Reference Frames for Comparing Odometer and Camera Angle Data in ROS Noetic?
In my ROS Noetic project of a vehicle with a camera and odometer, I'm planning to compare the vehicle's position from the odometer with the desired angle or direction detected by the camera. However, ...
0
votes
2
answers
155
views
Issue with Continuous Map Creation Using YDLidar X2 and ROS2 Humble SLAM Toolbox
I'm currently facing an issue while working on my robotics project. I have set up a dynamic transform for Lidar data from Map-> odam-> base_footprint->base_link. Following this, I run the ...
0
votes
1
answer
180
views
Gazebo Garden: How to publish the transform of elements in a simulation
I need the depth ground truth of a camera view in gazebo and decided to go with an rgbd camera which produces a pointcloud. In order to visualize this I need to somehow publish the transform of the ...
1
vote
2
answers
69
views
How to approach a target pose via the XY surface normal?
I'm trying to make my panda approach an aruco marker target on the table. However, I also want as a constraint that it does so perpendicular to the target. Given that a pose has an orientation ...
1
vote
0
answers
77
views
World to pixel transformation in Pyrender
I'm trying to transform a point in a 3D world rendered with pyrender to pixel coordinates. The world to camera frame transformation seems to work, however the camera to pixel frame transformation is ...
0
votes
1
answer
295
views
How can I convert Quaternions rotation values into Angular Velocity?
I am currently trying to teleoperate a UR5e robot using a haptic feedback device (3DSystems Touch). I have installed the necessary ROS(noetic) drivers for both devices.
I would like to be able to ...
0
votes
1
answer
1k
views
From euler angles to rotation matrix and vice versa
I want to check if I am using the correct functions to transform from euler angles to rotation matrix and viceversa. I am using XY’Z” convention of euler intrinsic angles.
As example, I have the ...
0
votes
1
answer
159
views
From Euler angles to Rotation matrix Staubli
I want to know the transformation matrix between End effector and Robot base (FK). Staubli gives me x,y,z and Rx,Ry,Rz. Those three Rotations are Euler angles? How could I transform those Euler angles ...
0
votes
0
answers
24
views
Smooth a timestamped series of translation and quaternion samples
I have a rosbag of transforms (of type TransformStamped) I'd like to smooth a small amount without altering the overall trajectory much, just reduce the higher ...
1
vote
1
answer
235
views
Compute tranformation matrix for odom to base_link depending on tracking camera attached relative to base_link
To complete my tf tree, I must broadcast transformation from odom to base_link. I am receiving position from the tracking camera,...
0
votes
1
answer
759
views
transform Pose - undefined reference to std::chrono::time_point, tf2::doTransform
I'm trying to transform frames using tf2 using ros2 rolling but I'm getting this error:
...
0
votes
0
answers
471
views
How to transform given latitude and longitude data to map frame
I am working with a multi sensor RTK-GNSS for localization of my robot.
This is the data I am getting from the GNSS system.
How to relate this data to my robot map frame for navigation?
1
vote
0
answers
27
views
v_s quantity in twists
In Modern Robotics v2, we have the following figures:
I don't understand why in Eq. 3.73, we have the given expression for $v_s$. My thinking is:
The position $p$ is the position of the frame $b$ ...
0
votes
1
answer
33
views
Get a rotation to align a vector, n with another vector, a and be able to rotate around a
Let us say I have a rigid body, B. Let us say I have a normal vector n. And let us say I have another direction vector a. I need ...
0
votes
1
answer
43
views
lookupTransform and tf2_echo shows different results
Hi, I am writing code for transformations using apriltag.
tf_buffer_->lookupTransform(tag_frame_, camera_frame_, tf2::TimePointZero);
gives different ...
0
votes
0
answers
203
views
Publishing transform with rosserial using TF/Odom + display in RVIZ?
I'm trying to model a simple helicopter transform with a spinning rotor in RVIZ. I would prefer it to be timestamped into a single topic.
I've been working through the Odom and TimeTF examples in ...
0
votes
1
answer
1k
views
ros2: transform pointcloud2 data from one frame to another in python
I have pointcloud2 data related to my lidar_frame. I would like to transform the data to my base_frame to use them with my ICP Algorithm. I found a sample here: https://answers.ros.org/question/291735/...
0
votes
1
answer
235
views
How do I convert a set of coordinate and rotation values
I'm an electrical engineer who needs to use a robot for their first time. I have a UR5 that I'm controlling through the rtde interface via Python. It seems that what I'm trying to do must be something ...
0
votes
1
answer
573
views
ROS - RViz reports "No transform from [kinect] to [world]" when URDF appears correct
I have specified a URDF relating the world with a table and a Microsoft Kinect mounted on a pole attached to this table.
The URDF parses successfully with check_urdf:
...
0
votes
1
answer
7
views
imu_filter_madgewick frame does not display rotation accurately
I am using the L515 Intel Realsense Camera, and the imu readings function as expected in the realsense-viewer, however when I launch the filter, RVIZ displays the "camera_imu_optical_frame," ...
0
votes
1
answer
2k
views
What is the meaning of joint space and configuration space and task space?
I'm reading an article about teleoperation systems and it talks about three spaces that include joint space, configuration space and task space frames. I do not know what these are, can you explain?
0
votes
1
answer
570
views
ros2 lookupTransform() to get latest transform
Hello all,
In foxy tf2_ros::Buffer::lookupTransform(),
...
0
votes
2
answers
266
views
sensor breaks tf tree in ROS
I am currently trying to add sensor(lidar) into my robot. I made base for a sensor, link to which sensor is attached through gazebo reference.
The problem is that adding a tag for some reason creates ...
0
votes
2
answers
354
views
Sending Universal Robots UR5e to specific place Using Camera
I have a UR5e installed with a simple camera on its end effector. The robot is at a known position (Cartesian pose/angles and joint angles)
Using the camera I took a picture of a QR code and got the ...
1
vote
1
answer
576
views
How to republish odometry in different frame?
I have navigation Odometry, but its some how not in the robot body frame. The odometry is being published in world frame, so its not correct. So i need to transform in the robot body frame as that how ...
0
votes
1
answer
984
views
TF is broken when using robot_localization package with only IMU sensor, how to assure that the measured velocity is the one from the robot?
Im using thisrobot_lokalization robot_localization package for the linear velocity. As only sensor input in my case is IMU. I configure the parameters and set the frames as follow
...
0
votes
1
answer
128
views
timeout in lookupTransform behaves differently in rclcpp and rclpy
So I recently got stuck with this strange error that timeout in lookupTransform behaves differently in rclcpp and rclpy. Shortly, I want to acquire transformations at time ...
0
votes
1
answer
5k
views
Static transform difference between command line and launch file
I'm having a problem setting up the static transform between my base_link and my camera.
If I use rosrun tf static_transform_publisher in a different command line the camera is alligned with my axes ...
0
votes
1
answer
271
views
Identifying joints from transformation matrix (DH matrix)
Given a transformation matrix formed using the Denavit Hartenberg method, is there a way to identify joint paramters: for example the order of joints?
I've come across a solution to an exam question ...
0
votes
1
answer
65
views
doubt regarding the base_local_planner::transformGlobalPlan() function
I am trying to understand the base_local_planner::transformGlobalPlan() function.
As per my understanding, the function takes in the global_plan (generated by the <...
0
votes
2
answers
255
views
Significance of fixed_frame parameter in lookupTransform function
I was going through the implementation of the lookupTransform function defined inside the base_local_planner::getGoalPose() function.
What is the significance of ...
0
votes
1
answer
4
views
Signifiance of fixed_frame parameter in lookupTransform function
I was going through the implementation of the lookupTransform function defined inside the base_local_planner::getGoalPose() function.
What is the significance of ...
0
votes
1
answer
71
views
TransformListener x10 higher CPU load in rclpy than rclpp
System info
Operating System:
Docker + Ubuntu 20.04, 10th gen i7
Docker + Ubuntu 20.04, jetson AGX Xavier
ROS2 Version:
Foxy binaries
Steps to reproduce issue
Make sure the system is publishing ...
0
votes
2
answers
133
views
Can a ROS 2 TF buffer be queried in time-critical code?
Does anybody know if the ROS2 tf buffer belongs in control loops? What's the latency on calling lookupTransform()?
It would be great if it were realtime safe.
...
0
votes
1
answer
231
views
Transform Velocity data from sensor frame to world frame
I am new to Robotics and transformation topics. I need help in understanding and solving the below problem.
I have data (surrounding obstacle position, orientation and velocity) which are in sensor ...
0
votes
1
answer
535
views
How to make two frames relative to each other
I have a Velodyne and camera that both have transformations specified relative to the origin of the robot.
The original transformations were specified as yaw, roll, pitch, x, y, z. I wrote a script to ...
0
votes
0
answers
99
views
Finding orientation of object in 3D space
Given the above constellation, I have to find the orientation of object B in the coordinate system of Object C. The objects A and B are fixed to a certain place and the object C can move in freely in ...
0
votes
1
answer
47
views
Determining Base Configuration Tsb from End-Effector Configuration Tse for youbot
Hello there, hope you are doing great.
Right now I am trying to control youbot to pick and cube and place it to a certain position, on simulation. However, I believe that the reference trajectory is ...
1
vote
0
answers
25
views
Getting the new heading after a Transformation
Lets say I have 2d poses as such (angles in degrees):
world_to_robot = {0, 4, 45} robot_to_object = {4, -4, -45}
From a graph it would be easy to see that:
world_to_object = {4, 8, theta}, what goes ...
2
votes
2
answers
76
views
Compute path in absolute frame from sequence of measurements
I have a sequence of measurements $\{(x_i, y_i, \theta_i)\}_{i = 1 \:...\: N}$. Each of these represents the new pose of the robot seen from the previous pose, i.e. a measurement $(x', y', \theta')$ ...
0
votes
1
answer
57
views
Motion model and homogeneous transformation issue on a drone
I am trying to develop a EKF-SLAM algorithm for a drone, and I want to estimate its position in the inertial/world reference frame. I have as control variables the linear and angular velocities in the ...
0
votes
2
answers
50
views
Why would I want to transform a Pose in Frame A using a Transform From B to C?
Using a bit more detail,
Let's say I have a VectorStamped in with frame_id "A", and then I take a StampedTransform with frame_id "B" and child_id "C". It's perfectly ...
1
vote
2
answers
538
views
Understanding Twists as 3D Velocities
I am just learning about twists to represent 3D velocities (e.g. of a robot's end-effector), and I have two questions:
1) Wikipedia defines a twist as "an angular velocity around an axis and a linear ...
0
votes
2
answers
1k
views
How to calculate rotation angle from 3D points
I have 4 3d points(x, y, z). Using these points how can I calculate rotation angle? Consequently, I want to have a 4x4 transformation matrix including rotation and translation information.
4 points ...
0
votes
1
answer
64
views
Reference frame, vector
How do I specify the directions of a unit vector $X_n$ and $Y_n$ of a frame $\{n\}$ at an angle $θ$ relative to a frame $\{a\}$ in the form
$$
X_n=cosθX_a + sinθY_a
$$
$$
Y_n=-sinθX_a+cosθY_a
$$
? Can ...
0
votes
3
answers
318
views
How to get list of all tf frames programatically?
Hi all,
I have a question on how to obtain tf frames in a ros node (preferrably Python).
I am aware of the method tf2_ros.Buffer.lookup_transform(), however, one ...
1
vote
1
answer
56
views
Absolute 2D pose from previous pose and measurement
I have a pose $\boldsymbol{x}_0 = (x, y, \theta)$ in an absolute frame, right-handed and centered in (0, 0, 0). I obtain a measurement $\boldsymbol{m} = (\Delta x, \Delta y, \Delta \theta)$ in the ...
0
votes
1
answer
50
views
TF2 ConnectivityException With Connected TF Tree
I'm getting the following error about missing frames, but when I view the TF tree, it shows as a single connected tree. The same error occurs no matter which two frames I use. I don't have enough ...