Questions tagged [rotation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

Using an IMU to determine the axis about which it is being rotated

I've got a 6DOF IMU and have, using some trig and and a few references such as ADI's app note: https://www.analog.com/en/app-notes/an-1057.html successfully implemented some Arduino/C code to ...
  • 1
0 votes
1 answer
37 views

Finding a point in a new reference frame <modern robotics>

From modern robotics chapter 3.2 and figure 3.7, how do we obtain $p_{b}=\begin{bmatrix}1 & -1 & 0\end{bmatrix}^{T}$ from $R_{b}$ and $p_{a}$? Because $R_{b}*p_{a} =\begin{bmatrix}-1 & 1 &...
0 votes
1 answer
56 views

Get rotation of IMU data snapshot

I received snippets of data of an IMU with 9 DoF in motion. For these I wanted to get their rotation by angles relative to the earth frame. My goal is to receive ...
0 votes
1 answer
25 views

End effector rotates 180 degrees when trying to set orientation with direction vector

I want to orient the robot endeffector using a direction vector that I calculate myself. The robot will always start from the same position with the endeffector pointing straight down. I already have ...
  • 1
1 vote
1 answer
42 views

Can you increase resolution/accuracy by mechanically averaging two actuators?

I'm working on a project using hobby servos to drive a revolute joint, and the servo mechanism doesn't seem to respond when I command a motion of less than about 1 degree. I want to increase the ...
  • 113
1 vote
0 answers
86 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 ...
user avatar
0 votes
0 answers
98 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
70 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
90 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
41 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
  • 1
0 votes
0 answers
35 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, ...
  • 101
1 vote
1 answer
65 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_{...
  • 21
2 votes
2 answers
98 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
122 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
45 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 ...
  • 147
0 votes
0 answers
123 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 ...
  • 101
1 vote
1 answer
156 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 ...
  • 11
6 votes
2 answers
228 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 ...
  • 161
1 vote
1 answer
101 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. ...
  • 135
0 votes
1 answer
81 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
90 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 ...
  • 147
3 votes
1 answer
133 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 ...
  • 133
1 vote
1 answer
228 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
121 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
36 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^{\...
  • 69
0 votes
1 answer
843 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
317 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
124 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
54 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 ...
  • 11
1 vote
0 answers
32 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
53 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
259 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
1 vote
2 answers
146 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
777 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
148 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
59 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 $\...
  • 449
1 vote
1 answer
96 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 ...
  • 11
0 votes
1 answer
184 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 ...
  • 35
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
235 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
448 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 ...
  • 33
1 vote
1 answer
299 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 ...
  • 553
0 votes
0 answers
50 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
55 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 ...
  • 11
4 votes
2 answers
618 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 ...