# Questions tagged [rotation]

The tag has no usage guidance.

69 questions
Filter by
Sorted by
Tagged with
37 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 ...
25 views

### Rotate while strafing with mecanum wheels

I have a robot with a drivetrain that is comprised of 4 mecanum wheels. These wheels are able to move vertically and horizontally, as well as rotate. The robot is square (18in x 18in) with the front 2 ...
40 views

### What type of rigid body rotation can best be learned by neural networks?

I am training a reinforcement learning network in simulation for a robot which at the current stage learns Euler Angles to rotate the end-effector based on the actual state. The performance is overall ...
15 views

### What could cause quaternion error to go up drastically when a gyroscope is rotated on more than one axis at a time?

Alright, I'm working on a small Arduino script that determines orientation using a a gyroscope and a quaternion. My hardware: LSM9DS1 IMU (Gyroscope, Accelerometer, Magnetometer) Teensy 4.0 My basic ...
35 views

### Does every rotation vector has an one-to-one corresponding rotation matrix?

Given a rotation vector, can we always get the same corresponding rotation matrix computed by the Rodrigue's rotation formula?
29 views

### Angular movement of a controlled arm relative to an object via Two IMUs

I've been tasked to use two YEI 3-space sensors (IMUs) to detect the azimuth and elevation (altitude in the image below) angle of a moving arm with respect to a fixed object, with a sensor on the end ...
56 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')$ ...
34 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 ...
111 views

### Conveyor Belt Calibration for a Robot - Rotation Matrix

Short Question: As demonstrated in the image below, how can I calculate the rotation matrix that relates the base coordinate and the rectangle coordinate, given 3 known points P1, P2, P3 on the ...
35 views

### what are shoulder ball and socket joints called? (i am trying to design and build a hydraulic assistance mech suit)

I'm having problems finding the right sort of joint for my shoulder connection. It is a flat surface on the side of the mech body and I need to create a joint with maximum movement rotating: up, down ...
45 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 ...
78 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 ...
39 views

### Rotate coordinate frame using 2-axis inclinometer angles

How to rotate coordinate frame (transform point or vector coordinates) using angles from 2-axis inclination sensor if both X and Y angles are non-zero?
29 views

75 views

### Solving for rotation matrix: Aligning vector a with vector b and then rotating around vector b

Currently working on a quadcopter simulation. I have a desired thrust vector, t =sin(30)cos(45)a1+sin(30)sin(45)a2+cos(30)a3 and desired yaw angle, ...
80 views

### How to compute the orientation error between two 3D coordinate frames?

For my master thesis in robotics I have to compute the orientation error between two coordinate frames, called E and H. Their orientation is expressed through rotation matrices (3x3) with respect to a ...
57 views

### Rotating a lever with a small servo

I'm trying to rotate a lever link to gently "offload" a load using a servo. Here's a drawing: Here, the red is a lever, yellow pivot and black is the load. To offload, the lever needs to be turned 90 ...
25 views

### MPU6050 Gyro rotaion always around Y axis

I am using an MPU6050 IMU. I did a small experiment having Z-axis pointing upwards. 1. Rotate 90deg around Z-axis (yaw) and back to the original position 2. Rotate 90deg around X-axis (roll) and back ...
22 views

### Moment of Inertia of a planar rotation link with a 6-DOF base

I'm interested in analytic calculation of a moment of inertia of a robot's arm in the following situation. Let us assume the following: Stationary reference frame $\{b\} = \{X_B, Y_B, Z_B\}$ and ...
132 views

I am trying to figure out a more accurate way to calculate the change in the heading of a robot. I have two small omni wheels on either side of the robot facing forward and one on the right side ...
1k views

### Rotating NED to ENU

I have an IMU in NED of which I need to rotate to ENU to conform with ROS. I know its a roll of pi and a yaw of pi/2 but what ...
52 views

### Does Vehicle Yaw angle measures same at every point on it? If not, how to translate yaw rotation to COG of the vehicle from different point?

I am using an IMU to measure the yaw rotation angle of a car. I need to translate the rotation measured to COG of the vehicle. I can ignore roll and pitch as I am driving it on a flat surface. So, ...
332 views

### What are wheel ticks and wheel impulses?

I'm tracking the position of a vehicle along a certain trajectory using the Kalman filter and we have odometry data provided to us which gives the x-position of the vehicle, y-position of the vehicle ...
89 views

### How to get RPY(Roll, Pitch, Yaw) from directional cosines from a single vector?

I'm trying to find the pose of an 3D vector in terms of RPY. Let's say the two end points of the vector is P0(x0, y0, z0) and P1(x1, y1, z1). So the centered vector I get is V(Vx, Vy, Vz) = P1 - P0 = (...
57 views

### Rotation at SerialLink.teach Robotic Toolbox

Im using robotic toolbox to simulate my robot, but i always confused when i see the value of rpy. It always different if i compare with tr2rpy and tr2eul. What kind of rotation used in SerialLink....
25 views

### Observed position update after motion of the robot

The equation (14) in this paper, $$P_{Cj}=RP_{Pj}+T+e_j$$ where $P_{Cj}$ and $P_{Pj}$ are the observed positions of feature $j$ prior to and after the current robot motion, $R$(otation) and $T$(...
17 views

### Undo pitching effect of camera when pose (y-axis) is near 90 degrees?

I am using KITTI odometry dataset whereby the camera's axis is pointing X (east), Y (down) and Z (north). It also contain the frame to frame poses of the camera (first pose is fixed as the map frame). ...
18 views

### How should I create a Pangolin (Armadillo) structure?

I am new to this forum. I want to create a mechanical structure as depicted in the image A pangolin bag. And further wouls like to automate the closing and opening of the bag. But I am facing issues ...
239 views

### Adjusting the PWM frequency and duty cycle to achieve the desired angular velocity in differential drive robots

I am practicing C++ and intro to robotics using a simple differential drive robot and a raspberry pi. Also following along the GA Tech course on control of mobile robotics. The implementation I am ...
730 views

### Finding correct RPY for approaching a known point on a plane

I have a robot with 6 DOF that I want to use to grab a hanging sheet at a specific point near its edge. The grip needs to be perpendicular to the edge and co-planar with the point of course. I have ...
466 views

### How can I attach an arm to a double-flat drive stepper motor?

This is my first robotics experience, outside of one class 10 years ago. I've been Googling this question for about an hour but I can't find an answer! I'm using a ROHS Step Motor 28BYJ-48 (with an ...
223 views

### Forward Kinematics with matrices

From the image, I would like to find out how joint 1, 2 and 3 can be computed by using forward kinematics? (Assuming a theta value was given) I understand that to get point 3 to origin (...
1k views

### Using pre multiply or post multipy for rotational matrix to get a new homogenous transformation matrix?

I am confused about how do I multiply the rotational matrix in this case. I know that both T1 and T2 needs to be multiplied by a rotational matrix but I don't know how to multiply the rotational ...
3k views

### Why Euler Angle is set to be in ZYZ order?

We have 3 DOF for rotation in 3D space. So to describe an arbitrary rotation, we need to describe its 3 DOF. Euler angle does this by dividing a rotation in 3 steps, first rotate along the Z axis of ...
2k views

### Get Yaw from quaternion

I found a formula online to extract yaw from a quaternion like so: ...
112 views

### Equivalence of Alias and Alibi interpretation of Rotation Matrices [closed]

Let's consider two right handed frames $\mathcal R_A$, with coordinate axes $i_A$, $j_A$ and $k_A$ and $\mathcal R_B$, with coordinate axes $i_B$, $j_B$ and $k_B$. Defining the rotation matrix $R^A_B$ ...
129 views

### A closed-form solution of $\textbf{R}\textbf{R}_1=\textbf{R}_2\textbf{R}$ w.r.t $\textbf{R}$

Is there a closed-form solution of $\textbf{R}\textbf{R}_1=\textbf{R}_2\textbf{R}$ with respect to $\textbf{R}\in SO(3)$? $\textbf{R}_1$, $\textbf{R}_2 \in SO(3)$ are given. Added: I tried holmeski'...