Questions tagged [rotation]
The rotation tag has no usage guidance.
87
questions
1
vote
0
answers
30
views
How do you rotate positions from ENU-frame to body frame?
If positions are in the local frame of ENU (or ECEF - either works), how do you rotate that to the body frame of the device?
Logically, I thought that I could use the pitch, roll, and yaw angles of ...
0
votes
0
answers
66
views
Mapping IMU readings from body frame to navigation frame
I'm trying to combine IMU displacements with the time of flight sensor readings in order to navigate through the indoor environment with a non-linear Kalman filter variant. In the graphic below, I ...
0
votes
0
answers
52
views
Aligning accelerometer readings with vehicle's frame of reference
I have a device with an accelerometer installed in a vehicle. Its orientation in relation to the vehicle is unknown. So I am looking for a reliable way to align the coordinate system of the ...
2
votes
1
answer
52
views
What is the consquence of Gimbal lock?
I'm learning about Gimbal lock and I understand the reason why that happened.
But I don't understand why that is a big deal because it only affect this rotation. After this rotation finished, we have ...
0
votes
1
answer
38
views
Why do we parametrize matrices?
I'm learning about rotation matrices in class and one of the topics mentioned to parametrize a matrix.
What do we need to do this?
For further reference: https://www.youtube.com/watch?v=Y8gB7nvtmrU
0
votes
0
answers
33
views
Belts vs gears; which is more precise?
I'm working on a robotic telescope pointing mechanism, driven by a pair of servomotors. I'll need a very high angular precision - on the order of 1 second of arc (0.0002778 degrees). Obviously, then, ...
1
vote
1
answer
42
views
Relative rotation and a new reference frame as the rotation of the first object
this is my first post on this forum
I have $n$ IMUs which outputs its rotation their matrices in the $XYZ$ world coordinate system $w$. I would like to use multiple IMUs $n$, such as $n_{1}, n_{2}, n_{...
2
votes
2
answers
69
views
Confusion about Gimbal lock
I am trying to understand exactly what is happening when Gimbal lock occurs. I have read many explanations now which provide the high-level idea, in that Gimbal lock occurs when two axes are aligned ...
0
votes
1
answer
98
views
Multiplication of rotation matrix help
I'm Watching Angela Sodemann video on 6DOF robots and am following her example, but I'm getting a different answer for my R3_6 matrix and I'm not sure where I'm going wrong. She uses this as her ...
0
votes
0
answers
39
views
How to get odometry from propeller rotation signals knowing that they can rotate to maximum value?
m trying to get Velocity in order to control underwater swarm ROV. I can use the acceleration and to Euler integration but the error will be accumulated over time. As we are having a swarm (many small ...
0
votes
0
answers
28
views
Algorithm for Hand-eye Calibration with static camera brings wrong parameters
I tried a hand-eye-calibration with a static camera and the following alogorithm in Matlab. https://de.mathworks.com/matlabcentral/fileexchange/48696-camera-to-robotic-arm-calibration
The algorithm is ...
0
votes
0
answers
85
views
How to measure an optical encoder resolution and gear ratio?
I've bought a DC geared motor with an optical encoder. The vendor didn't provide specification. I can read MITSUMI M25N-2R-14 2241 and 25GA-370-12V-330RPM on the motor. There are some pages on the ...
1
vote
1
answer
116
views
Multiple Rotations via Matrix Multiplication
so I am having an issue understanding why you right multiply for current frame rotation vs left multiply for fixed frame.
Let us say you want to: Rotate about x, then Rotate about current y, then ...
6
votes
2
answers
149
views
How to avoid gimbal with Quaternions
I'am working with an LSM6DSO32, so I'am starting with Kalman filter, everything works but with Euler angle I got gimbal lock I think... But if my pitch angle approach to 90° my roll angle jump and I ...
1
vote
1
answer
81
views
Can the tangent space vector of SO3 be interpreted as Euler angles?
I want to compare the rotation of two cameras with respect to a common frame. Let's call these R_World_Cam0 and R_World_Cam1. ...
0
votes
1
answer
64
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 ...
1
vote
1
answer
71
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 ...
3
votes
1
answer
122
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 ...
1
vote
1
answer
188
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 ...
2
votes
2
answers
113
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 ...
0
votes
1
answer
35
views
How do I calculate components of an angular rate on end effector frame?
I’ve helped develop the forward kinematic chain for a two-axis gimbal. The Denavit-Hartenberg parameter table for the kinematic chain is given below.
$\theta$
$\alpha$
$r$
$d$
$90^{\circ}$
$90^{\...
0
votes
1
answer
544
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 ...
0
votes
1
answer
224
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 ...
1
vote
0
answers
100
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 ...
1
vote
2
answers
51
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 ...
1
vote
0
answers
31
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 ...
0
votes
1
answer
50
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?
2
votes
2
answers
73
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
46
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 ...
1
vote
1
answer
226
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 ...
0
votes
1
answer
44
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 ...
1
vote
2
answers
125
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
595
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 ...
1
vote
1
answer
114
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?
0
votes
1
answer
50
views
Doubt about axis\angle representation
I am trying to understand the axis/angle representation.
So far, I have understood that the main idea is that every rotation can be represented as a rotation around an arbitrary axis of an angle $\...
1
vote
1
answer
90
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 ...
0
votes
1
answer
166
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 ...
0
votes
1
answer
39
views
Finding quaternion Q, where Y = q * X * q.inv()
Problem
Quaternions $X$, $Y$, which represents 3-dimensional points are given.
Quaternion $q$ is what is to be solved.
I want to know unknown rotation between $X$ and $Y$.
In other words, I want to ...
0
votes
0
answers
51
views
What's the result of multiplying a rotation matrix having only ψ components by another which has (−φ,θ,−ψ) components?
Given the following rotation matrix:
$
R(φ, θ, ψ) = \left( \begin{smallmatrix}
cos(θ)*cos(ψ) & -sin(φ)*sin(θ)*cos(ψ)-cos(φ)*sin(ψ) & -cos(φ)*sin(θ)*cos(ψ)+sin(φ)*sin(ψ) \\
...
1
vote
1
answer
203
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,
...
3
votes
2
answers
300
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 ...
1
vote
1
answer
231
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 ...
0
votes
0
answers
46
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 ...
1
vote
0
answers
50
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 ...
4
votes
2
answers
515
views
How to calculate heading more accurately using dead wheels?
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 ...
1
vote
1
answer
4k
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 ...
0
votes
1
answer
85
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, ...
0
votes
1
answer
1k
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 ...
1
vote
0
answers
175
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 = (...
0
votes
1
answer
112
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....