core
CircularObstacleCBC
Bases: NamedAffineFunc
Relative degree 1 L_f h(x) + L_g h(x) u - α h(x) > 0
Source code in bayes_cbf/car/core.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 |
|
ControlCarCBFGroundTruth
Bases: ControlCarCBFLearned
Controller that avoids learning but uses the ground truth model
Source code in bayes_cbf/car/core.py
217 218 219 220 221 222 223 224 |
|
UnicycleDynamicsModel
Bases: DynamicsModel
Ẋ = f(X) + g(X) u
[ v̇ₓ ] [ 0 ] [ cos(θ), 0 ] [ v̇y ] [ 0 ] [ sin(θ), 0 ] [ ω̇ ] [ 0 ] [ 0, 1 ] [ ẋ ] = [ vₓ ] + [ 0, 0 ] [ a ] [ ẏ ] [ vy ] [ 0, 0 ] [ α ] [ θ̇ ] [ ω ] [ 0, 0 ]
Source code in bayes_cbf/car/core.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
|
f_func(X_in)
[ 0 ]
[ 0 ]
[ 0 ]
f(x) = [ v cos(θ) ] [ v sin(θ) ] [ ω ]
Source code in bayes_cbf/car/core.py
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|
g_func(X_in)
[ cos(θ), 0 ]
[ sin(θ), 0 ]
[ 0, 1 ]
g(x) = [ 0, 0 ] [ 0, 0 ] [ 0, 0 ]
Source code in bayes_cbf/car/core.py
60 61 62 63 64 65 66 67 68 69 70 71 72 |
|
run_car_control_ground_truth()
Run save car control with ground_truth model
Source code in bayes_cbf/car/core.py
288 289 290 291 292 293 294 295 296 297 298 299 300 301 |
|