Go2Py_SIM/Makefile

86 lines
2.6 KiB
Makefile
Raw Normal View History

INTERFACE = enx00e04c006390 # interface name used to talk with the robot
# Target to run the script with the specified interface
ddscfg:
python3 scripts/set_cyclonedds_config.py $(INTERFACE) && /bin/bash scripts/ros_env_setup.bash
frontcam:
@cd deploy && docker build --no-cache --tag go2py_frontcam_publisher:latest -f docker/Dockerfile.frontcam .
2024-05-21 07:41:14 +08:00
docker_start:
@cd .devcontainer && docker compose up go2py
isaac_ros_start:
2024-05-21 07:01:56 +08:00
@./scripts/run_dev.sh
2024-05-31 02:44:51 +08:00
nav2:
@cd deploy && docker build --no-cache --tag go2py_nav2:latest -f docker/Dockerfile.nav2 .
nav2_source:
@cd deploy && docker build --tag robocaster/navigation2:aarch64 -f docker/Dockerfile.nav2_source .
2024-05-31 02:44:51 +08:00
2024-05-31 08:40:00 +08:00
nav2_start:
2024-05-31 11:51:13 +08:00
@ ./scripts/run_nav2.sh
2024-05-31 08:40:00 +08:00
mexplore:
@cd deploy && docker build --no-cache --tag go2py_mexplore:latest -f docker/Dockerfile.mexplore .
mexplore_start:
@ ./scripts/run_mexplore.sh
2024-05-05 12:11:18 +08:00
messages:
@cd scripts && ./make_msgs.sh
2024-05-05 08:09:01 +08:00
realsense:
@cd deploy/docker && docker build --tag go2py_realsense:latest -f Dockerfile.realsense .
2024-05-05 02:03:03 +08:00
hesai:
@cd deploy && docker build --no-cache --tag go2py_hesai:latest -f docker/Dockerfile.hesai .
2024-02-12 10:01:46 +08:00
2024-05-05 02:03:03 +08:00
bridge:
@cd deploy && docker build --no-cache --tag go2py_bridge:latest -f docker/Dockerfile.bridge .
2024-02-04 09:05:52 +08:00
robot_description:
@cd deploy && docker build --no-cache --tag go2py_description:latest -f docker/Dockerfile.robot_description .
frontcam_install:
@cp deploy/services/go2py-frontcam.service /etc/systemd/system/
@cp deploy/services/frontcam-v4l-loopback.sh /usr/bin
@systemctl enable go2py-frontcam.service
@systemctl start go2py-frontcam.service
2024-05-05 02:03:03 +08:00
hesai_install:
@cp deploy/services/go2py-hesai.service /etc/systemd/system/
@systemctl enable go2py-hesai.service
@systemctl start go2py-hesai.service
2024-02-04 09:05:52 +08:00
2024-05-05 02:03:03 +08:00
bridge_install:
@cp deploy/services/go2py-bridge.service /etc/systemd/system/
@systemctl enable go2py-bridge.service
@systemctl start go2py-bridge.service
robot_description_install:
@cp deploy/services/go2py-robot-description.service /etc/systemd/system/
@systemctl enable go2py-robot-description.service
@systemctl start go2py-robot-description.service
frontcam_uninstall:
@systemctl disable go2py-frontcam.service
@systemctl stop go2py-frontcam.service
@rm /etc/systemd/system/go2py-frontcam.service
2024-05-05 02:03:03 +08:00
hesai_uninstall:
@systemctl disable go2py-hesai.service
@systemctl stop go2py-hesai.service
@rm /etc/systemd/system/go2py-hesai.service
2024-02-12 10:12:34 +08:00
2024-05-05 02:03:03 +08:00
bridge_uninstall:
@systemctl disable go2py-bridge.service
@systemctl stop go2py-bridge.service
@rm /etc/systemd/system/go2py-bridge.service
robot_description_uninstall:
@systemctl disable go2py-robot-description.service
@systemctl stop go2py-robot-description.service
@rm /etc/systemd/system/go2py-robot-description.service