Skip to content

add optional /clock publishing to mcap_play, now need rosgraph_msgs p… #28

add optional /clock publishing to mcap_play, now need rosgraph_msgs p…

add optional /clock publishing to mcap_play, now need rosgraph_msgs p… #28

Workflow file for this run

name: Ubuntu 22.04 build with debian ros packages along with source packages
on:
push:
workflow_dispatch:
jobs:
ubuntu2204:
runs-on: ubuntu-22.04
# env:
# roslibrust would need this set but going to override it anyhow
# ROS_PACKAGE_PATH: /usr/share
steps:
- name: git clone this
uses: actions/checkout@v4
with:
path: mcap_tools
- name: show source
run: |
ls -l mcap_tools/mcap_tools
- name: os version
run: |
lsb_release -a
- name: apt update
run: |
sudo apt-get update
- name: apt upgrade
run: |
sudo apt-get upgrade
- name: apt rust installs
run: |
sudo apt-get install -yqq cargo
sudo apt-get install -yqq rustc
cargo --version
rustc --version
- name: more apt installs
run: |
sudo apt install -yqq python3-rosmsg rospack-tools libsensor-msgs-dev libstd-msgs-dev libgeometry-msgs-dev ros-sensor-msgs ros-std-msgs ros-geometry-msgs cargo pkg-config
sudo apt install -yqq libstd-srvs-dev python3-std-srvs ros-std-srvs
sudo apt install -yqq libtf2-msgs-dev python3-tf2-msgs ros-tf2-msgs
sudo apt install -yqq libros-rosgraph-msgs-dev python3-rosgraph-msgs ros-rosgraph-msgs
sudo apt install -yqq librust-openssl-dev
rospack find geometry_msgs
- name:
run: |
# TODO(lucasw) build docs, and run tests
cd mcap_tools/mcap_tools
ROS_PACKAGE_PATH=`rospack find actionlib_msgs`:`rospack find std_msgs`:`rospack find sensor_msgs`:`rospack find geometry_msgs`:`rospack find rosgraph_msgs`:`rospack find std_srvs`:`rospack find tf2_msgs` cargo build --release
target/release/mcap_record --version
target/release/mcap_record --help