Skip to content

Commit 1107f06

Browse files
authored
fix RAT dependency (#32)
* fix RAT dependancy * up julia compat --------- Co-authored-by: Johannes Terblanche <[email protected]>
1 parent 955c336 commit 1107f06

File tree

6 files changed

+12
-8
lines changed

6 files changed

+12
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
version:
18-
- '1.6'
19-
- '~1.9.0-0'
18+
- '1.10'
19+
- '~1.11.0-0'
2020
- 'nightly'
2121
os:
2222
- ubuntu-latest

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Manifest.toml

Project.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
name = "CameraModels"
22
uuid = "0d57b887-6120-40e6-8b8c-29d3116bc0c1"
33
keywords = ["camera", "model", "pinhole", "distortion", "robotics", "images"]
4-
version = "0.2.2"
4+
version = "0.2.3"
55

66
[deps]
77
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
88
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
99
Manifolds = "1cead3c2-87b3-11e9-0ccd-23c62b72b94e"
10+
RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
1011
Rotations = "6038ab10-8711-5258-84ad-4b1120ba62dc"
1112
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1213

1314
[compat]
1415
DocStringExtensions = "0.8, 0.9"
1516
Manifolds = "0.8, 0.9, 0.10"
17+
RecursiveArrayTools = "3.27.0"
1618
Rotations = "1"
1719
StaticArrays = "1"
18-
julia = "1.6"
20+
julia = "1.10"
1921

2022
[extras]
2123
Optim = "429524aa-4258-5aef-a3af-852621145aeb"

src/CameraModels.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ using DocStringExtensions
66
using StaticArrays
77
import Rotations as Rot_
88
import Base: getindex, getproperty, show
9-
9+
using RecursiveArrayTools: ArrayPartition
1010

1111
# exports
1212
include("ExportAPI.jl")

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using CameraModels
22
using Test
33
using StaticArrays
4+
using RecursiveArrayTools: ArrayPartition
45

56
import CameraModels: height, width
67

test/testutils.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ l_nFL = [0; -0.05; 1.]
3535
l_FL = [0; 0; -2.]
3636

3737
# local level to body to extrinsic transform
38-
l_T_b = MJL.ArrayPartition([0;0;0.], R0)
39-
b_T_ex = MJL.ArrayPartition([0;0;0.], MJL.exp_lie(Mr, MJL.hat(Mr, R0, [0;0.2;0.2])))
38+
l_T_b = ArrayPartition([0;0;0.], R0)
39+
b_T_ex = ArrayPartition([0;0;0.], MJL.exp_lie(Mr, MJL.hat(Mr, R0, [0;0.2;0.2])))
4040
l_T_ex = MJL.compose(M, l_T_b, b_T_ex)
4141

4242
# Ray trace
@@ -50,7 +50,7 @@ l_Forb = intersectRayToPlane(
5050

5151

5252
## Place the body somewhere in the world
53-
w_T_b = MJL.ArrayPartition([0.;0.;2.], MJL.exp_lie(Mr, MJL.hat(Mr, R0, [0;0;0.])))
53+
w_T_b = ArrayPartition([0.;0.;2.], MJL.exp_lie(Mr, MJL.hat(Mr, R0, [0;0;0.])))
5454
# find feature points in the world frame
5555
_w_Forb = MJL.affine_matrix(M, w_T_b)*[l_Forb; 1.]
5656

0 commit comments

Comments
 (0)