Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
435 commits
Select commit Hold shift + click to select a range
5cdd24e
update readme [skip ci]
goldbattle Dec 13, 2021
d371eb1
Merge pull request #209 from rpng/develop_v2.5
goldbattle Dec 13, 2021
7460522
add the imu intrinsic calibration
yangyulin Dec 14, 2021
d7448a6
add the evaluation part for the IMU intrinsics
yangyulin Dec 14, 2021
714941f
add perturbation to simulation for imu intrinsics
yangyulin Dec 14, 2021
a8d48ec
debuging and tesing the imu intrinsic calibrtion with sim
yangyulin Dec 14, 2021
78cda81
debuging and testing ...
yangyulin Dec 14, 2021
694f932
the intrinsic calibration with analytic jacobians is done
yangyulin Dec 14, 2021
9f5a642
modify the config
yangyulin Dec 14, 2021
518f660
Merge branch 'develop_v2.5' of https://github.com/rpng/open_vins_priv…
yangyulin Dec 14, 2021
7261b75
add comments
yangyulin Dec 14, 2021
7fbf212
make the launch file good to go
yangyulin Dec 14, 2021
3dec739
increase the prior of cam-imu calibration
yangyulin Dec 14, 2021
8333026
fix comments
yangyulin Dec 19, 2021
fd92e1c
fix comments and update the config files
yangyulin Dec 19, 2021
a34c85d
small updates
goldbattle Dec 19, 2021
73f1ff3
don't include in bashrc
goldbattle Dec 19, 2021
057534b
small documentation update [skip ci]
goldbattle Dec 19, 2021
2f4a1a3
add more comments for the intergration functions
yangyulin Dec 20, 2021
adcbe3a
fix bugs (build pdf reference manual)
A1R0B0T Dec 23, 2021
130c40f
add instructions for building PDF manual
A1R0B0T Jan 4, 2022
8ac7358
changes for latex rendering of the pdf
goldbattle Jan 6, 2022
0da5f33
Merge pull request #214 from A1R0B0T/master
goldbattle Jan 6, 2022
d63142e
if not using stereo then use monocular image feed functions (might ne…
goldbattle Jan 6, 2022
6868081
explictly get ids from iterators
goldbattle Jan 6, 2022
63aebb7
small cleanups, add default identities to state init
goldbattle Jan 6, 2022
3a1718a
start of cleanup
goldbattle Jan 6, 2022
eb1e8a4
Merge branch 'master' into develop_v2.6
goldbattle Jan 6, 2022
aa5a0af
more cleanup
goldbattle Jan 6, 2022
29f17bd
small cleanup
goldbattle Jan 6, 2022
ba67239
more cleanup and formating
goldbattle Jan 6, 2022
765db5d
more cleanup, add enum
goldbattle Jan 6, 2022
0eaac53
small changes
goldbattle Jan 6, 2022
44a2bfd
fix error in X3, more formating, mono is inconsistent still...
goldbattle Jan 6, 2022
5623173
fix mask relative paths
goldbattle Jan 7, 2022
a09695e
add mask matrix size check, small cleanups
goldbattle Jan 7, 2022
1d10d12
more cleanup and renamings
goldbattle Jan 7, 2022
4294cf7
add system deps to ros package file
goldbattle Jan 7, 2022
c11ce5e
add cmake as a system dep
goldbattle Jan 7, 2022
b45381a
fix rosbag include in ov_msckf
goldbattle Jan 7, 2022
2f6d355
fix a small bug
yangyulin Jan 8, 2022
9cf4dbd
Merge branch 'develop_v2.6' of https://github.com/rpng/open_vins_priv…
yangyulin Jan 8, 2022
92eeb9e
as long as turn on the td calibriaton, always consistent
yangyulin Jan 8, 2022
46131d7
fix a bug in ov_eval
yangyulin Jan 8, 2022
ced101c
cmake file rework, try to better support catkin install builds
goldbattle Jan 10, 2022
6a2619d
quiet on python find_package
goldbattle Jan 10, 2022
8b4db1e
Merge pull request #219 from rpng/cmake_updates
goldbattle Jan 10, 2022
c1f27cc
remove random debug [skip ci]
goldbattle Jan 10, 2022
3bd8fab
dockers don't need newer cmake, update package.xml urls
goldbattle Jan 10, 2022
3bdfd98
add rosdoc.yaml to our packages
goldbattle Jan 10, 2022
a2cb6b0
update author list, and remove print.h dep from quat_ops
goldbattle Jan 10, 2022
8069b02
switch to explictly setting integration method, cleanup parameter sto…
goldbattle Jan 10, 2022
0870013
Merge branch 'develop_v2.6' of github.com:rpng/open_vins_private into…
goldbattle Jan 10, 2022
b5300ce
Merge branch 'master' into develop_v2.6
goldbattle Jan 10, 2022
1f733b5
simplify simulation plots, convert Da/Dw and Tg state functions to st…
goldbattle Jan 10, 2022
57ad3b1
reorder propagation class, make intrinic jacobs static
goldbattle Jan 10, 2022
c6b9f5e
correct imu in zvupt
goldbattle Jan 10, 2022
fa70006
start updating prop docs
goldbattle Jan 11, 2022
0712cca
fix ros2 launch and image frames so they can be seen in RVIZ
goldbattle Jan 11, 2022
6d65547
revert to .h file which is compatible with 18.04
goldbattle Jan 11, 2022
88e2c4d
more propagation doc updates
goldbattle Jan 11, 2022
084835f
more prop doc additions
goldbattle Jan 11, 2022
4599bd7
finish analytical docs, switch DeltaR_k and Jr_ktok1 to transposed di…
goldbattle Jan 13, 2022
0883223
add config_path to subscribe.launch.py
rarejesse Jan 31, 2022
3af9100
initial MLE code
goldbattle Feb 1, 2022
e642505
remove debug code
goldbattle Feb 1, 2022
4df6c15
semi-working init+mle opt
goldbattle Feb 8, 2022
adb6f7a
fix not optimizing features
goldbattle Feb 8, 2022
ae11678
print error to console, fix ori align
goldbattle Feb 8, 2022
458ea84
add covariance recovery (seems to be inconsistent)
goldbattle Feb 9, 2022
8170e57
Merge pull request #223 from jessebloecker/master
goldbattle Feb 9, 2022
5dc0fa0
have the user specify num of poses to use instead of freq-based
goldbattle Feb 9, 2022
36db02d
working?
goldbattle Feb 9, 2022
3b47b81
fix static window size to be that of the requested, change prints
goldbattle Feb 9, 2022
0703fc3
fix ros debug print usage
goldbattle Feb 9, 2022
ab0d140
fix print
goldbattle Feb 9, 2022
dfc9df5
small tweaks to fix clang build errors/warnings
smnogar Feb 10, 2022
dc3e914
add multi-threading, disparity & angle checks for dynamic init, testi…
goldbattle Feb 10, 2022
fe6e0e7
Merge pull request #226 from smnogar/clang-fixes
goldbattle Feb 10, 2022
44c4733
update uzhfpv to new groundtruths
goldbattle Feb 16, 2022
e7c7cd5
rework async logic for subscriber. Always publish IMU rate odometry (…
goldbattle Feb 17, 2022
328dda9
properly set null_space_rank to recover the initial covariance
goldbattle Mar 7, 2022
26cb5b5
small comment channges, also allow inflating of ori prior
goldbattle Mar 7, 2022
4c9646a
fix tf2_geometry_msgs.h not found
Mar 8, 2022
3800bbe
Update ROS2.cmake
goldbattle Mar 8, 2022
c605f44
Update package.xml
goldbattle Mar 8, 2022
16e7299
Update ROS2.cmake
goldbattle Mar 8, 2022
ed7fe55
Merge pull request #231 from mrawding/tf2-geom-issue-fix
goldbattle Mar 8, 2022
cad705e
update kaist dataset, fix cam intrinsics, update docs for kaist bag g…
goldbattle Mar 10, 2022
0d5e2cb
show overlay via TrackBase, aruco tracker set pts_last, and only say …
goldbattle Mar 11, 2022
c60a1d8
update docker and github action to build ceres
goldbattle Mar 14, 2022
979128a
update ros2 building, change ros viz to actually report RMSE, docs up…
goldbattle Mar 14, 2022
61815fc
try to fix build errors on 16 and 18
goldbattle Mar 14, 2022
26aa6de
add gps traj since we have them
goldbattle Mar 16, 2022
06ec15d
small formating, and tweak config
goldbattle Mar 16, 2022
d286c57
hopefully fix ros free build, update readme
goldbattle Mar 18, 2022
9d7d1a1
recommend using ubuntu libceres build
goldbattle Mar 18, 2022
98745cd
update docs [skip ci]
goldbattle Mar 18, 2022
f03b604
update copyright [skip ci]
goldbattle Mar 18, 2022
4fa753c
small changes and doc updates
goldbattle Mar 21, 2022
06cc895
Merge pull request #232 from rpng/develop_v2.6
goldbattle Mar 21, 2022
198cd02
fix readme img [skip ci]
goldbattle Mar 21, 2022
89cf199
Add files via upload
goldbattle Mar 22, 2022
a3a209b
fix slow simulation due to odometry publishing at high frequency
goldbattle Mar 22, 2022
cba6788
add nees and ate table for dataset error eval, other tables should re…
goldbattle Mar 22, 2022
5cf1014
update error script verbosity
goldbattle Mar 22, 2022
0de470d
fix eigen asserts for ROS1 viz (closes #236)
goldbattle Apr 7, 2022
c89f14f
Merge pull request #237 from rpng/fix_eigen_3.4.0
goldbattle Apr 7, 2022
0923323
update copyright date range and add small details to readme [skip ci]
goldbattle Apr 8, 2022
7d7079a
explictly state docs [skip ci]
goldbattle Apr 8, 2022
d84a51c
grammer [skip ci]
goldbattle Apr 8, 2022
34a133b
fix yaml cam-imu transform comment (fixes #241) [skip ci]
goldbattle Apr 20, 2022
4799467
print output to screen and add launch arg for ROS2
rarejesse May 2, 2022
111c076
Update subscribe.launch.py
goldbattle May 2, 2022
bf0ada9
Merge pull request #245 from jessebloecker/master
goldbattle May 2, 2022
45d1a5e
fix first imu reading not getting passed in simulation
goldbattle Jun 20, 2022
1d4cf85
fix getting sim save param in ros2 (closes #249)
goldbattle Jun 20, 2022
316acbc
build with release by default
goldbattle Jun 20, 2022
27648a5
ov_core predeclare
goldbattle Jun 20, 2022
e6bc0f2
ov_init predeclares
goldbattle Jun 20, 2022
34919ff
switch to sharedptr, explict jacobSVD sizes
goldbattle Jun 20, 2022
4129770
ov_msckf forward declare
goldbattle Jun 20, 2022
eab1771
test performing extraction based on a gridblock basis instead of whol…
goldbattle Jun 21, 2022
840d3b5
fix dynamic init coeff size, correctly marg SLAM feature on chi2 fail…
goldbattle Jun 21, 2022
08ce287
fix tracking param name (should be if stereo is desired)
goldbattle Jun 22, 2022
b2a5f8d
update stereo klt to use new grider
goldbattle Jun 22, 2022
ef3d15e
new serial reader code
goldbattle Jul 5, 2022
70e6a0c
fix imu deleting bug (don't use featdb), and rename ov_init simulator
goldbattle Jul 11, 2022
c00a7ee
multi-thread image publishing, small fix for omega cov in odom fastpr…
goldbattle Jul 12, 2022
658544d
check disparity for movement and still for static init now
goldbattle Jul 14, 2022
cd64295
update configs to handle new init (static by default)
goldbattle Jul 15, 2022
65d98a0
update launch
goldbattle Jul 15, 2022
d1459da
update scripts
goldbattle Jul 15, 2022
f3c3259
update link to kaistvio
goldbattle Jul 15, 2022
749d10e
update readme [skip ci]
goldbattle Jul 15, 2022
53b29dc
add missing headers
goldbattle Jul 15, 2022
8e0fb58
more missing std headers
goldbattle Jul 15, 2022
0275f2a
default setting to save sim to file
goldbattle Jul 15, 2022
16b4790
fix eval bug for NEES if using alignment
goldbattle Jul 15, 2022
1c60257
set bigger prior for better realworld nees, also extract feats more f…
goldbattle Jul 18, 2022
29d7f71
fix unused warning
goldbattle Jul 18, 2022
d6f5ba1
more config comments [skip ci]
goldbattle Jul 18, 2022
684e845
Merge pull request #259 from rpng/develop_v2.6.1
goldbattle Jul 18, 2022
ddfacbc
update some docs [skip ci]
goldbattle Jul 18, 2022
c5051dd
update some docs [skip ci]
goldbattle Jul 18, 2022
2575d93
update some docs [skip ci]
goldbattle Jul 18, 2022
14211e2
Merge branch 'master' into develop_v2.7
goldbattle Jul 19, 2022
12b6682
ros2: imu topic should be SensorDataQoS
goldbattle Jul 25, 2022
20a4fc0
topics shouldn't be relative to global, allows for namespaces
goldbattle Jul 25, 2022
71b86b4
fix #262 index values
goldbattle Jul 26, 2022
98873b7
specify the num thread instead of just yes/no
goldbattle Jul 26, 2022
70d2532
cmake formating
goldbattle Jul 26, 2022
96ad607
add histogram timing plot
goldbattle Jul 26, 2022
8ac59d5
update readme [skip ci]
goldbattle Jul 26, 2022
a4bcc59
support scalar in generic priors
goldbattle Jul 26, 2022
bd14ece
update format script [skip ci]
goldbattle Jul 26, 2022
cd866b5
Merge pull request #264 from rpng/develop_v2.6.2
goldbattle Aug 1, 2022
2d55c48
fix display problem if the track length of feature is very long
CanCanZeng Aug 3, 2022
2fa0fcc
fix: link errors
Sep 3, 2022
b12569c
Merge pull request #272 from FinleyPan/finley/develop
goldbattle Sep 9, 2022
f37e9d4
Merge branch 'track_disp'
goldbattle Sep 29, 2022
141da2d
simple profile program to test platforms
goldbattle Sep 29, 2022
86257f2
fix a bug in get_oldest_time from FeatureDatabase
wang-lq Nov 19, 2022
8808a24
Merge pull request #287 from wang-lq/devel
goldbattle Nov 21, 2022
6b3dcbf
fix #284 gt init ori
goldbattle Nov 21, 2022
508a5cc
fix #280 bspline max time printout
goldbattle Nov 21, 2022
3861010
fix bias evolution in zero-velocity not using squared noise terms
goldbattle Nov 21, 2022
eba3500
cleanup deleting IMU logic with zv-upt, should prevent buffers from g…
goldbattle Nov 22, 2022
8600cee
use incremential triangulation for our active feature topic
goldbattle Nov 22, 2022
8d4d883
switch back to native asserts, making my own was a bad idea
goldbattle Nov 22, 2022
01fb6e9
use measurement compression for zvupt
ccchu0816 Nov 22, 2022
7eb81d3
remove random assert
goldbattle Nov 22, 2022
9b63153
skip linsys tri for SLAM features, also make sure we remove old 3d fe…
goldbattle Nov 22, 2022
c325943
fix slam features not being in depth render
goldbattle Nov 22, 2022
d171a03
use the urban28 config info
goldbattle Jan 5, 2023
d83ce4f
have masks be in the config folder for easy install
goldbattle Jan 5, 2023
4ed7927
example realsense configs [skip ci]
goldbattle Jan 5, 2023
67398a5
switch back to native asserts, making my own was a bad idea
goldbattle Jan 16, 2023
98c5525
try to fix ros free build
goldbattle Jan 16, 2023
361d6c4
added mutex lock to State.h and StateHelper.cpp
pritzvac Feb 15, 2023
c5477af
reverted the new line at the end of file, which was changed by VIM
pritzvac Feb 15, 2023
47b3f09
cleanup some ros-free install location logic
goldbattle Feb 20, 2023
c40eac7
update calibration docs [skip ci]
goldbattle Mar 14, 2023
1748b69
document ros-free install better, fixes #301 [skip ci]
goldbattle Mar 14, 2023
cd781f9
add ar table plane dataset support
goldbattle Mar 15, 2023
ad0737a
update datasets docs page (added some pictures too)
goldbattle Mar 15, 2023
b016582
bibtidy [skip ci]
goldbattle Mar 15, 2023
daf1ee1
fix unused code #311
goldbattle Mar 15, 2023
0145057
more messages to the user on static init
goldbattle Mar 15, 2023
0429390
fix #309
goldbattle Mar 15, 2023
7fe8f58
Merge pull request #306 from pritzvac/mutex_state_bugfix
goldbattle Mar 15, 2023
d1a0c6d
Merge pull request #318 from goldbattle/illixr
goldbattle Mar 15, 2023
c6e9896
add mutex header
goldbattle Mar 15, 2023
b11b955
Merge pull request #320 from rpng/fix_mutex
goldbattle Mar 15, 2023
4097e14
cache our fast propagate values so we don't reintegrate
goldbattle Mar 15, 2023
74a63cf
update license year
goldbattle Mar 15, 2023
e49277b
properly invalidate the prop cache (fixes zvupt publishing)
goldbattle Mar 15, 2023
d03e53f
update readme [skip ci]
goldbattle Apr 3, 2023
ea4dd7b
update scripts
goldbattle Apr 15, 2023
5d9fbee
Merge branch 'master' into fast_propagate
goldbattle Apr 15, 2023
70b0ae3
fix #323 pointcloud size
goldbattle Apr 15, 2023
caf7f4c
script updates
goldbattle Apr 15, 2023
b397178
fix #317 gram schmidt if g_inI is e1
goldbattle Apr 15, 2023
b9c2509
Merge pull request #321 from rpng/fast_propagate
goldbattle Apr 15, 2023
db026f3
bump release number
goldbattle Apr 15, 2023
e274c65
Merge remote-tracking branch 'open_source/master' into develop_v2.7
goldbattle May 9, 2023
068490c
update configs to 2.7 format with intrinsics
goldbattle May 9, 2023
eb463b2
fix #333 documention typos
goldbattle May 9, 2023
9d499db
fix #332 chance reject problem, fix index bug in closest feat map for…
goldbattle May 9, 2023
a824660
documentation improvments
goldbattle May 9, 2023
5b1194c
small fixes to propagation docs
yangyulin May 10, 2023
e0ba712
update quat docs, expand some details about manifold types in ov_type…
goldbattle May 10, 2023
5d6f558
documentation updates throughout
goldbattle May 10, 2023
f6f0bd1
working on fej page
ccchu0816 May 9, 2023
97aae2e
improve FEJ doc
ccchu0816 May 10, 2023
d37dfe2
cleanup fej doc page wording
goldbattle May 10, 2023
dc09c66
pr fixes
goldbattle May 11, 2023
4034281
ensure to free memory, reduce strictness of num feature percent to do…
goldbattle May 13, 2023
f10ce28
we have only init'ed once we have updated (fix messy viz in beginning)
goldbattle May 13, 2023
4492d09
only dynamic init if we have good disparity
goldbattle May 14, 2023
78987b1
update configs a bit
goldbattle May 14, 2023
58afb2d
fix #338 topic for stereo
goldbattle May 18, 2023
022b633
update package version
goldbattle May 18, 2023
2b506ee
label how to get imu intrinsics from kalibr result file
goldbattle May 18, 2023
7e4dd43
2d ate in comparison eval, report bad trajectory distance ratios to h…
goldbattle May 22, 2023
456907c
compute ratio before associating
goldbattle May 23, 2023
54e483e
fix #340 feat init jacob error
goldbattle Jun 8, 2023
2d5ed9a
fix #296 more comments and switch to sparse qr recovery for speed
goldbattle Jun 8, 2023
ef899cd
fix 16.04 compile, default should be SPARSE_QR
goldbattle Jun 8, 2023
93adc24
Merge pull request #337 from rpng/develop_v2.7
goldbattle Jun 19, 2023
7c3bd8b
add video tutorial links [skip ci]
goldbattle Jun 20, 2023
4534a2f
add video tutorial links [skip ci]
goldbattle Jun 20, 2023
f3ba270
fixes #357
goldbattle Oct 28, 2023
78b3513
ubuntu 22.04 docker
goldbattle Oct 28, 2023
64a58c9
fixed #316 aruco building on opencv 4.7 and above
goldbattle Oct 29, 2023
3ae5792
fix #358 calibration file documentation for gyro rotation intrinsics
goldbattle Oct 29, 2023
6c92b24
don't ask why humble causes a seg fault on shutdown....
goldbattle Oct 29, 2023
e84c8ca
Merge pull request #395 from rpng/small_fixes
goldbattle Oct 29, 2023
60ac071
fix erase of old imu messages
borongyuan Jan 11, 2024
17b73cf
Merge pull request #413 from borongyuan/master
goldbattle Jan 21, 2024
440af50
enable building without ROS even if you have ROS
henrygerardmoore May 31, 2024
5ec8e82
Update google drive links to new locations
goldbattle Sep 8, 2024
a949b8d
extend to all other packages
goldbattle Dec 15, 2024
d0075dd
Merge pull request #448 from henrygerardmoore/master
goldbattle Dec 15, 2024
676042f
State_JPLQuatLocal class has been updated
omeredemen Aug 7, 2025
77ec88d
support android logging
goldbattle Nov 16, 2025
6b4abfd
Merge branch 'master' into android
goldbattle Nov 16, 2025
6cf212d
Merge pull request #520 from omeredemen/master
goldbattle Nov 30, 2025
0491f6b
Merge branch 'master' into android
goldbattle Nov 30, 2025
6948812
Merge pull request #530 from rpng/android
goldbattle Nov 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
137 changes: 137 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Right
AlignOperands: true
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 140
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
SortPriority: 0
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
SortPriority: 0
- Regex: '.*'
Priority: 1
SortPriority: 0
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentCaseLabels: false
IndentGotoLabels: true
IndentPPDirectives: None
IndentWidth: 2
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
Standard: Latest
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 2
UseCRLF: false
UseTab: Never
...

37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: ROS Free Workflow

on:
push:
branches: [ master ]
pull_request:

jobs:
build:
name: "Ubuntu Latest"
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v2
- name: Installing Ceres Solver
run: |
sudo apt-get update -y
sudo apt install -y libunwind-dev
sudo apt-get install -y cmake libgoogle-glog-dev libgflags-dev libatlas-base-dev libeigen3-dev libsuitesparse-dev libceres-dev
# cd ..
# git clone https://ceres-solver.googlesource.com/ceres-solver
# cd ceres-solver
# git checkout tags/2.0.0
# mkdir build
# cd build
# cmake ..
# sudo make install
# cd ../../
- name: Configure and Build
run: |
sudo apt-get update -y
sudo apt-get install -y libeigen3-dev libopencv-dev libboost-all-dev
mkdir build
cd build
cmake ../ov_msckf/
make

71 changes: 71 additions & 0 deletions .github/workflows/build_ros1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: ROS 1 Workflow

on:
push:
branches: [ master ]
pull_request:

jobs:
build_1604:
name: "ROS1 Ubuntu 16.04"
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v2
- name: Create Workspace and Docker Image
run: |
export REPO=$(basename $GITHUB_REPOSITORY) &&
cd $GITHUB_WORKSPACE/.. && mkdir src/ &&
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/ &&
docker build -t openvins -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros1_16_04 .
- name: Echo Enviroment
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "echo $ROS_DISTRO && echo $ROS_VERSION"
- name: Run Build in Docker
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && catkin build"
- name: Run OpenVINS Simulation!
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && source devel/setup.bash && roslaunch ov_msckf simulation.launch verbosity:=WARNING"
build_1804:
name: "ROS1 Ubuntu 18.04"
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v2
- name: Create Workspace and Docker Image
run: |
export REPO=$(basename $GITHUB_REPOSITORY) &&
cd $GITHUB_WORKSPACE/.. && mkdir src/ &&
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/ &&
docker build -t openvins -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros1_18_04 .
- name: Echo Enviroment
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "echo $ROS_DISTRO && echo $ROS_VERSION"
- name: Run Build in Docker
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && catkin build"
- name: Run OpenVINS Simulation!
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && source devel/setup.bash && roslaunch ov_msckf simulation.launch verbosity:=WARNING"
build_2004:
name: "ROS1 Ubuntu 20.04"
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v2
- name: Create Workspace and Docker Image
run: |
export REPO=$(basename $GITHUB_REPOSITORY) &&
cd $GITHUB_WORKSPACE/.. && mkdir src/ &&
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/ &&
docker build -t openvins -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros1_20_04 .
- name: Echo Enviroment
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "echo $ROS_DISTRO && echo $ROS_VERSION"
- name: Run Build in Docker
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && catkin build"
- name: Run OpenVINS Simulation!
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && source devel/setup.bash && roslaunch ov_msckf simulation.launch verbosity:=WARNING"
72 changes: 72 additions & 0 deletions .github/workflows/build_ros2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: ROS 2 Workflow

on:
push:
branches: [ master ]
pull_request:

jobs:
build_1804:
name: "ROS2 Ubuntu 18.04"
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v2
- name: Create Workspace and Docker Image
run: |
export REPO=$(basename $GITHUB_REPOSITORY) &&
cd $GITHUB_WORKSPACE/.. && mkdir src/ &&
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/ &&
docker build -t openvins -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros2_18_04 .
- name: Echo Enviroment
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "echo $ROS_DISTRO && echo $ROS_VERSION"
- name: Run Build in Docker
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && colcon build"
# THIS SEEMS TO FAIL WITH 245 ERROR, NOT SURE WHY!!!!!
#- name: Run OpenVINS Simulation!
# run: |
# docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && source install/setup.bash && ros2 run ov_msckf run_simulation src/open_vins/config/rpng_sim/estimator_config.yaml"
build_2004:
name: "ROS2 Ubuntu 20.04"
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v2
- name: Create Workspace and Docker Image
run: |
export REPO=$(basename $GITHUB_REPOSITORY) &&
cd $GITHUB_WORKSPACE/.. && mkdir src/ &&
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/ &&
docker build -t openvins -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros2_20_04 .
- name: Echo Enviroment
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "echo $ROS_DISTRO && echo $ROS_VERSION"
- name: Run Build in Docker
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && colcon build"
- name: Run OpenVINS Simulation!
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && source install/setup.bash && ros2 run ov_msckf run_simulation src/open_vins/config/rpng_sim/estimator_config.yaml"
build_2204:
name: "ROS2 Ubuntu 22.04"
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v2
- name: Create Workspace and Docker Image
run: |
export REPO=$(basename $GITHUB_REPOSITORY) &&
cd $GITHUB_WORKSPACE/.. && mkdir src/ &&
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/ &&
docker build -t openvins -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros2_22_04 .
- name: Echo Enviroment
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "echo $ROS_DISTRO && echo $ROS_VERSION"
- name: Run Build in Docker
run: |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && colcon build"
# - name: Run OpenVINS Simulation!
# run: |
# docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && source install/setup.bash && ros2 run ov_msckf run_simulation src/open_vins/config/rpng_sim/estimator_config.yaml"
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
cmake-build-debug
cmake-build-*
build
Build
*.*~
.idea
doxgen_generated
doxgen_generated
*.swp
*.swo
doc
.vscode
6 changes: 0 additions & 6 deletions CMakeLists.txt

This file was deleted.

51 changes: 51 additions & 0 deletions Dockerfile_ros1_16_04
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
FROM osrf/ros:kinetic-desktop-full

# =========================================================
# =========================================================

# Are you are looking for how to use this docker file?
# - https://docs.openvins.com/dev-docker.html
# - https://docs.docker.com/get-started/
# - http://wiki.ros.org/docker/Tutorials/Docker

# =========================================================
# =========================================================

# Dependencies we use, catkin tools is very good build system
# Also some helper utilities for fast in terminal edits (nano etc)
RUN apt-get update && apt-get install -y libeigen3-dev nano git
RUN sudo apt-get install -y python-catkin-tools

# Ceres solver install and setup
# NOTE: need to use an older version as eigen is very outdated here!!!
# NOTE: https://github.com/ceres-solver/ceres-solver/issues/541
RUN sudo apt-get install -y cmake libgoogle-glog-dev libgflags-dev libatlas-base-dev libeigen3-dev libsuitesparse-dev libceres-dev
# ENV CERES_VERSION="2.0.0"
# RUN git clone https://ceres-solver.googlesource.com/ceres-solver && \
# cd ceres-solver && \
# git checkout tags/${CERES_VERSION} && \
# git reset --hard e51e9b46f6 && \
# mkdir build && cd build && \
# cmake .. && \
# make -j$(nproc) install && \
# rm -rf ../../ceres-solver

# Seems this has Python 2.7 installed on it...
RUN apt-get update && apt-get install -y python2.7-dev python-matplotlib python-numpy python-psutil python-tk

# Install deps needed for clion remote debugging
# https://blog.jetbrains.com/clion/2020/01/using-docker-with-clion/
# RUN sed -i '6i\source "/catkin_ws/devel/setup.bash"\' /ros_entrypoint.sh
RUN apt-get update && apt-get install -y ssh build-essential gcc g++ \
gdb clang cmake rsync tar python && apt-get clean
RUN ( \
echo 'LogLevel DEBUG2'; \
echo 'PermitRootLogin yes'; \
echo 'PasswordAuthentication yes'; \
echo 'Subsystem sftp /usr/lib/openssh/sftp-server'; \
) > /etc/ssh/sshd_config_test_clion \
&& mkdir /run/sshd
RUN useradd -m user && yes password | passwd user
RUN usermod -s /bin/bash user
CMD ["/usr/sbin/sshd", "-D", "-e", "-f", "/etc/ssh/sshd_config_test_clion"]

Loading