Questions tagged [kinematics]
Kinematics is the branch of mechanics dealing with the motion of points and objects.
109
questions
1
vote
1
answer
37
views
Translate quaternion rotation to correct frame
I place an IMU on my wrist and extend my arm as shown in the photo below. I spin in a circle once, while my arm remains in the fixed position. I calculate the euler pitch and quaternion angle. In the ...
0
votes
0
answers
27
views
I want the arm in turtlebot 2 to move towards a certin object
I want to make the robot's arm to move towards a certin object.
Im working with turtlebot 2, i need to know if :
-I have the (X, Y, Z) of a certin object (which i got from Yolo).
-And i calculated the ...
-1
votes
1
answer
35
views
Conveyor belt kinematics Python
I'm trying to create a simulation for a conveyor belt with objects on it, to see how the behaviour would be. I am playing around but struggling with the functionality of the conveyor belt. Right now, ...
0
votes
0
answers
49
views
Inverse Kinematics in python
I'm learning Webots these days and have gone through their example project on inverse Kinematics.(https://cyberbotics.com/doc/guide/irb4600-40) In their example project they are testing Inverse ...
2
votes
1
answer
50
views
Ultimate struggle with a full 3d space controller
Sorry if i'm stupid or something, but i having a deep dread from a work on a "full 3d" space movement.
I'm trying to make a "space ship" KinematicBody controller which using basis ...
1
vote
1
answer
68
views
OpenMDAO Dymos: How to run kinematic optimization with initial and final state values that depend on design variables?
The image above shows the kinematic optimization problem statement that I'm trying to implement. The initial and final state values are directly proportional to design variables.
And the following are ...
0
votes
1
answer
35
views
How to adjust my basketball-FT(Free throw) simulation to find the necessary torque(s) on joints
I'm working on a simulation of a basketball throw which starts with a angular motion and passes into a projectile motion. Physics set-up of simulation
My goal is to get insights on the amount of ...
-2
votes
1
answer
20
views
how can i turn of kinematics using any kind of collision
i have this wall and would like to turn off the kinematics thats holding up each brick using any type of collision any ideas?enter image description here
0
votes
1
answer
149
views
Translate global to local coordinates
I've got a moving rigid body for which I need to calculate the position of a point on the surface in function of time. I've got the following input:
the coordinates of the point of interest in the ...
0
votes
1
answer
27
views
Can I use Instantaneous screw with Finite screw?
I'm trying to calculate angular velocity of each axis by movement of end-effector,
If S1 and S2 is finite screw, and S2 had infinitesimal movement from S1.
Also, let S1_ be (-)array of S1 and ...
1
vote
0
answers
81
views
Interpolating 2D position data
I have some data that was acquired from an individual that moved a cursor from one target that was presented on a screen to another straight-ahead target that was 10 centimeters away from the original ...
0
votes
0
answers
85
views
Plotting a surface for a robot reach bubble in Python
I'm trying to simulate a robot reach bubble. The goal would be to export it into a CAD file and visualize the possible workspace. My approach was to plot all potential endpoints using forward ...
0
votes
0
answers
17
views
Determine angle from a point to a target given an angle from another point on the platform to the target
I have 2 devices, A and B, mounted on a rigid platform. Each device has an IMU (inertial measurement unit) aligned to its bore-sight. Both bore-sights intersect at point I.
A sees a target, T, and ...
0
votes
1
answer
122
views
Modelica - Internal error for overconstrained stewart platform model
OpenModelica v1.17.0 (64-bit)
OMSimulator v2.0.0.post284-gc8ec782-mingw
Modelica Standard Library 3.2.3
Hello,
I'm currently working on the implementation of a dynamic model of a Stewart Platform in ...
0
votes
0
answers
41
views
How to drive the the motion of a skeleton-based 3D character?
I am working on driving the motion of a skeleton-based 3D character, which is basically a usual 3D model embedded with kinematic skeleton like:
I want to change the pose of this 3D character by ...
0
votes
0
answers
10
views
How to change the speed of player to fps ratio and also is kinematic related stuff?
How I do for each time the character collided against the block, the ISKinematic property of Rigidbody passes to True and can not return to damage for 3 seconds. When time finishes, I need to change ...
0
votes
1
answer
117
views
Calculate distance on the basis of Angle and Maximum Range
I am working on javascript code where I need to find out distance on the basis of Angle, Initial Height, Velocity, Maximum Range.
Example: If an object shoots from the ground (where height = 0) at the ...
0
votes
2
answers
44
views
How quick must an Object be in is y component to reach a specific peak
I want to add a boost to the player (bottom left) that reaches a specific peak(Point (x,y)). The players horizontal speed (v_x) is constant but its vertical speed can vary. I want to calculate the ...
0
votes
2
answers
641
views
how to calculate relative pose given two 4x4 affine matrix
I have two 4x4 affine matrix, A and B. They represent the pose of two objects in the world coordinate system.
How could I calculate their relative pose via matrix multiplication ? (Actually, I want to ...
1
vote
1
answer
354
views
Use KinematicBody2D as RigidBody2D
Hello, I'm new on Godot (I'm French, that's why my English is not perfect)
I'm trying to create a game (top down) where the principle is the same as a Sumo fight, take out your opponent outside a ...
0
votes
1
answer
76
views
Python library for rotation and translation on a seesaw-like object
I'd like to do calculations on the 3D positions on both end's of a rigid object (see spot where the children are usually sitting in image below). The geometrical situation of the rigid object ...
0
votes
0
answers
36
views
ZX axis 2 dof orientation interpolation
I have 2 DOF orientation for Z and X axes how can I interpolate between 2 orientations? I have interpolated for 3 DOF orientation with slerp using quaternions and rotation matrix for inverse ...
0
votes
1
answer
197
views
Solving Denavit Hartenberg Forward Kinematics for n roboticarms with Numpy
EDIT
I just solved the problem with numpy's einsum function. Instead of doing T[:,:,:,0]@... I just Matmul'ed the first two with einsum, then the resulting with the next index, and so on.
I am ...
0
votes
1
answer
162
views
How do I animate a rotating link in matplotlib plot?
I will keep the problem simple.
Let's say I have a link of length 15 units and I want to make it animate in the matplotlib plot as the value of theta(angle between the link and x axis) varies from 0 ...
0
votes
1
answer
640
views
Python coding: create a new "class" to calculate motion of a projectile
I'm working on a project to create a new "class" in python to do some kinematics calculations.
But, I'm having trouble seeing how to build the formula in python given the common physics ...
0
votes
0
answers
58
views
Finding total flight time of projectile with custom gravity vector using kinematic equations
I am currently writing a software that is supposed to predict the exact time and location of impact of a projectile in a 3D environment. The software I've written currently passes 3824 different test ...
0
votes
0
answers
349
views
THREE.JS | glTF Morphing targets glTF issue
I'm trying to tweak Particle Dreams demo by Nop Jiarathanakul and port it to newer THREE.JS version and glTF format.
While the code has complex structure, I couldn't publish as a snippet, however the ...
-1
votes
1
answer
287
views
how to convert coordinates from azimuth/altitude to tilt-tilt
I'm trying to build a lightweight antenna tracker with two servos. For mechanical reasons, I'm first mounting servo1 on a base so that it tilts forward/backwards, then mount servo2 on it twisted 90˚so ...
0
votes
1
answer
956
views
Projectile Motion in 3D: Calculating Time of Collision
I'm writing a function that takes in an object with a trajectory (including starting position, starting velocity, and acceleration, all represented as Vector3s) in 3D space and if it hits another ...
1
vote
1
answer
264
views
Calculate/approximate the velocity and rotation impulse on a rigid body, given only a force at a position and the rigidbody's center of mass?
I'm working on a compute shader that allows two-way physics interaction between a fluid particle engine (NVidia Flex) and a rigidbody physics engine (Unity3D Engine).
Basically for the compute shader ...
3
votes
2
answers
514
views
Interpolation of an object considering both acceleration and deceleration over time
I am building a simulator in Javascript and struggling to understand the basics of the physics and kinematic since it's been a while since I graduated. Anyways, I have a loop that should simulate the ...
0
votes
1
answer
212
views
Forward Kinematics on Matlab
hope you are very well. I am studying Forward Kinematics at the moment and was trying to implement the ideas on MATLAB for a simple Robotic Arm:
I want to calculate the Transformation matrice for q3 ...
0
votes
1
answer
34
views
Maximum stoppable velocity given displacement and a contant deceleration at discrete time
I want to find out, what is the maximum speed that I can be walking and be able to brake by reaching displacement 0 with speed 0.
I need an equation that works with discrete time.
How am I updating ...
1
vote
3
answers
171
views
Algorithm for planning a rendezvous between two spaceships
I'm trying to figure out an algorithm for setting up a rendezvous between two spaceships.
There is no gravity or drag. Both spaceships have a position and a velocity at the start. Spaceship B ...
1
vote
0
answers
302
views
Deriving kinematics equations for constant jerk
I am trying to find the constant jerk analog to the extremely useful constant acceleration equation
a=v^2/2s
or
v^2-v1^2=2a(s-s1)
It has no term for time, which is useful if you are looking for ...
1
vote
1
answer
59
views
Evaluating rigid body linear and rotational velocities after collision with a wall
I have a relatively simple case that I'm bending my head around for quite some time already, I'm trying to evaluate by hand (without the use of any libraries) the rotational and linear velocities for ...
1
vote
0
answers
74
views
Obtaining Rotation and Translation from 3D Hand Keypoints
I currently have a stable source of 3D Key points from the palm of my hand. I would like to know how I can go about getting the transformation of my hand after some random motion a few frames later.
...
0
votes
0
answers
147
views
How to determine when to accelerate and decelerate to reach a given destination?
I'm creating a computer game in which there is a computer-controlled car that needs to travel along a straight line (thus making this problem effectively 1-dimensional) and reach a destination coming ...
0
votes
1
answer
35
views
The first speed calculated ball does not go to the target it should go
In the function below, The distance between ball and target is
known(R). Also, the angle between the resultant vector and the x-axis is
known(LaunchAngle). Thanks to these parameters(R, ...
0
votes
2
answers
98
views
Accelerating a point in two dimensions
I have the following Python code:
import math
x = 0
y = 0
acceleration = 10
angle = 0
vx = 0
vy = 0
time = 10
for _ in range(time):
vx += acceleration * math.cos(math.radians(angle))
vy +=...
0
votes
0
answers
145
views
How to calculate the needed velocity vector to fire an arrow to hit a certain point/
Im using Oimo.js Physics library with 3 js.
I fire my arrow at a target but my math doesn't seem to be right and I'm having trouble remembering exactly how all the kinematic formulas works.
I have ...
1
vote
1
answer
2k
views
How can I get arc from a 3D circle in Matplotlib?
I'm trying to get an arc from a circle that is tangent to Z axis, as shown in the figure below, using matplotlib.
I just want an arc that is covered by yellow rectangle. Below is the code to get a ...
0
votes
0
answers
1k
views
Forward and Inverse Kinematics for robot MATLAB
Hope you are doing well.
I am verifying the output of my forward kinematics through inverse kinematics and the results are not as desired. As the output of my inverse kinematics is not coming out to ...
0
votes
0
answers
278
views
How can time derivatives of angular orientation (attitude) be calculated from quaternion data?
I want to use the quaternion data representing the attitude of a device (e.g. Android and iOS smartphones), during a movement task (e.g. arm movement), to calculate time derivatives of this angular ...
0
votes
0
answers
237
views
Too many collisions cause lag
I have a scene with one kinematicbody (planet) and I am adding rigidBodies and shooting them at the planet. The problem is, that when I have more than 500 in my scene, the game becomes really laggy ...
0
votes
0
answers
197
views
Obtaining dimensions for Stewart Platform for arm, base and top plate
I am in a need to calculate the Stewart platform dimensions for an application where the Stewart platform top plate can be, consisting of a width of 19Inches maximum, and length 19Inches. Also, the ...
0
votes
3
answers
211
views
Making an NPC go up and down in UNITY
So I have this code, it is to make an enemy up and then down using waypoints, it actually works, but for a strange reason after some looping between the waypoints it goes all the way up to the ...
1
vote
0
answers
266
views
Inverse kinematik using Qt (forward solved) for cnc 5 axis head
in a 5 axis machine, I use forward kinematics to know the orientation of the tool from the position of C and A axis:
Forward kinematic it's easy in Qt:
QVector3D forward_kinematic(double C,double A){...
0
votes
1
answer
938
views
Error using rotz - Not accepting symbolic argument
So I'm trying to compute some homogeneous transformation matrices using Peter Corke's Robotics toolbox, however when I try to use the "trchain" command:
syms a1 q1 q2
trchain('Rz(q1)Tz(a1)Ry(q2)',[...
0
votes
1
answer
88
views
How to translate left and right motor speeds of a tank to a path/curvature
I'm working on a tank simulation in MATLAB. The tank has two motors, a left motor and a right motor. These can each be individually written to run at anywhere from (-100%) to (+100%) speed. So, if I ...