Link movement with respect to motion sensor data

조회 수: 7 (최근 30일)
Ajay Raj K
Ajay Raj K 2021년 12월 14일
답변: Karsh Tharyani 2023년 3월 24일
I am trying to simulate a chain of links links from the motion sensor data that is generated realtime. The generated data is in the format of Euler angles. I would like to visualise the link motion in matlab using the relevant toolbox (I assume robotic toolbox helps). But I am not sure where to knock. If someone can guide me how to approach the problem, or rather, where to look for similar problems, it would be very helpful. Thanks in advance.
  댓글 수: 2
Sandip Kumar
Sandip Kumar 2021년 12월 16일
Can you please describe the problem with some sample data?
Ajay Raj K
Ajay Raj K 2021년 12월 20일
Thanks for the response Mr. Sandip Kumar.
This is something that looks like a chain of links that i mentioned about ( This is not exactly the problem statement, but is a downloaded image, but this works for the situation and explaination). I have the orientation data from motion sensors mounted on the joints in terms of euler angles ( I can deduce the rotation atrix etc. from that also). The euler angle data looks like the following snip (This is sample data for one joint. Similaly multiple sensors will be there for multiple joints, basically forming the chain ol links)
The links (or rather the sensor orientations) would be caliberated to an initial reference position ( which I have accomplished by mechanical calculations based on rotation matrix). So, further from the data, I need to visualise the joint movement based on the sensor data ( Note that link lengths are fixed and hence the orientation data well defines the joint positions).
This is how a rotation matrix would look like, for one sensor, and then 'n' number of sensors.
Also, I have deduced the link orientations with a local coordinate system in terms of angles, if it would help. Kindly ask for any further clarifications if this already doesn't explain.
Thankyou.

댓글을 달려면 로그인하십시오.

답변 (1개)

Karsh Tharyani
Karsh Tharyani 2023년 3월 24일
Hi Ajay,
You can model the leg as a rigidBodyTree. Given this is a serial linkage, with a configuration vector representing the joint position angles, you can simply call the show function on the rigidBodyTree to visualize the positions of the linkages.
Here are is a reference page in our Documentation which should help you get started:
I hope this helps.
Best,
Karsh

카테고리

Help CenterFile Exchange에서 Manipulator Modeling에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by