Skip to content

Instantly share code, notes, and snippets.

@SarthakJShetty
SarthakJShetty / drivers.launch
Created November 21, 2021 22:06
Launch file for spawning multiple Kinect Azure's in ROS
<!--
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License.
-->
<launch>
<arg name="tf_prefix" default="" /> <!-- Prefix added to tf frame IDs. It typically contains a trailing '_' unless empty. -->
<param name="robot_description"
command="xacro $(find azure_kinect_ros_driver)/urdf/azure_kinect.urdf.xacro tf_prefix:=$(arg tf_prefix)" />
@SarthakJShetty
SarthakJShetty / opencv-install.sh
Last active January 29, 2021 05:32
Installing OpenCV 4.5.1
#Create a seperate folder for the installation
mkdir opencv && cd opencv
#Download OpenCV core modules from GitHub
git clone https://github.com/opencv/opencv.git
mv opencv-master opencv
#Download the additional modules from OpenCV Contrib repository
git clone https://github.com/opencv/opencv_contrib.git
mv opencv_contrib-master opencv_contrib
@SarthakJShetty
SarthakJShetty / robot.xacro
Created January 15, 2021 05:29
Adding a Hokuyo Laser to a ROS Robot
<!-- This goes inside the .xacro file of your robot. Make sure there's a base_link somewhere above this (even
though ordering is irrelevant in xacro) -->
<!-- Declaring the -->
<link name="box_laser">
<visual>
<geometry>
<box size="0.08 0.08 0.08"/>
<!-- If you'd like the laser to be represented by the actual design, then uncomment this line and replace
the previous <box> tag with it.