-
Notifications
You must be signed in to change notification settings - Fork 51
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
relaxed_ik_rust fails #25
Comments
I have the same problem mate, have you solved it? |
Could one of you send the info file and urdf that you're using when you get this error? I will hopefully be able to figure it out from there. Thanks! |
Hi mate, thank you very much for your reply! now we have problem of installing rust! Several months ago, my old laptops all work for installing rust, but now, rust does not work for two of my new laptops. When I run roslaunch relaxed_ik relaxed_ik_rust.launch, it says: sh: 1: cargo: not found.. After I install rust using: https://www.rust-lang.org/tools/install, I found it have the problem mentioned above: 'thread 'main' panicked at 'attempted to leave type linked_hash_map::Node<yaml::Yaml, yaml::Yaml> uninitialized' |
interesting...I see that rust just released their version 1.50, I wonder if that caused some subtle breaking changes for some other crates (e.g., maybe Yaml in this case). Maybe try reverting to/ installing an older version of rust to see if that makes a difference? https://users.rust-lang.org/t/how-can-i-revert-to-older-version-of-rust/20497 I'm currently using rust 1.46 and everything is working fine, so maybe that's a good version to try first. |
Thank you very much, I finally made it work by using: sudo apt install rustc |
@djrakita I too am having this issue but with a slightly different error. Reverting to an older Rust (1.46) did not fix the issue. I am using the Fetch robot urdf and below is the info file. Do you have any other suggestions? Thank you for the help. Error Output Line 82 seems to be here
|
I was able to fix this by changing starting_config values to be 0 rather than 0.0. Rust works now! |
Saved me some time, @bryceikeda :D |
This still didn't useful for me. |
Hi @dashuaip , did you have a chance to try out relaxed_ik_core? It is a separate repo compatible with newer Rust and Ubuntu versions. |
Actually, I'm using relaxed_ik_ros1. I needed to use the dev branch of relaxed_ik to make the files suitable for my robot, and the process went smoothly. But when I started "roslaunch relaxed_ik_ros1 relaxed_ik_rust.launch", it had the same problem. I've tried downgrading the version of Rust and changing the parameters in the file, but they did't work.
|
At first glance, the error might occur because the setting file doesn't have |
This is the setting file "aubo_i10_info.yaml". It was generated with the dev branch. Is there a problem in the file?
|
I finally fixed it successfully. I changed the value of starting_config, and although it looks the same. It stopped reporting errors.
|
Hi all,
I am trying the dev branch rust version relaxed_ik_rust on ROS Melodic with UR5 robot. I get the following fail:
...bunch of what I assume Rust warnings, then
warning: 118 warnings emitted
Finished dev [optimized + debuginfo] target(s) in 0.07s
Running
target/debug/relaxed_ik_node
solver initialized!
thread 'main' panicked at 'attempted to leave type
linked_hash_map::Node<yaml::Yaml, yaml::Yaml>
uninitialized, which is invalid', /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/core/src/mem/mod.rs:659:9[relaxed_ik_node-1] process has finished cleanly
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
The python version works as intended, I haven't tested the Julia version yet. Any advice?
The text was updated successfully, but these errors were encountered: