Skip to content

Instantly share code, notes, and snippets.

View souljaboy764's full-sized avatar

Vignesh Prasad souljaboy764

View GitHub Profile
@souljaboy764
souljaboy764 / pbdlib_python3.patch
Created April 7, 2023 20:36
patch for fixing pbdlib-python in python3
diff --git a/pbdlib/__init__.py b/pbdlib/__init__.py
index 3947e76..5bbb701 100755
--- a/pbdlib/__init__.py
+++ b/pbdlib/__init__.py
@@ -1,19 +1,19 @@
-from .functions import *
+from pbdlib.functions import *
-from .gmm import GMM
-from .gmr import GMR
@souljaboy764
souljaboy764 / CMakeLists_ros-naoqi_libqi.txt
Created September 8, 2022 15:11
Updated CMakeLists.txt after copying the source files of libqi (modified) for Ubuntu 22.04 with Boost 1.74 (and 1.77) on ROS2 Humble
## Copyright (c) 2012, 2013, 2014 Aldebaran Robotics. All rights reserved.
## Use of this source code is governed by a BSD-style license that can be
## found in the COPYING file.
cmake_minimum_required(VERSION 3.5)
project(naoqi_libqi)
find_package(ament_cmake REQUIRED)
find_package(OpenSSL REQUIRED)
include(CheckSymbolExists)
@souljaboy764
souljaboy764 / libqi-python3-boost_1_77_0.bash
Last active January 26, 2023 21:43
Script for installing libqi and libqi-python for Python3 with Boost 1.77 on Ubuntu 22.04
#!/bin/bash
cd /tmp
mkdir playground
cd playground
# Download and Install boost
wget https://boostorg.jfrog.io/artifactory/main/release/1.77.0/source/boost_1_77_0.zip
unzip boost_1_77_0.zip
cd boost_1_77_0
./bootstrap.sh --prefix=$HOME/.local/