# Questions tagged [rotation]

The tag has no usage guidance.

77 questions
Filter by
Sorted by
Tagged with
21 views

### How to compute linear speed on scooter without gps and wheel odometry

My project is to be able to compute my linear speed on my scooter only with my IMU. I have a IMU build with my arduino which is in my backpack. I want first to compensate the acceleration measurement ...
1k 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 ...
56 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 ...
313 views

### Rotation composition When using Kalman Filter

I am implementing a Kalman Filter for the following situation. I have a camera set in a room that can detect the position and orientation of a marker (ARUCO) in the room. Therefore I have the ...
2k 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 ...
53 views

### What type of electric motor and speed-controlled circuit do I use to bounce a hanging, 5 pound weight? (it's for a Halloween decoration)

I'm trying to make a roughly 5 pound, hanging halloween decoration bounce on a string from about 1-3 times per second, preferably at variable speeds if I can. I've looked up a simple DC motor circuit ...
46 views

### Inertial frame's angular velocity expression

I'm following a robotics course on coursera which talks about aerial robotics and more specifically quadrotors. I'm trying to understand the logic behind the relationship between the angular velocity ...
69 views

### Reset coordinate system of robot while maintaining relationship to the previous

I am currently estimating a robot's pose (3d position and rotation matrix) with an IMU and I want to reset the localizer in the middle of the run while keeping the relationship to the pose it had when ...
93 views

### Calculating rotation matrix efficiently

I'm trying to efficiently calculate the vertical offset of each corner of a rectangular base. I have an accelerometer mounted in the middle of the base, ADXL345. The steps I have taken, and seems to ...
62 views

### How to handle robot movement close to coordinates x=0 with atan2

I am working on controlling a robot to various points on an x,y grid. The robot starts at random locations and I can control it's velocity and angular velocity. Currently, I am using the technique of ...
113 views

### What is my last rotation matrix for the last three angles when i have found the first three when doing inverse kinematics to a 6dof robot?

I am doing inverse kinematics for a 6dof robot. I have used the geometrical method to describe the angles from one to three. I have trouble doing the next part. I know I that I have found the ...
87 views

### How can I draw a line using rotation of two circles?

I’m building a drawbot with a self imposed constraint that it’s method of motion is just two rotating disks. One holding the paper and one holding the pen. However, the math to calculate the right ...
433 views

### Explanation for exponential coordinate of rotation

From figure above, suppose a three-dimensional vector $p(0)$ is rotated by an angle $\theta$ about the fixed rotation axis $\omega$ to $p(\theta)$. Here we assume all quantities are expressed fixed ...
63 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 ...
379 views

108 views

### IMU Change of reference frame

Im trying to rotate one accelerometer vector from body frame to ned frame, but i cant found what im doing wrong. For now, im using an online dataset that provides me roll, pitch and heading ...
72 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?
52 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 ...
44 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 ...
4k 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 ...
17 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 ...
9k views

### Rotation matrix sign convention confusion.

In rotation matrix, Why do we rotate the first and third rotation in the opposite direction of the 2nd rotation, this is confusing. Image is attached with this. In this image we can note that for x ...
37 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 ...
38 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?
40 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 ...
30 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 ...
59 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')$ ...
143 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 ...
551 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 ...
211 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 ...
21 views

### Convert point coordinates from inclined to inertial coordinate system using inclinometer angles

I have a point (red dot) coordinates given as [vector magnitude, azimuth angle (blue), elevation angle (yellow)] in the inclined local system X'Y'Z', which must be converted into coordinates [x, y, z] ...
24 views

### 2-axis inclinometer angles to quaterion angles

How to derive quaterion angles (3 angles of the rotation vector with respect to the inertial coordinate frame and the rotation angle around that vector) knowing X and Y angles from a 2-axis ...
32 views

136 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 ...
81 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 ...
2k views

### Most accurate rotation representation for small angles

Assume that I have a rigid body for which I know that it can rotate with respect to a global reference frame (which is considered fixed and already given) for only a few degrees of angle, so I can ...
27 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 ...
31 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 ...
291 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 ...
67 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, ...
69 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....
110 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 = (...
26 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$(...
18 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). ...