Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
osu-uwrt-bot committed Mar 1, 2023
2 parents 6eb36f1 + d6995f1 commit 034e5d8
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
# riptide_release
# Release Repository for Riptide Vehicle Software
Below are some important instructions on how to make the best use of this repository and quickly deploy and manage vehicle software.

## Pre Pool Test
1. Before a pool test the versions of the submodules should be updated to the versions intended to be tested in the water.
2. This repository can then be committed with the new submodule versions to the master branch.
3. Leave for the pool on time. (no, really, try to leave on time)

## At Pool Test
This repository should be the workspace deployed to the robot via the [colcon deploy extension](https://github.com/osu-uwrt/riptide_setup/tree/humble/colcon_riptide). It supports the normal colcon package selection args to make the process more customizable and lower iteration times. By setting up your terminal inside this repository `~/osu-uwrt/release`, you should be able to deploy all needed packages to the robot as you work through bugs. It is also recommended that you run any GUI tools out of this workspace and not the normal development version, just to make sure the configurations are synchronized correctly.

## Post Pool Test
After a pool test, this repository should be tagged with the date of the test, then released on github. This is to serve as a backup for future pool tests, should software need to be rolled back. Before tagging, any commits against the submodules should be committed, followed by a submodule update commiit to bump the submodule to the new version. The tag convention should be the date of the pool test, and the release should contain any comments about the state of the codebase and or what was tested.

## Robot Software
This repo is set up such that each of the packages found in the `osu-uwrt/development` workspaces should be set as a submodule in this repository. The submodules are placed in the `src` directory and are version pinned to the correct versions running on the robot. This is intended to make controlling the code being tested on the robot a streamlined process.

## Cross Build Instructions
For cross building ROS distributions to the outdated versions of ubuntu that nvidia has decided to ship on their jetson boards, this repository contains a cross building system.
Expand Down
7 changes: 7 additions & 0 deletions scripts/config_target/configure_jetpack.bash
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ EOF
systemctl unmask systemd-networkd
systemctl enable systemd-networkd

# add to dialout
sudo usermod -aG dialout $USER

# add the dvl to the hosts file
cp /etc/hosts /tmp/host_edit
echo "192.168.1.212 uwrt-dvl" >> /tmp/host_edit

else
echo "This script is not running on jetson hardware. Aborting"
exit
Expand Down
12 changes: 11 additions & 1 deletion scripts/unpack_install/install_tar.bash
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,14 @@ echo "Invoking rosdep"

# run rosdep against the packages to try to resolve the rest
cd ~/jetson_install
rosdep install --from-paths src --ignore-src -y --skip-keys "fastcdr rti-connext-dds-6.0.1 urdfdom_headers"
rosdep install --from-paths src --ignore-src -y --skip-keys "fastcdr rti-connext-dds-6.0.1 urdfdom_headers"

# make the system wide script
cat > /tmp/setup.bash << EOF
#!/bin/bash
source ${HOME}/jetson_install/install/setup.bash
EOF

sudo mkdir -p /opt/ros/${ROS_DISTRO}/
sudo mv /tmp/setup.bash /opt/ros/${ROS_DISTRO}/

0 comments on commit 034e5d8

Please sign in to comment.