Skip to content

Commit

Permalink
Use new packages for Leo ERC
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsowa committed May 6, 2021
1 parent da3205d commit 1d641fb
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
1 change: 0 additions & 1 deletion stage3/03-leo-ros/00-packages
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
ros-melodic-leo-robot
ros-melodic-raspicam-node
ros-melodic-rosmon-core
python3-stm32loader
Expand Down
3 changes: 3 additions & 0 deletions stage3/03-leo-ros/02-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ install -m 644 files/leo-erc.repos "${ROOTFS_DIR}/etc/ros/catkin_ws/"
on_chroot <<EOF
cd /etc/ros/catkin_ws
vcs import < leo-erc.repos
rosdep update
rosdep fix-permissions
rosdep install --from-paths src -iy
catkin config --extend /opt/ros/melodic --install -i /opt/ros/leo
catkin build
EOF
12 changes: 6 additions & 6 deletions stage3/03-leo-ros/files/leo-erc.repos
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
repositories:
src/leo_bringup:
src/leo_erc_robot:
type: git
url: https://github.com/LeoRover/leo_bringup.git
version: erc
src/leo_description:
url: https://github.com/LeoRover/leo_erc_robot.git
version: master
src/leo_erc_common:
type: git
url: https://github.com/LeoRover/leo_description.git
version: erc
url: https://github.com/LeoRover/leo_erc_common.git
version: master
2 changes: 1 addition & 1 deletion stage3/03-leo-ros/files/robot.launch
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<param name="robot_description"
command="xacro /etc/ros/urdf/robot.urdf.xacro"/>

<include file="$(find leo_bringup)/launch/leo_bringup.launch">
<include file="$(find leo_erc_bringup)/launch/leo_bringup.launch">
<arg name="upload_description" value="false"/>
<arg name="tf_frame_prefix" value=""/>
</include>
Expand Down
6 changes: 2 additions & 4 deletions stage3/03-leo-ros/files/robot.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
<robot xmlns:xacro="http://www.ros.org/wiki/xacro"
name="leo">

<xacro:include filename="$(find leo_description)/urdf/macros.xacro"/>
<xacro:include filename="$(find leo_erc_description)/urdf/leo_erc_macros.xacro"/>

<xacro:leo default_antenna="true"
rockers_fixed="true"
footprint_link="true"
<xacro:leo rockers_fixed="true"
link_prefix=""
joint_prefix=""/>

Expand Down

0 comments on commit 1d641fb

Please sign in to comment.