Skip to content

Instantly share code, notes, and snippets.

@mikaelarguedas
mikaelarguedas / Dockerfile
Created March 10, 2020 09:41
DOckerfile to build astra camera on armhf
FROM osrf/debian_armhf:buster
RUN apt-get update && apt-get upgrade -y \
&& apt-get install -y dirmngr gnupg2 lsb-release
# setup ROS repositories
RUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
RUN apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
# install ROS tools
RUN apt-get update \
<launch>
<param name="robot_description" command="$(find xacro)/xacro --inorder '$(find foobar)/launch/myrobot.xacro' laser_topic:=scan_topic"/>
<!-- Run a python script to the send a service call to gazebo_ros to spawn a URDF robot -->
<node name="urdf_spawner" pkg="gazebo_ros" type="spawn_model" respawn="false" output="screen"
args="-urdf -model myrobot -param robot_description"/>
</launch>
@mikaelarguedas
mikaelarguedas / Dockerfile
Created March 29, 2019 15:24
Crystal ros_core using rosinstall_generator
ARG FROM_IMAGE=ubuntu:bionic
FROM $FROM_IMAGE
# setup timezone
RUN echo 'Etc/UTC' > /etc/timezone && \
ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime && \
apt-get update && apt-get install -q -y tzdata && rm -rf /var/lib/apt/lists/*
# install packages
RUN apt-get update && apt-get install -q -y \
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
repositories:
ros2/message_filters:
type: git
url: https://github.com/ros2/message_filters.git
version: master
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: bouncy
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: bouncy
ament/ament_lint: