Skip to content

Instantly share code, notes, and snippets.

View mhubii's full-sized avatar

mhubii mhubii

  • Robotics and Vision in Medicine
  • London, England
  • 21:21 (UTC +01:00)
View GitHub Profile
@cmower
cmower / get_robot_description.py
Last active April 27, 2023 14:52
How to get robot description (i.e. string containing URDF) from the robot state publisher node in ROS 2 Python.
from rclpy.node import Node
from rcl_interfaces.srv import GetParameters
class MyNode(Node):
def get_robot_description(self) -> str:
client = self.create_client(
GetParameters, "robot_state_publisher/get_parameters"
)
while not client.wait_for_service(timeout_sec=1.0):
@Supercip971
Supercip971 / submodule-updater.yml
Last active September 6, 2023 17:11
update all your submodule when you want with this github action !
name: update all submodules
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0

PyTorch C++ API Ubuntu Installation Guide

The best way to get a clean installation of PyTorch, is to install the pre-compiled binaries from the Anaconda distribution. Therefore, we need to setup Anaconda first.

Step 1: Install Anaconda

  • Go to the download section and download your desired Anaconda version for Linux

  • Run the downloaded shell script and follow the install instruction, do