The Microsoft Kinect for Azure (k4a) is only supported officially for Ubuntu 18.04.
Here are instructions to install its library in a more recent OS:
# Install the key
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
In general, follow these instructions: http://wiki.ros.org/noetic/Installation/Source
You will find these errors, though:
Problem: hddtemp is not found as a rosdep. Solution:
function [] = dibuja_dep(x, Fs) | |
% Dibuja la densidad espectral de potencia (dep) | |
% o power spectral density (psd) de una señal "x" muestreada a una | |
% frecuencia de muestreo "Fs" (Hz) | |
N = length(x); | |
X = fft(x); | |
X = X(1:N/2+1); | |
psdx = (1/(Fs*N)) * abs(X).^2; | |
psdx(2:end-1) = 2*psdx(2:end-1); | |
freq = 0:Fs/length(x):Fs/2; |
These commands are shown in the YouTube tutorial: xxx
Based on the official docs with the addition of the automatic sending of ready\r\n
on boot, as required by the firmware of my boards (these ones).
Configuration
-> Set module to Generic (18)
. Click save.#include <boost/archive/binary_iarchive.hpp> | |
#include <boost/archive/binary_oarchive.hpp> | |
#include <boost/archive/text_iarchive.hpp> | |
#include <boost/archive/text_oarchive.hpp> | |
#include <fstream> | |
#include <gtsam/base/serialization.h> | |
// ... Includes for your values and factors: | |
#include <gtsam/base/GenericValue.h> // GTSAM_VALUE_EXPORT | |
#include <gtsam/geometry/Pose2.h> |
Delivered-To: jlblanco@ual.es | |
Received: by 2002:a02:8786:0:0:0:0:0 with SMTP id t6csp1186368jai; | |
Wed, 22 Jul 2020 22:43:39 -0700 (PDT) | |
X-Google-Smtp-Source: ABdhPJylm/QLhynKq/SZznR1l+Y5sRRDMulWqyIKPUeIickBG5o/ELk3EloepDByZGlB+RSf/LfF | |
X-Received: by 2002:a92:5f5a:: with SMTP id t87mr1748507ilb.255.1595483019518; | |
Wed, 22 Jul 2020 22:43:39 -0700 (PDT) | |
ARC-Seal: i=1; a=rsa-sha256; t=1595483019; cv=none; | |
d=google.com; s=arc-20160816; | |
b=N3tZ5eARWjTJbaqKvySN+mHaSOUPVGHZP4DpOQQeS7j0oHIcDMgcEK/G1PAsMInAtw | |
3OvsVIDWf0Jn7M/zm/HCoJYwhTifyFOyEk+JHaXixlZOIMzLLkRuNwFdOw85IzVEG+d9 |
Search for:
([\r\n ,\.\t\[\_\*\>\(\-\!\&\{])m_([a-zA-Z0-9_]*)
Replace with:
$1$2_
#include <libfgcontrol/Factor1stOrderOutput.h> | |
#include <mrpt/core/exceptions.h> | |
using namespace fgcontrol; | |
Factor1stOrderOutput::~Factor1stOrderOutput() = default; | |
gtsam::NonlinearFactor::shared_ptr Factor1stOrderOutput::clone() const | |
{ | |
return boost::static_pointer_cast<gtsam::NonlinearFactor>( |
Regular expression syntax tested with Visual Studio Code (Dec 2019)
Goal: transform:
Connect(
ID_BUTTON1, wxEVT_COMMAND_BUTTON_CLICKED,
(wxObjectEventFunction)&CDlgCalibWizardOnline::OnbtnStartClick);
into:
function [] = main() | |
close all; | |
% Make sure: | |
disp('Searching devices...'); | |
devs=daq.getDevices(); | |
if (length(devs.Vendor)~=1), | |
error('Is the USB DAQ connected?'); | |
end |