fixed guidance only pulling things towards the middle and added CA QP CBF code

This commit is contained in:
kdee committed 2025-12-05 16:04:02 -08:00
1 parent 96c91c3988
commit 95ea19e546
31 files changed
+342 -14

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
function c = contains(obj, pos)
arguments (Input)
obj (1, 1) {mustBeA(obj, 'spherical')};
pos (:, 3) double;
end
arguments (Output)
c (:, 1) logical
end
c = norm(obj.center - pos) <= obj.radius;
end