import robot as a rigidbody tree from simscape model
6 次查看(过去 30 天)
显示 更早的评论
Recently I am trying to import a simscape multibody robot model to a rigidbodytree using 'importrobot' function. Following the documentation, the syntax is [robot,RobotInfo]=importrobot(gcs). I have opened my simscape model by the way. But error occured: "Too many output arguments"
Is it because importrobot from simscape model is not supported? But the documentation clearly states it can. I am using 2018a by the way.
0 个评论
采纳的回答
Sebastian Castro
2018-10-10
Actually, if you look at the Robotics System Toolbox release notes, the ability to use importrobot on a model is only out in R2018b:
This might have been misleading because importrobot worked with URDF files as of R2017a.
- Sebastian
2 个评论
Wan Yi
2018-10-10
Thank you Sebastian! Does this mean that I can only export to URDF from Solidworks model? (the CAD model already exists in solidworks)
PS, since the inverse kinematics block also comes out after 2018b, is there an alternative way for me to make the robot manipulator example work (trajectory mode needs IK block)? Or I need to write my own IK function?
Sorry for so many questions... Thanks!
Sebastian Castro
2018-10-10
You can export to URDF and import into Robotics System Toolbox, but I think it may be easier to upgrade to R2018b if you have the chance.
Yes, there is a way to use the inverse kinematics in an earlier version, but it's a little involved.
You can also email me your Simscape Multibody model if you don't have access to R2018b and I can generate the Rigid Body Tree for you... though I can't guarantee the conversion will be successful, I can try?
更多回答(1 个)
dimple bhalla
2019-7-5
Can you please help me in importing my simscape multibody file to rigid body tree?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Manipulator Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!