Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ansible): update to L4T-R35.4.1 #58

Open
wants to merge 2 commits into
base: fix/anvil-ansible-fix
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion ansible/roles/cgroups/files/user-resources.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Type=simple
User=root
Group=root
ExecStartPost=/bin/bash -c "echo 400000 > /sys/fs/cgroup/cpu,cpuacct/user.slice/cpu.rt_runtime_us"
ExecStartPost=/bin/bash -c "echo 400000 > /sys/fs/cgroup/cpu,cpuacct/user.slice/cpu.rt_runtime_us"

Check warning on line 5 in ansible/roles/cgroups/files/user-resources.conf

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (cpuacct)
2 changes: 1 addition & 1 deletion ansible/roles/ros2/defaults/main.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ros_root_dir: /opt/ros/humble
ros_pkg: ros_base
ros_package: ros_base
11 changes: 5 additions & 6 deletions ansible/roles/ros2/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,25 @@
ros2_build_script: "{{ jetson_script_dir }}/ros2_build.sh"
- name: Download OpenCV deps script
ansible.builtin.get_url:
url: https://raw.githubusercontent.com/dusty-nv/jetson-containers/L4T-R35.3.1/scripts/opencv_install_deps.sh
url: https://raw.githubusercontent.com/dusty-nv/jetson-containers/L4T-R35.4.1/packages/opencv/opencv_builder/opencv_install_deps.sh
dest: "{{ opencv_install_deps_script }}"
- name: Make OpenCV deps script executable
ansible.builtin.file:
dest: "{{ opencv_install_deps_script }}"
mode: u+x
- name: Download OpenCV install script
ansible.builtin.get_url:
url: https://raw.githubusercontent.com/dusty-nv/jetson-containers/L4T-R35.3.1/scripts/opencv_install.sh
url: https://raw.githubusercontent.com/dusty-nv/jetson-containers/L4T-R35.4.1/packages/opencv/opencv_install.sh
dest: "{{ opencv_install_script }}"
- name: Make OpenCV install script executable
ansible.builtin.file:
dest: "{{ opencv_install_script }}"
mode: u+x
- name: Download ROS2 Humble install script

Check warning on line 49 in ansible/roles/ros2/tasks/main.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (ROS2)
ansible.builtin.get_url:
url: https://raw.githubusercontent.com/dusty-nv/jetson-containers/L4T-R35.3.1/scripts/ros2_build.sh
url: https://raw.githubusercontent.com/dusty-nv/jetson-containers/L4T-R35.4.1/packages/ros/ros2_build.sh
dest: "{{ ros2_build_script }}"
- name: Make ROS2 Humble install script executable

Check warning on line 53 in ansible/roles/ros2/tasks/main.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (ROS2)
ansible.builtin.file:
dest: "{{ ros2_build_script }}"
mode: u+x
Expand All @@ -63,11 +63,11 @@
- name: Install PCL deps
ansible.builtin.apt:
name:
- libflann-dev

Check warning on line 66 in ansible/roles/ros2/tasks/main.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (libflann)
- libboost-filesystem-dev
- libboost-date-time-dev
- libboost-iostreams-dev

Check warning on line 69 in ansible/roles/ros2/tasks/main.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (iostreams)
- libvtk7-dev

Check warning on line 70 in ansible/roles/ros2/tasks/main.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (libvtk)
install_recommends: false
update_cache: true
become: true
Expand Down Expand Up @@ -142,7 +142,7 @@
path: "{{ ros_root_dir }}/install"
register: ros_install_dir_exist

- name: Build ROS2 Humble

Check warning on line 145 in ansible/roles/ros2/tasks/main.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (ROS2)
block:
- name: Add the ROS deb repo to the apt sources list
block:
Expand Down Expand Up @@ -170,8 +170,8 @@
- build-essential
- cmake
- git
- libbullet-dev

Check warning on line 173 in ansible/roles/ros2/tasks/main.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (libbullet)
- libpython3-dev

Check warning on line 174 in ansible/roles/ros2/tasks/main.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (libpython)
- python3-flake8
- python3-pip
- python3-numpy
Expand All @@ -179,7 +179,7 @@
- python3-rosdep
- python3-setuptools
- python3-vcstool
- python3-rosinstall-generator

Check warning on line 182 in ansible/roles/ros2/tasks/main.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (rosinstall)
- libasio-dev
- libtinyxml2-dev
- libcunit1-dev
Expand All @@ -194,7 +194,6 @@
ansible.builtin.pip:
name:
- colcon-common-extensions
- catkin-pkg-modules
- argcomplete
- flake8-blind-except
- flake8-builtins
Expand Down Expand Up @@ -227,7 +226,7 @@
become: true
- name: Download ROS packages
ansible.builtin.shell:
cmd: "rosinstall_generator --deps --rosdistro {{ ros_distro }} {{ ros_pkg }} launch_xml launch_yaml launch_testing launch_testing_ament_cmake demo_nodes_cpp demo_nodes_py example_interfaces camera_calibration_parsers camera_info_manager cv_bridge v4l2_camera vision_opencv vision_msgs image_geometry image_pipeline image_transport compressed_image_transport compressed_depth_image_transport pcl_msgs perception_pcl logging_demo udp_msgs angles diagnostics tf_transformations mrt_cmake_modules gtest_vendor grid_map filters nav2_msgs tf2-eigen ament_cmake_clang_format > {{ ros_root_dir }}/ros2.{{ ros_distro }}.{{ ros_pkg }}.rosinstall"
cmd: "rosinstall_generator --deps --rosdistro {{ ros_distro }} {{ ros_package }} launch_xml launch_yaml launch_testing launch_testing_ament_cmake demo_nodes_cpp demo_nodes_py example_interfaces camera_calibration_parsers camera_info_manager cv_bridge v4l2_camera vision_opencv vision_msgs image_geometry image_pipeline image_transport compressed_image_transport compressed_depth_image_transport pcl_msgs perception_pcl logging_demo udp_msgs angles diagnostics tf_transformations mrt_cmake_modules gtest_vendor grid_map filters nav2_msgs tf2-eigen ament_cmake_clang_format > {{ ros_root_dir }}/ros2.{{ ros_distro }}.{{ ros_package }}.rosinstall"
become: true
- name: Import packages to source directory
ansible.builtin.shell:
Expand All @@ -252,7 +251,7 @@
block:
- name: Remove .rosinstall file
ansible.builtin.file:
path: ros2.{{ ros_distro }}.{{ ros_pkg }}.rosinstall
path: ros2.{{ ros_distro }}.{{ ros_package }}.rosinstall
state: absent
- name: Remove source directory
ansible.builtin.file:
Expand Down
Loading