Skip to content

Commit 8f5eb1a

Browse files
committed
use 2d version and edgetam-dimos
1 parent de24a1c commit 8f5eb1a

5 files changed

Lines changed: 12 additions & 8 deletions

File tree

dimos/agents/skills/person_follow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def __init__(
6161
self,
6262
camera_info: CameraInfo,
6363
global_config: GlobalConfig,
64-
use_3d_navigation: bool = True,
64+
use_3d_navigation: bool = False,
6565
) -> None:
6666
super().__init__()
6767
self._global_config: GlobalConfig = global_config

dimos/models/segmentation/edge_tam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
from dimos.utils.logging_config import setup_logger
3737

3838
if TYPE_CHECKING:
39-
from sam2.sam2_video_predictor import SAM2VideoPredictor
39+
from sam2.sam2_video_predictor import SAM2VideoPredictor # type: ignore[import-untyped]
4040

4141
os.environ['TQDM_DISABLE'] = '1'
4242

dimos/simulation/mujoco/person_on_track.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
from typing import Any
16+
1517
import mujoco
1618
import numpy as np
19+
from numpy.typing import NDArray
1720

1821
from dimos.core.transport import LCMTransport
1922
from dimos.msgs.geometry_msgs import Pose
@@ -145,7 +148,7 @@ def tick(self) -> None:
145148
# Publish pose
146149
self._publish_pose(self._current_pos, heading + np.pi)
147150

148-
def _publish_pose(self, pos: np.ndarray, heading: float) -> None:
151+
def _publish_pose(self, pos: NDArray[np.floating[Any]], heading: float) -> None:
149152
c, s = np.cos(heading / 2), np.sin(heading / 2)
150153
pose = Pose(
151154
position=[pos[0], pos[1], 0.0],

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ misc = [
101101
# Perception Dependencies
102102
"scikit-learn",
103103
"timm>=1.0.15",
104-
"edgetam @ git+https://github.com/facebookresearch/EdgeTAM.git",
104+
"edgetam-dimos",
105105
"opencv-contrib-python==4.10.0.84",
106106
"omegaconf>=2.3.0",
107107
"hydra-core>=1.3.0",

uv.lock

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)