-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Charles padawan #125
base: kinetic-devel
Are you sure you want to change the base?
Charles padawan #125
Conversation
@jlurgo add a description to the PR and change the name of the title. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jlurgo I made some comments. If you have doubts let me know.
ca_description/urdf/dock/dock.xacro
Outdated
<xacro:macro name="dock" params="width"> | ||
<link name='back'> | ||
<visual name='visual'> | ||
<origin xyz="0 0 0" rpy="0 0 0" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Origin tags with all their components in 0
are not necessary since its the default value, so please remove them.
ca_description/urdf/dock/dock.xacro
Outdated
</link> | ||
<link name='base'> | ||
<visual name='visual'> | ||
<origin xyz="0 ${width/2 - width/6} ${-(width * 2/3)/2}" rpy="0 0 0" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since rpy=0 0 0
, you can use this:
<origin xyz="0 ${width/2 - width/6} ${-(width * 2/3)/2}"/>
ca_description/urdf/dock/dock.xacro
Outdated
<child link="base" /> | ||
</joint> | ||
</xacro:macro> | ||
<xacro:dock width="0.15"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think about this like a library, where you create a function (in this case, the dock macro) and in the same place you use it. That's not correct. What you should do is to create a new file using this macro.
@@ -0,0 +1,13 @@ | |||
<launch> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is not necessary. Add the dock to the empty world and spawn it with an environment variable DOCK
. You will also need to declare the initial pose for each environment.
@@ -1,7 +1,8 @@ | |||
<launch> | |||
<arg name="env" default="empty"/> | |||
<arg name="localization" default="$(optenv LOCALIZATION none)"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes are not related to your PR.
@@ -0,0 +1,80 @@ | |||
#include <ros/ros.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the plugin that you're using to detect whether the robot is docker or not?
85275d2
to
6253613
Compare
0d7f070
to
0fb59fc
Compare
No description provided.