-
Notifications
You must be signed in to change notification settings - Fork 50
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
about singularity #216
Comments
hi @Enzo-let, this error shows due to a missing transform. Can you try to add a static transform publisher a la from launch.substitutions import LaunchConfiguration, PathJoinSubstitution
# static transform world -> robot_name/world
ld.add_action(
LBRDescriptionMixin.node_static_tf(
tf=[0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
parent="world",
child=PathJoinSubstitution([LaunchConfiguration("robot_name"), "world"]),
)
) This should fix your particular issue. However, from what I can see reading through
In case you wish to create a pull request to modify this behavior, may I kindly ask you to target the |
Sorry to response you so lately. There are so many classes recently so that i don't have so much time in the lab. I have started to modify it, but it still has so many problems. I will try to modify it again, if it still dosen't work, i hope i can get some suggestions from you. And about your PR suggestions, i got it. Thanks so much. |
I have tried my best to chang it. But it still didn't work. The error shows like below def generate_launch_description() -> LaunchDescription:
from launch.actions import DeclareLaunchArgument class LBRROS2ControlMixin:
` |
So basically Specifying
you can e.g. change here what arguments are forwarded to the urdf
|
Ok, I have changed it as your suggestions, but there are still same problems, Can you help me to say if the code of lbr_system_interface.xacro is correct.
` |
the next is description.py class LBRDescriptionMixin:
` |
sorry @Enzo-let, could I kindly ask you to format your code snippets? This can be done via tripple ``` followed by the language specification and ending with tripple ```. Language specification can e.g. be python or bash or XML etc., i.e. ```python. This would help a lot |
It's ok.
The description.py is like below
|
I appreciate you well. I have a question about running the lbr_demo/lbr_moveit, which is i find that the initial position of the robot is singularity, so i need to chang the initial position in the simulation. What i do is to change the lbr_movit_config with setup_assistant, but when i run the rviz.launch.py, the robot show like below. So i wanna know which files i need to change.I guess the mock.launch, and i change it like this :
`
from launch import LaunchDescription
from launch.actions import RegisterEventHandler, DeclareLaunchArgument
from launch.event_handlers import OnProcessStart
from launch.substitutions import LaunchConfiguration
from lbr_bringup.description import LBRDescriptionMixin
from lbr_bringup.ros2_control import LBRROS2ControlMixin
def generate_launch_description() -> LaunchDescription:
ld = LaunchDescription()
`
The text was updated successfully, but these errors were encountered: