Skip to content

Instantly share code, notes, and snippets.

Avatar

Clint Liddick ClintLiddick

View GitHub Profile
@ClintLiddick
ClintLiddick / CMakeLists.txt
Last active Sep 18, 2020
wxWidgets Hello World
View CMakeLists.txt
cmake_minimum_required(VERSION 3.1)
project(wxApp CXX)
include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
if(COMPILER_SUPPORTS_CXX11)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
else()
message(ERROR "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler.")
endif()
@ClintLiddick
ClintLiddick / External_EIGEN3.cmake
Created Jun 18, 2016
CMake ExternalProject_Add file for the Eigen3 Library
View External_EIGEN3.cmake
ExternalProject_Add(
eigen_ext
HG_REPOSITORY https://bitbucket.org/eigen/eigen
HG_TAG 3.2.8
UPDATE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
LOG_DOWNLOAD ON
LOG_CONFIGURE ON)
@ClintLiddick
ClintLiddick / External_GTest.cmake
Last active Dec 9, 2020
CMake ExternalProject_Add for Google Mock (gmock) and Google Test (gtest) Libraries
View External_GTest.cmake
find_package(Threads REQUIRED)
ExternalProject_Add(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
UPDATE_COMMAND ""
INSTALL_COMMAND ""
LOG_DOWNLOAD ON
LOG_CONFIGURE ON
LOG_BUILD ON)
@ClintLiddick
ClintLiddick / rust-robotics-libraries.md
Last active Oct 27, 2021
Rust Libraries for Robotics
View rust-robotics-libraries.md

Motivation

tl;dr I want to use Rust to program robots. Help me find the best core libraries to build on.

Robotic systems require high performance and reliability, but also have enormous complexity in terms of algorithms employed, number of subsystems, embedded hardware control, and other metrics. Development is mostly split between C++ for performance and safety critical components, and MatLab or Python for quick research or task iteration.