Skip to content

Commit e99f40d

Browse files
authored
Update readme and skip IIF on tags (#634)
* update readme * skip IIF on tags
1 parent baa7673 commit e99f40d

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ branches:
2222
- master
2323
- develop
2424
- /^release.*$/
25-
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
25+
- /^v\d+\.\d+(\.\d+)?([-+]\S*)?$/
2626

2727
jobs:
2828
include:
2929
- julia: 1.4
3030
env:
3131
- IIF_TEST=true
32-
if: NOT branch =~ ^release.*$
32+
if: NOT branch =~ /(^v\d+\.\d+(\.\d+)?([-+]\S*)?$)|(^release.*$)/
3333
- arch: arm64
3434
env: SKIP_CGDFG_TESTS=true
3535
before_script:

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# DistributedFactorGraphs.jl
22

3-
Release v0.8 | Release v0.9 | Dev | Coverage | DFG Docs | Caesar Docs |
3+
Release v0.9 | Release v0.10 | Dev | Coverage | DFG Docs | Caesar Docs |
44
---------|---------|-----|----------|------|------------
5-
[![Build Status](https://api.travis-ci.org/JuliaRobotics/DistributedFactorGraphs.jl.svg?branch=release/v0.8)](https://travis-ci.org/JuliaRobotics/DistributedFactorGraphs.jl) | [![Build Status](https://api.travis-ci.org/JuliaRobotics/DistributedFactorGraphs.jl.svg?branch=release/v0.9)](https://travis-ci.org/JuliaRobotics/DistributedFactorGraphs.jl) | [![Build Status](https://api.travis-ci.org/JuliaRobotics/DistributedFactorGraphs.jl.svg?branch=master)](https://travis-ci.org/JuliaRobotics/DistributedFactorGraphs.jl) | [![Codecov Status](https://codecov.io/gh/JuliaRobotics/DistributedFactorGraphs.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaRobotics/DistributedFactorGraphs.jl) | [![docs](https://img.shields.io/badge/docs-latest-blue.svg)](http://juliarobotics.github.io/DistributedFactorGraphs.jl/latest/) | [![docs](https://img.shields.io/badge/docs-latest-blue.svg)](http://juliarobotics.github.io/Caesar.jl/latest/)
5+
[![Build Status](https://api.travis-ci.org/JuliaRobotics/DistributedFactorGraphs.jl.svg?branch=release/v0.9)](https://travis-ci.org/JuliaRobotics/DistributedFactorGraphs.jl) | [![Build Status](https://api.travis-ci.org/JuliaRobotics/DistributedFactorGraphs.jl.svg?branch=release/v0.10)](https://travis-ci.org/JuliaRobotics/DistributedFactorGraphs.jl) | [![Build Status](https://api.travis-ci.org/JuliaRobotics/DistributedFactorGraphs.jl.svg?branch=master)](https://travis-ci.org/JuliaRobotics/DistributedFactorGraphs.jl) | [![Codecov Status](https://codecov.io/gh/JuliaRobotics/DistributedFactorGraphs.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaRobotics/DistributedFactorGraphs.jl) | [![docs](https://img.shields.io/badge/docs-latest-blue.svg)](http://juliarobotics.github.io/DistributedFactorGraphs.jl/latest/) | [![docs](https://img.shields.io/badge/docs-latest-blue.svg)](http://juliarobotics.github.io/Caesar.jl/latest/)
66

77
DistributedFactorGraphs.jl provides a flexible factor graph API for use in the [Caesar.jl](https://github.com/JuliaRobotics/Caesar.jl) ecosystem. The package supplies:
88
* A standardized API for interacting with factor graphs
@@ -24,17 +24,22 @@ add DistributedFactorGraphs
2424

2525
The in-memory implementation is the default, using LightGraphs.jl.
2626

27+
It is recommended to use `IncrementalInference` to create factor graphs as they will be solvable.
2728
```julia
2829
using DistributedFactorGraphs
30+
using IncrementalInference
2931
```
3032

3133
Both drivers support the same functions, so choose which you want to use when creating your initial DFG. For example:
3234

3335
```julia
3436
# In-memory DFG
35-
dfg = LightDFG{NoSolverParams}()
36-
addVariable!(dfg, DFGVariable(:a))
37-
addVariable!(dfg, DFGVariable(:b))
38-
addFactor!(dfg, [v1, v2], DFGFactor{Int, :Symbol}(:f1)) # Rather use a RoME-type factor here (e.g. Pose2Pose2) rather than an Int, this is just for demonstrative purposes.
37+
# Initialize the default in-memory factor graph with default solver parameters.
38+
dfg = initfg()
39+
# add 2 ContinuousScalar variable types to the new factor graph
40+
addVariable!(dfg, :a, ContinuousScalar)
41+
addVariable!(dfg, :b, ContinuousScalar)
42+
# add a LinearConditional factor
43+
addFactor!(dfg, [:a, :b], LinearConditional(Normal(10.0,1.0)))
3944
```
4045

0 commit comments

Comments
 (0)