Skip to content

Commit

Permalink
Update README, doxygen docs
Browse files Browse the repository at this point in the history
  • Loading branch information
asherikov committed Jul 21, 2024
1 parent d3d4f1a commit b22a15b
Show file tree
Hide file tree
Showing 13 changed files with 2,939 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ defaults:
shell: bash

jobs:
spell:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: make install_deps_common
- run: make spell

jammy_ccws:
runs-on: ubuntu-22.04
steps:
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "doc/gh-pages"]
path = doc/gh-pages
url = ../intrometry
branch = gh-pages
46 changes: 46 additions & 0 deletions .make/common.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
ROOT_DIR=../../
BUILD_ROOT?=./build
BUILD_DIR?=${BUILD_ROOT}/${OPTIONS}

APT_INSTALL=sudo apt install -y --no-install-recommends
PIP_INSTALL=sudo python3 -m pip install
GEM_INSTALL=sudo gem install

CLANG_FORMAT?=clang-format15
SCANBUILD?=scan-build-15


help:
-@grep --color -Ev "(^ )|(^$$)" Makefile
-@grep --color -Ev "(^ )|(^$$)" GNUmakefile
-@grep --color -Ev "(^ )|(^$$)" .make/*.mk


install_deps_common:
${APT_INSTALL} cmake
${PIP_INSTALL} scspell3k



# static checks
#----------------------------------------------


spell_interactive:
${MAKE} spell SPELL_XARGS_ARG=-o

# https://github.com/myint/scspell
spell:
${FIND_SOURCES} \
| xargs ${SPELL_XARGS_ARG} scspell --use-builtin-base-dict --override-dictionary ./qa/scspell.dict



# documentation
#----------------------------------------------
doxclean:
cd doc/gh-pages; git fetch --all; git checkout gh-pages; git pull
find ./doc/gh-pages/ -mindepth 1 -not -name "\.git" | xargs rm -Rf


.PHONY: build cmake test
8 changes: 8 additions & 0 deletions .make/intrometry.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FIND_SOURCES=find ./test/ ./src ./include/ -iname "*.h" -or -iname "*.cpp"

dox: doxclean
cd doc; doxygen

format:
${FIND_SOURCES} | xargs ${CLANG_FORMAT} -verbose -i

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
CHANGELOG
=========


Unreleased
==========

* Initial release
2 changes: 2 additions & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include .make/intrometry.mk
include .make/common.mk
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.include ".make/intrometry.mk"
.include ".make/common.mk"
42 changes: 41 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,42 @@
WIP: Ariles-based telemetry publisher.
Intrometry
==========

<table>
<tr>
<td align="center">
CI status
</td>
</tr>
<tr>
<td align="center">
<a href="https://github.com/asherikov/intrometry/actions/workflows/main.yml">
<img src="https://github.com/asherikov/intrometry/actions/workflows/main.yml/badge.svg" alt="Build Status">
</a>
</td>
</tr>
</table>


Introduction
------------

ROS2 telemetry collection utility that addresses the same problem as
<https://github.com/pal-robotics/pal_statistics>, but in a different way. The
main API difference is that `intrometry` relies on `ariles` serialization
library <https://github.com/asherikov/ariles> instead of macro.

Doxygen documentation: <https://asherikov.github.io/intrometry/doxygen>


Features
--------


Dependencies
------------


Architecture
------------


Loading

0 comments on commit b22a15b

Please sign in to comment.