Read-only mirror of https://github.com/ethz-asl/time_stamper — ETHZ ASL. Issues & pull requests at the source.
  • C++ 88.5%
  • C 8.5%
  • CMake 2.8%
  • Makefile 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-11-01 12:46:55 +01:00
kernelmodule Merge pull request #13 from Renaud-Moser/fix-formatting 2023-11-01 12:46:55 +01:00
time_stamper_cv Changed C++ standard to C++17, Refactored configuration.h, Simplified ImageProcessor::fillInLedStateMessage 2022-08-03 09:41:09 +02:00
time_stamper_ros Fixed naming convention, Added comment in Node.cpp 2022-05-03 10:54:17 +02:00
.gitignore Added .gitignore, Moved kernel module 2022-02-08 13:23:02 +01:00
dependencies.rosinstall Moved dependencies.rosinstall, Added CI dependencies 2022-02-23 17:53:54 +01:00
README.md Updated README.md 2022-05-02 14:23:35 +02:00

time_stamper

This project is currently in development

Timestamping

  • Clock frequency: 1 - 10'526'315 hz ~95 nanoseconds
  • Every 640 cycles a Timestamp is generated (64 * 10)
  • If clock is e.g. 10 hz, it takes 64s to generate a timestamp.

Packages

Package Installed on Description
kernel module Raspberry Pi CM4 Used for hardware timestamping. See kernel module
time_stamper_ros Raspberry Pi CM4 Used for led control and timestamp generation.
time_stamper_cv Host Used to detect real time led state with OpenCV.

Installation

Prerequisites

  • Host PC and Raspberry Pi Compute Module 4 with ROS installed.
  • Requires custom TimeStamper board with CM4 mounted.
  • ROS Camera driver
  • Works with ROS Melodic and newer

Raspberry Pi CM4 installation

  • Go to catkin workspace cd catkin_ws/src
  • Clone this repo with git clone https://github.com/ethz-asl/time_stamper
  • Setup, compile and start the kernel module
  • catkin build time_stamper_ros
  • Start ROS node with roslaunch time_stamper_ros time_stamper_default.launch
  • Optional: time_stamper_cv can be removed

Host installation

  • Go to catkin workspace cd catkin_ws/src
  • Clone this repo with git clone https://github.com/ethz-asl/time_stamper
  • Build with catkin build time_stamper_cv
  • Source ros env with source ~/catkin_ws/devel/setup.bash
  • Start ROS Node with roslaunch time_stamper_cv time_stamper_cv.launch
  • Optional: The kernel module and time_stamper_ros can be removed