Skip to content
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

URDF rules that can be load #1

Closed
Biruberuvinto opened this issue Jul 30, 2020 · 6 comments
Closed

URDF rules that can be load #1

Biruberuvinto opened this issue Jul 30, 2020 · 6 comments

Comments

@Biruberuvinto
Copy link

Hello.
Thank you for making a great tool.

Is there a rule in URDF that this tool can load?
The sample URDF, ANYMAL, loaded successfully.
However, I was not able to read the URDF of a completely different 3-axis robot arm.
The error message: "poll failed with error Interrupted system call" is displayed and the process ends.

Thank you.

@grassjelly
Copy link
Member

Hi,

This setup assistant is mainly for quadrupedal robots, for this project to be exact - https://github.com/chvmp/champ.

Unless you meant, you’re loading a quadrupedal robot’s URDF with a robotic arm?

@Biruberuvinto
Copy link
Author

Thank you for your prompt reply.

I know the purpose of the tool is champ.

I interested if a simple robot arm could be used instead of the URDF of a quadrupedal robot equipped with a robot arm.
Because I tried to set up a quadrupedal robot with other joints with this tool.

@Biruberuvinto
Copy link
Author

@grassjelly
When I referred to the source file (urdf_parser.py), it said that it was adding to the new list when the number of end links was four.
Lines 227 to 234.

This means that a URDF that doesn't have 4 endlinks will not be added to the list and will fail?

@grassjelly
Copy link
Member

The function acts as a filter by removing a potential manipulator in the urdf file. This works by checking the number of actuators in each chain and counting how many times that number occured. If that number has occurred 4 times(4 legs) most likely the end link belongs to a leg, otherwise it will omit.

@Biruberuvinto
Copy link
Author

It was helpful. Thank you very much.

Incidentally, I tried to generate it with the URDF file of "https://github.com/ReactRobotics/DogBotV4/tree/master/ROS".
Then the following notice was displayed on the terminal.

[WARN] [1596091560.599070]: base_joint's xyz are not defined. Setting these values ​​to zero
[WARN] [1596091560.599573]: base_joint's rpy are not defined. Setting these values ​​to zero
[WARN] [1596091560.600328]: base_joint's xyz are not defined. Setting these values ​​to zero
[WARN] [1596091560.600689]: base_joint's rpy are not defined. Setting these values ​​to zero
[WARN] [1596091560.601352]: base_joint's xyz are not defined. Setting these values ​​to zero
[WARN] [1596091560.601682]: base_joint's rpy are not defined. Setting these values ​​to zero
[WARN] [1596091560.602307]: base_joint's xyz are not defined. Setting these values ​​to zero
[WARN] [1596091560.602631]: base_joint's rpy are not defined.Setting these values ​​to zero

When I try the generated file with the command: "$ roslaunch bringup.launch rviz:=true", it looks like the picture.
Do you know how to fix the error?
image

@grassjelly
Copy link
Member

Can you please post this as a separate thread in the champ repository instead as it's a different issue. Thanks! Closing this for now.

grassjelly pushed a commit that referenced this issue Dec 25, 2021
fix issues when running in noetic
grassjelly pushed a commit that referenced this issue Dec 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants