git clone https://github.com/IntelRealSense/librealsense.git
cd librealsense
git checkout v2.50.0
mkdir build && cd build
cmake ../ -DBUILD_EXAMPLES=true -DBUILD_GRAPHICAL_EXAMPLES=true
make -j$(nproc)
sudo make install
realsense-viewer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Disable Wayland | |
| For symless synergy and anydesk, remember to disable wayland | |
| ``` | |
| [daemon] | |
| WaylandEnable=false | |
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "osqpwrapper.h" | |
| void osqpwrapper::qp_opt( | |
| Eigen::MatrixXd _MQM, | |
| Eigen::MatrixXd _A, | |
| Eigen::MatrixXd _g, | |
| Eigen::MatrixXd _ub, | |
| Eigen::MatrixXd _lb) | |
| { | |
| // Load problem data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ``` | |
| git submodule add https://github.com/HKPolyU-UAV/airo_message.git && \ | |
| git submodule add https://github.com/pattylo/ros_utilities.git && \ | |
| git submodule add https://github.com/pattylo/cv_bridge.git | |
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % Source: http://tex.stackexchange.com/a/5374/23931 | |
| \documentclass[12pt]{article} | |
| \usepackage[T1]{fontenc} | |
| \usepackage[utf8]{inputenc} | |
| \usepackage[margin=0.8in]{geometry} | |
| \usepackage{hyperref} | |
| \newcommand{\HRule}{\rule{\linewidth}{0.5mm}} | |
| \newcommand{\Hrule}{\rule{\linewidth}{0.3mm}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "editor.indentSize": "tabSize", | |
| "editor.wordWrap": "off", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env python | |
| # mainserver.py | |
| import rospy | |
| from geometry_msgs.msg import PoseStamped | |
| from mavros_msgs.msg import State | |
| from mavros_msgs.srv import CommandBool, CommandBoolRequest, SetMode, SetModeRequest | |
| from std_msgs.msg import Bool | |
| import numpy as np |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| This file is part of {software_name} - {software_description} | |
| {software_name} is free software: you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation, either version 3 of the License, or | |
| (at your option) any later version. | |
| {software_name} is distributed in the hope that it will be useful, | |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pcl::console::setVerbosityLevel(pcl::console::L_VERBOSE); | |
| pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_in (new pcl::PointCloud<pcl::PointXYZ>(4,1)); | |
| pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_out (new pcl::PointCloud<pcl::PointXYZ>(4,1)); | |
| double t1 = ros::Time::now().toSec(); | |
| // Fill in the CloudIn data | |
| for (int i = 0; i < 4; i++) | |
| { |