필터 지우기
필터 지우기

Use keyboard input to control a robot in coppeliasim

조회 수: 21 (최근 30일)
Mushtariy
Mushtariy 2024년 3월 7일
댓글: Walter Roberson 2024년 3월 7일
I have a simulated space orbital robot in CoppeliaSim with a robotic arm and a vision sensor and I have to write a matab code that can control the position of the target ( the end of space robot ). For example Q would add +0.01 in the poistion and W when pressed would add -0.01 in position in regards to the robot and I need to do so for 6 ways x dircetion y direction and z direction. I would appreciate if someone could help me out with how to program this in matlab this is for my final year research project ! Thank you in advance !!
  댓글 수: 4
Mushtariy
Mushtariy 2024년 3월 7일
okay thank you !! I think I was able to resolve this issue however my target in coppeliasim is not moving in +0.01 position or minus when I am trying to control it through the keyboard input :/ do you know what could be the reason?
Walter Roberson
Walter Roberson 2024년 3월 7일
Are the statements such as
targetPosition(1) = targetPosition(1) + 0.01;
being executed?
Is keyPressed one of those four possibilities?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by