Skip to content

Instantly share code, notes, and snippets.

View jokla's full-sized avatar

Giovanni Claudio jokla

View GitHub Profile
; ========================================
; PTPDv2 version 2.3.0-svn default configuration
; ========================================
; NOTE: the following settings are affected by ptpengine:preset selection:
; ptpengine:slave_only
; clock:no_adjust
; ptpengine:clock_class - allowed range and default value
; To see all preset settings, run ptpd2 -H (--long-help)
@jokla
jokla / gist:a654e27d8b86716afd5501942c950933
Last active May 9, 2020 11:24
Getting started with Juce on Ubuntu 18.04

Getting started with Juce on Ubuntu 18.04

  1. Download Juce for linux here
  2. Extract juce-5.X.X-linux.zip (I have it in /home/jokla/software/juce-5.4.7-linux)
  3. Run the application from terminal with $ ./home/jokla/software/juce-5.4.7-linux/JUCE/Projucer or double-click on Projucer.
  4. Follow this guide. I add to set up manually the path to Juce, the Juce modules and to Clion
  5. Now install libwebkit2gtk-4.0-dev from a terminal with sudo apt-get install libwebkit2gtk-4.0-dev
  6. You will need to install ladspa-sdk to build extras/AudioPluginHost/
  • Follow building from source link I had to change the dependencies:
sudo apt-get install python-setuptools python-rosinstall ipython libeigen3-dev libboost-all-dev doxygen libopencv-dev ros-melodic-vision-opencv ros-melodic-image-transport-plugins ros-melodic-cmake-modules software-properties-common libpoco-dev python-matplotlib python-scipy python-git python-pip ipython libtbb-dev libblas-dev liblapack-dev python-catkin-tools libv4l-dev 

  • You can now build with caktin build

  • In addition, to run the calibration I had to install python-igraph:

<?xml version="1.0"?>
<launch>
<arg name="launch_prefix" default=""/>
<arg name="nodelet_manager" default="camera_nodelet_manager" />
<node pkg="nodelet" type="nodelet" name="$(arg nodelet_manager)" args="manager" cwd="node" output="screen" />
<node respawn="true" pkg="nodelet" type="nodelet" name="apriltag_ros" args="load apriltag_ros/ContinuousDetector $(arg nodelet_manager)" output="screen">
<rosparam command="load" file="$(find apriltag_ros)/config/settings.yaml"/>