An open API service indexing awesome lists of open source software.

https://github.com/juliarobotics/caesarlcmtypes.jl

Collection of LCM types used for Caesar.jl robot navigation suite.
https://github.com/juliarobotics/caesarlcmtypes.jl

Last synced: 4 months ago
JSON representation

Collection of LCM types used for Caesar.jl robot navigation suite.

Awesome Lists containing this project

README

          

# CaesarLCMTypes

[![Build Status](https://travis-ci.org/JuliaRobotics/CaesarLCMTypes.jl.svg?branch=master)](https://travis-ci.org/JuliaRobotics/CaesarLCMTypes.jl)
[![codecov.io](https://codecov.io/github/JuliaRobotics/CaesarLCMTypes.jl/coverage.svg?branch=master)](https://codecov.io/github/JuliaRobotics/CaesarLCMTypes.jl?branch=master)

This package implements the [LCM](http://lcm-proj.github.io/) type definitions used by [Caesar.jl](https://github.com/dehann/Caesar.jl) in [Julia](http://www.julialang.org) using [LCMCore.jl](https://github.com/JuliaRobotics/LCMCore.jl). Each lcmtype has a matching native Julia type with associated `encode()` and `decode()` methods. This package that is also compatible with legacy `pods.cmake` build system for sharing the LCM types.

# Installation

This package may take some time before being registered on the Julia METADATA package ecosystem. For now just use the direct clone:
```julia
Pkg.add("CaesarLCMTypes")
```

# Basic usage example

```julia
using LCMCore, CaesarLCMTypes

function callback(channel, msg)
@show msg.utime
# ...
nothing
end

lcm = LCM()

subscribe(lcm, "CHANNEL", callback, pose_pose_nh_t)

while true
handle(lcm)
end
```