Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions assets/policies/go1_policy.onnx

This file was deleted.

Binary file removed assets/robots/go1/assets/hfield.png
Binary file not shown.
Binary file removed assets/robots/go1/assets/rocky_texture.png
Binary file not shown.
306 changes: 0 additions & 306 deletions assets/robots/go1/robot.xml

This file was deleted.

39 changes: 39 additions & 0 deletions bin/explore-cmd
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok for now for convinience, we need to make a small controller for robots, even for movement mesages, you can check dimos/utils/cli for cli tooling and follow the example sometime

Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/usr/bin/env python

"""
Simple command line tool to trigger robot exploration.

Usage:
explore_cmd.py start # Start exploration
explore_cmd.py stop # Stop exploration
"""

import sys
from dimos.protocol.pubsub.lcmpubsub import LCM, Topic
from dimos_lcm.std_msgs import Bool


def main():
if len(sys.argv) != 2 or sys.argv[1] not in ["start", "stop"]:
print("Usage: bin/explore-cmd [start|stop]")
sys.exit(1)

command = sys.argv[1]

lcm = LCM()

msg = Bool()
msg.data = True

if command == "start":
topic = Topic("/explore_cmd", Bool)
lcm.publish(topic, msg)
print("✓ Sent start exploration command")
elif command == "stop":
topic = Topic("/stop_explore_cmd", Bool)
lcm.publish(topic, msg)
print("✓ Sent stop exploration command")


if __name__ == "__main__":
main()
3 changes: 3 additions & 0 deletions data/.lfs/mujoco_sim.tar.gz
Git LFS file not shown
Loading
Loading