Reference - https://www.eriksmistad.no/getting-started-with-google-test-on-ubuntu/
sudo apt-get install libgtest-dev
sudo apt-get install cmake # install cmake
cd /usr/src/gtest
sudo cmake CMakeLists.txt
| printf '[' > compile_commands.json | |
| find ./build -type f -name 'compile_commands.json' -exec sh -c "cat {} | tail -n+2 | head -n-1 && printf ','" >> compile_commands.json \; | |
| sed -i '$s/.$//' compile_commands.json | |
| printf '\n]\n' >> compile_commands.json |
| I have done below mentioned things and it started working. | |
| vim ~/.ssh/config | |
| Add these lines and save it. | |
| Host github.com | |
| Hostname ssh.github.com | |
| Port 443 | |
| Host bitbucket.org |
Reference - https://www.eriksmistad.no/getting-started-with-google-test-on-ubuntu/
sudo apt-get install libgtest-dev
sudo apt-get install cmake # install cmake
cd /usr/src/gtest
sudo cmake CMakeLists.txt
| cmake_minimum_required(VERSION 2.8.3) | |
| project(sync_example) | |
| find_package(catkin REQUIRED COMPONENTS message_filters roscpp sensor_msgs) | |
| catkin_package( | |
| CATKIN_DEPENDS message_filters roscpp sensor_msgs | |
| ) | |
| include_directories(${catkin_INCLUDE_DIRS}) |
| <launch> | |
| <arg name="INPUT" default="/camera/depth/points" /> | |
| <arg name="SELF_FILTER_PARAM" default="robot_self_filter.yaml" /> | |
| <node pkg="robot_self_filter" | |
| type="self_filter" clear_params="true" | |
| name="self_filter" respawn="true" output="screen"> | |
| <remap from="cloud_in" to="$(arg INPUT)" /> | |
| <remap from="cloud_out" to="~output" /> | |
| <rosparam command="load" file="$(arg SELF_FILTER_PARAM)" /> |
| // Reference: http://stackoverflow.com/questions/4822471/count-number-of-lines-in-a-git-repository | |
| $ git ls-files | xargs wc -l |
To remove a submodule you need to: