Skip to content

Update my_robot_rviz.launch - #14

Open
Ktysai wants to merge 3 commits into
eborghi10:masterfrom
Ktysai:Ktysai-patch-1
Open

Update my_robot_rviz.launch#14
Ktysai wants to merge 3 commits into
eborghi10:masterfrom
Ktysai:Ktysai-patch-1

Conversation

@Ktysai

@Ktysai Ktysai commented Jun 28, 2021

Copy link
Copy Markdown

ROS NOETIC

Solution for:
#1
in order to make the robot aprear corectly in RVIz and deal with this type of error message:
"ERROR: cannot launch node of type [robot_state_publisher/state_publisher]: Cannot locate node of type [state_publisher] in package [robot_state_publisher]. Make sure file exists in package path and permission is set to executable (chmod +x)"

#2
necessary to solve NO GUI for joint_state_publisher when using RVIZ

@eborghi10 eborghi10 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution @Ktysai, I left a few comments.

<arg name="rvizconfig"
default="$(find my_robot_description)/rviz/my_robot.rviz" />

<!-- Ktysai necessary to solve NO GUI for joint_state_publisher when using RVIZ -->

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to add your username in the comments you made. Please remove them.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

unless="$(arg use_gui)" /> <!-- Ktysai last two lines necessary to solve NO GUI for joint_state_publisher when using RVIZ -->
<!-- Ktysai node necessary to solve NO GUI for joint_state_publisher when using RVIZ -->
<node name="joint_state_publisher_gui"
pkg="joint_state_publisher_gui"

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add in the package.xml file joint_state_publisher_gui as run_depend.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is I do like that is no need to mention use_gui here?

Comment on lines +50 to +54
<!-- KTYSAI
put type="robot_state_publisher", in order to make the robot aprear corectly in RVIz and deal with this type of error message:
"ERROR: cannot launch node of type [robot_state_publisher/state_publisher]: Cannot locate node of type [state_publisher] in package [robot_state_publisher].
Make sure file exists in package path and permission is set to executable (chmod +x)"
-->

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need this comment here, state_publisher is an old name that was changed a long time ago.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the launch file it was like that, unfortunately.

Comment thread my_robot_description/launch/my_robot_rviz.launch Outdated
Ktysai and others added 2 commits July 2, 2021 02:11
Co-authored-by: Emiliano Borghi <emiliano.borghi@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants