-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicated base links: left_pelvis_abduction and right_pelvis_abduction. #5
Comments
I also meet this problem, I use matlab(2018a) and mathematics(12.0) |
Same here, fixed it by removing the fixed joints between pelvis and hip. I don't know why but for me FROST somehow did connect the floating base to hip not pelvis. Hence the two base links. Maybe this is helpful |
I have the same problem with matlab2021b and mathematica13.1 (windows) |
For me FROST does not work with Mathematica 13. |
I still have the same error with Mathematica 12.1.0(Matlab 2017b or 2021b). |
For those who have the same problem, I think the core problem is that the update e5dc06 on 30 Dec 2021 introduces new features incompatible with the % remove links with zero mass and inertia
% link_indices_to_remove = [];
% for i=1:numel(links)
% link = links(i);
% if link.Mass == 0 && all(all(link.Inertia == zeros(3)))
% link_indices_to_remove = [link_indices_to_remove,i];
% end
% end
% if ~isempty(link_indices_to_remove)
% links(link_indices_to_remove) = [];
% end
%
% % remove joints with no child links (except base coordinates)
% joint_indices_to_remove = [];
% for i=1:numel(joints)
% joint = joints(i);
% child_index = str_index(joint.Child,{links.Name});
% if isempty(child_index)
% joint_indices_to_remove = [joint_indices_to_remove,i];
% end
% end
% if ~isempty(joint_indices_to_remove)
% joints(joint_indices_to_remove) = [];
% end
if ~isempty(base_dofs)
% non-fixed base coordiantes
base_dofs(end).Child = findBaseLink(obj,joints); |
Thanks, I solved this problem with this method. |
Hi, I'm trying to get Cassie's dynamics Model. I followed the steps, but I get the following error message ¿What could I be doing wrong?
Error using RobotLinks/findBaseLink (line 30)
Duplicated base links: left_pelvis_abduction and right_pelvis_abduction.
Error in RobotLinks/configure (line 106)
base_dofs(end).Child = findBaseLink(obj,joints);
Error in RobotLinks (line 97)
configure(obj, config, base, load_path, varargin{:});
Error in Cassie (line 55)
obj = obj@RobotLinks(config, base, [], 'removeFixedJoints', true);
Error in model_gen (line 19)
cassie = Cassie(fullfile('urdf','cassie.urdf'));
The text was updated successfully, but these errors were encountered: