Repository navigation
Expand file tree
/
Copy pathjustfile
More file actions
68 lines (51 loc) · 2.1 KB
/
Copy pathjustfile
File metadata and controls
68 lines (51 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
set shell := ["bash", "-c"]
build:
./check_in_container.sh && \
cd .. && colcon build --merge-install --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo
install_dependencies:
./check_in_container.sh && \
bash -c 'sudo apt-get update && rosdep install --from-paths src --ignore-src -y' && \
python3 -m pip install --break-system-packages -r requirements.txt
build_debug:
./check_in_container.sh && \
cd .. && colcon build --merge-install --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Debug
build_verbose:
./check_in_container.sh && \
cd .. && colcon build --merge-install --symlink-install --event-handlers console_cohesion+ --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo
run_tests:
./check_in_container.sh && \
cd .. && \
colcon test --merge-install --executor sequential --pytest-args --verbose && \
colcon test-result --verbose
rebuild:
./check_in_container.sh && \
cd .. && \
rm -r build/ install/ && \
source /opt/dependencies_ws/install/setup.bash && \
colcon build --merge-install --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo
lint:
./check_in_container.sh && \
ament_flake8 && \
ament_cpplint
zenohd:
ros2 run rmw_zenoh_cpp rmw_zenohd
web:
ros2 launch dynoturtle_bringup web.launch.py
teleop:
ros2 run teleop_twist_keyboard teleop_twist_keyboard --ros-args- --remap __ns:=/turtle1 --remap cmd_vel:=safe_cmd_vel
teleop_2:
ros2 run teleop_twist_keyboard teleop_twist_keyboard --ros-args- --remap __ns:=/turtle2 --remap cmd_vel:=safe_cmd_vel
start_mission:
ros2 topic pub /turtle1/start_mission std_msgs/msg/Empty --once
cancel_mission:
ros2 topic pub /turtle1/cancel_mission std_msgs/msg/Empty --once
l_turtle:
ros2 launch dynoturtle_bringup full.launch.py
l_turtle_2:
ros2 launch dynoturtle_bringup full.launch.py num_turtles:=2
l_turtle_random:
ros2 launch dynoturtle_bringup full.launch.py behavior_tree:=random_tree
l_turtle_charge:
ros2 launch dynoturtle_bringup full.launch.py behavior_tree:=charge_tree
l_dynobot:
ros2 launch dynobot_bringup full.launch.py