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

Segmentation fault (core dumped) #49

Open
litwellchi opened this issue Feb 21, 2023 · 1 comment
Open

Segmentation fault (core dumped) #49

litwellchi opened this issue Feb 21, 2023 · 1 comment

Comments

@litwellchi
Copy link

litwellchi commented Feb 21, 2023

Hi! Thanks to your great project. I meet some difficult while I try to build the project on docker:
When I try to run the tutorial lines

from frankx import Affine, LinearRelativeMotion, Robot

robot = Robot("172.16.0.2")
robot.set_dynamic_rel(0.05)

motion = LinearRelativeMotion(Affine(0.2, 0.0, 0.0))
robot.move(motion)

Nothing output except the:
Segmentation fault (core dumped)
I tried the robot.current_pose(), which can return the pose quite well, so the problem seems showed on the robot.move(motion). Do you have any idea ?

@TimSchneider42
Copy link

Hi,

I believe this issue might be related to frankx accessing python context without locking the GIL here:

https://github.com/pantor/frankx/blob/c934d7f97b2f56e1172e25106f2bde67bac5b208/include/frankx/motion_waypoint_generator.hpp#L140C1-L145C7

I maintain a fork of frankx, where, among other things, I fixed this issue.

Best,
Tim

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