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

ROS2 fake environment simulation initial joint state #71

Open
DailyNir opened this issue May 22, 2024 · 1 comment
Open

ROS2 fake environment simulation initial joint state #71

DailyNir opened this issue May 22, 2024 · 1 comment

Comments

@DailyNir
Copy link

hello,
using ros2 humble version and for a while now i am trying to set different joint state for initial simulation in the fake environment without success. i would like some guidance and explanations where would i find it .

my initial state is colliding with my urdf because when the joints are at (0,0,0,0,0,0) they are in a collision state which makes it impossible to continue planning in this environment.

please advise .

@vimior
Copy link
Contributor

vimior commented May 23, 2024

@DailyNir

There is no way to set the initial point through configuration without modifying the code to support it.

If your initial point is fixed, you can temporarily modify the configure function in xarm_controller/src/hardware/uf_robot_fake_system_hardware.cpp and set the initial value of position_cmds_ to what you want.

We will study how to support external configuration in the future.

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