Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
6e0fca3
Script that checks point cloud points feature/PD-11
purplefishies Jan 22, 2020
30fa008
Debian capable build into a package feature/PD-11
purplefishies Jan 22, 2020
0607deb
adding makefile and configure scripts feature/PD-11
purplefishies Jan 22, 2020
0a4152c
Updating ignore file feature/PD-11
purplefishies Jan 22, 2020
2191225
test file for testing message rates feature/PD-11
purplefishies Jan 22, 2020
8c183a8
Moving to installable bin directory feature/PD-11
purplefishies Jan 22, 2020
6bfe276
Custom Talker pre-ouster check feature/PD-11
purplefishies Jan 22, 2020
51b673d
Adding rosbag script feature/PD-11
purplefishies Jan 22, 2020
22dc387
Trying github action for building package feature/PD-11
purplefishies Jan 23, 2020
c94676a
Trying latency testing fix feature/PD-11
purplefishies Jan 23, 2020
758f334
Removed talker.py in cmakelists feature/PD-11
purplefishies Jan 23, 2020
380d2a9
Rosbag wrappers and template test files feature/PD-11
purplefishies Jan 23, 2020
cd387d1
Fixes for running tests feature/PD-11
purplefishies Jan 23, 2020
d9852fb
new data for running tests feature/PD-11
purplefishies Jan 23, 2020
b9b9e00
Removing characterization stuff feature/PD-11
purplefishies Jan 24, 2020
35076ea
Fix for failing on CI if unit tests fail feature/PD-11
purplefishies Jan 24, 2020
ab8e766
Fixing build and making testing less verbose feature/PD-11
purplefishies Jan 24, 2020
62918af
Fix that builds tests correctly feature/PD-11
purplefishies Jan 24, 2020
98f3cec
Reverting makefile, adding record script feature/PD-11
purplefishies Jan 24, 2020
78281a6
Building again feature/PD-11
purplefishies Jan 24, 2020
e654270
Fixing makefile feature/PD-11
purplefishies Jan 24, 2020
5199bea
Adding ouster_test script
purplefishies Jan 24, 2020
3234733
Fixing makefile again feature/PD-11
purplefishies Jan 24, 2020
8f87d83
Adding ouster test script with fixes feature/PD-11
purplefishies Jan 24, 2020
6d1af03
Fix for unit tests feature/PD-11
purplefishies Jan 26, 2020
a3ade2b
Fix shlibdep dependencies feature/PD-11
Jan 26, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Release Candidate
on:
pull_request:
branches:
- master
jobs:
package:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v1
- name: Generate build number
id: buildnumber
uses: einaregilsson/build-number@v2
with:
token: ${{secrets.github_token}}
- name: Package
id: package
uses: AutoModality/action-package-debian-ros@v1.2.0
with:
branch: ${{ github.event.pull_request.head.ref }}
pull-request-number: ${{ github.event.number }}
build-number: ${{ steps.buildnumber.outputs.build_number }}
dev-repo-entitlement: ${{ secrets.CLOUDSMITH_READ_DEV_ENTITLEMENT }}
release-repo-entitlement: ${{ secrets.CLOUDSMITH_READ_RELEASE_ENTITLEMENT }}
- name: The generated package
run: echo "The artifact is ${{ steps.package.outputs.artifact-path }}"
- name: Deploy
id: deploy
uses: AutoModality/action-cloudsmith@0.2.0
with:
api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
command: 'push'
format: 'deb'
owner: 'automodality'
repo: 'dev'
distro: 'ubuntu'
release: 'xenial'
file: '${{ steps.package.outputs.artifact-path }}'
48 changes: 48 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Release
on:
push:
branches:
- master
jobs:
package:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v1
- name: Determine the Release Version
uses: cycjimmy/semantic-release-action@v2
id: semantic # `id` for output variables
with:
semantic_version: 15.14.0
dry_run: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Package
if: steps.semantic.outputs.new_release_published == 'true'
id: package
uses: AutoModality/action-package-debian-ros@v1.2.1
with:
version: ${{ steps.semantic.outputs.new_release_version }}
release-repo-entitlement: ${{ secrets.CLOUDSMITH_READ_RELEASE_ENTITLEMENT }}
# no dev repo in master!!!
- name: Deploy
if: steps.semantic.outputs.new_release_published == 'true'
id: deploy
uses: AutoModality/action-cloudsmith@0.2.0
with:
api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
command: 'push'
format: 'deb'
owner: 'automodality'
repo: 'release'
distro: 'ubuntu'
release: 'xenial'
file: '${{ steps.package.outputs.artifact-path }}'
- name: Publish Release to Github
if: steps.semantic.outputs.new_release_published == 'true'
uses: cycjimmy/semantic-release-action@v2
with:
semantic_version: 15.14.0
extra_plugins: |
@semantic-release/changelog@3.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36 changes: 36 additions & 0 deletions .github/workflows/story.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Story Development

on:
push:
branches-ignore:
- master
jobs:
build:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v1
- name: Package
id: package
uses: AutoModality/action-package-debian-ros@v1.2.0
with:
dev-repo-entitlement: ${{ secrets.CLOUDSMITH_READ_DEV_ENTITLEMENT }}
release-repo-entitlement: ${{ secrets.CLOUDSMITH_READ_RELEASE_ENTITLEMENT }}

# - name: build_depends
# run: |
# echo "Test"
# - name: install_build_deps
# run: |
# sudo apt-get install -y devscripts equivs

# - name: force_amutils
# run: |
# sudo apt-get install ros-kinetic-am-utils

# - name: install_depends
# run: |
# sudo mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control

# - name: make
# uses: AutoModality/action-make-ros@v1.0.0

6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ devel/
logs/
install/
doc/
debian/ros-kinetic-am-ouster*
debian/source
debian/*-stamp
debian/files
catkin_ws
*~
21 changes: 21 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
SHELL := /bin/bash

default:
source /opt/ros/kinetic/setup.bash && cd catkin_ws && catkin clean -f -i -y && catkin build -j3 && \
catkin config --cmake-args "-DCATKIN_RUNNING_TESTS=False" && catkin build --catkin-make-args run_tests -- --no-status && \
catkin config --cmake-args "-DCATKIN_RUNNING_TESTS=True" && catkin test --no-status
rm -f catkin_ws/install/lib/pkgconfig/catkin_tools_prebuild.pc
@echo "Built!!!!"

install:
rm -rf catkin_ws/install/share/catkin_tools_prebuild
install -d $(DESTDIR)/opt/ros/kinetic/
cp -f -p -r catkin_ws/install/lib $(DESTDIR)/opt/ros/kinetic
cp -f -p -r catkin_ws/install/share $(DESTDIR)/opt/ros/kinetic
cp -f -p -r catkin_ws/install/include $(DESTDIR)/opt/ros/kinetic
rm -f $(DESTDIR)/opt/ros/kinetic/lib/pkgconfig/catkin_tools_prebuild.pc


clean:
@echo "Cleaning"
rm -rf catkin_ws
13 changes: 13 additions & 0 deletions configure
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash
PACKAGE=am-ouster
source /opt/ros/kinetic/setup.bash
echo "We are $(pwd)"
CURDIR=$(readlink -f $(pwd))
mkdir -p catkin_ws/src/${PACKAGE}
WORKSPACE=$(readlink -f ./catkin_ws)
cp -r {ouster_client,ouster_ros} catkin_ws/src/${PACKAGE}
cd catkin_ws
catkin init --workspace .
echo "PWD: $(pwd)"
catkin config --install --cmake-args -DCATKIN_ENABLE_TESTING=True

1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
12 changes: 12 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Source: ros-kinetic-am-ouster
Section: misc
Priority: extra
Maintainer: info <info@automodality.com>
Build-Depends: debhelper (>= 9.0.0), ros-kinetic-catkin, ros-kinetic-geometry-msgs, ros-kinetic-message-generation, ros-kinetic-nav-msgs, ros-kinetic-rosconsole, ros-kinetic-roscpp, ros-kinetic-rostime, ros-kinetic-sensor-msgs, ros-kinetic-std-msgs, ros-kinetic-latency-testing (>= 2.feature-BB-773.15), ros-kinetic-rospy, ros-kinetic-rostest, libgtest-dev
Homepage: https://github.com/AutoModality/am-utils
Standards-Version: 3.9.2

Package: ros-kinetic-am-ouster
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ros-kinetic-geometry-msgs, ros-kinetic-message-runtime, ros-kinetic-nav-msgs, ros-kinetic-rosconsole, ros-kinetic-roscpp, ros-kinetic-rostime, ros-kinetic-sensor-msgs, ros-kinetic-std-msgs, ros-kinetic-latency-testing (>= 2.feature-BB-773.15), ros-kinetic-rospy, ros-kinetic-rostest
Description: The am ouster package
Loading