Skip to content

Instantly share code, notes, and snippets.

View ClintLiddick's full-sized avatar

Clint Liddick ClintLiddick

View GitHub Profile
@ClintLiddick
ClintLiddick / CMakeLists.txt
Last active October 15, 2022 12:27
wxWidgets Hello World
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 June 18, 2016 15:30
CMake ExternalProject_Add file for the Eigen3 Library
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 December 9, 2020 15:38
CMake ExternalProject_Add for Google Mock (gmock) and Google Test (gtest) Libraries
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 April 3, 2023 02:38
Rust Libraries for Robotics

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.