-
Notifications
You must be signed in to change notification settings - Fork 6
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
ROS 2 ouster os1 os0 #47
Conversation
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
…into suggestions Signed-off-by: Jakub Delicat <[email protected]>
Suggestions
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
…into ros2-add-ur-component Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
Signed-off-by: Jakub Delicat <[email protected]>
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.
One suggestion rest looks fine
urdf/components.urdf.xacro
Outdated
@@ -71,18 +71,99 @@ | |||
/> | |||
</xacro:if> | |||
|
|||
<xacro:if value="${type == 'LDR10'}"> |
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.
Probably all changes in this file can be reduced to:
<xacro:property name="ouster_models_dict" value="${{
'LDR10': 'os0_32',
'LDR11': 'os0_64',
'LDR12': 'os0_128',
'LDR13': 'os1_32',
'LDR14': 'os1_64',
'LDR15': 'os1_128'
}}" />
<xacro:if value="${type in ouster_models_dict}">
<xacro:include
filename="$(find ros_components_description)/urdf/ouster.urdf.xacro"
ns="lidar"
/>
<xacro:lidar.ouster
parent_link="${parent_link}"
xyz="${xyz}"
rpy="${rpy}"
namespace="${robot_namespace}"
device_namespace="${device_namespace}"
model="${ouster_models_dict[type]}"
/>
</xacro:if>
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.
Great idea! Implemented
Signed-off-by: Jakub Delicat <[email protected]>
Unified XACRo for Ousters OS0 and OS1
Check after this:
#44