Skip to content

Commit

Permalink
Fix issues #106
Browse files Browse the repository at this point in the history
  • Loading branch information
HoangGiang93 committed Oct 13, 2022
1 parent 7ac69a1 commit a2d1313
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 2,206 deletions.
4 changes: 2 additions & 2 deletions iai_apartment/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ find_package(xacro REQUIRED)
## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
# catkin_python_setup()

xacro_add_xacro_file(urdf/apartment.urdf urdf/iai-apartment.urdf)
xacro_add_xacro_file(urdf/apartment.xacro urdf/apartment.urdf)
# add target to trigger xacro
add_custom_target(xacro ALL DEPENDS
urdf/iai-apartment.urdf)
urdf/apartment.urdf)
install(DIRECTORY xacro
DESTINATION share/${PROJECT_NAME})

Expand Down
12 changes: 4 additions & 8 deletions iai_apartment/launch/apartment_bringup.launch
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
<launch>

<node pkg="tf"
type="static_transform_publisher"
name="iai_apartment_root_link_broadcaster"
args="0 0 0 0 0 0 map iai_apartment/apartment_root 25">
</node>
<node pkg="tf" type="static_transform_publisher" name="iai_apartment_root_link_broadcaster" args="0 0 0 0 0 0 map iai_apartment/apartment_root 25"></node>

<arg name="model" default="$(find iai_apartment)/urdf/apartment.urdf" />
<arg name="model" default="$(find iai_apartment)/urdf/apartment.xacro" />
<param name="apartment_description" command="$(find xacro)/xacro '$(arg model)'" />

<node name="apartment_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher">
Expand All @@ -17,8 +13,8 @@
</node>

<node pkg="joint_state_publisher" type="joint_state_publisher" name="apartment_joint_state_publisher" output="screen">
<remap from="robot_description" to="apartment_description"/>
<param name="rate" value="25"/>
<remap from="robot_description" to="apartment_description" />
<param name="rate" value="25" />
<remap from="/joint_states" to="/apartment_joint_states" />
<rosparam param="source_list">
- /iai_kitchen/cram_joint_states
Expand Down
Loading

0 comments on commit a2d1313

Please sign in to comment.