This tutorial for setting up Ubuntu Server (RPi 3B) as Wifi access point
The main steps can be listed as following:
- Install required packages
- Setup hostapd
- Setup DNSmasq
- Configure AP IP Address
| cmake_minimum_required(VERSION 3.10) | |
| project(untitled3) | |
| set(CMAKE_CXX_STANDARD 11) | |
| # This toolchain file is based on https://github.com/apmorton/teensy-template/blob/master/Makefile | |
| # and on the Teensy Makefile. | |
| include(CMakeForceCompiler) |
/dev/sdb. Delete all partitions, create a new one taking up all the space, set type to NTFS (7), and remember to set it bootable:# cfdisk /dev/sdb
or fdisk /dev/sdb (partition type 7, and bootable flag)
I just put the finishing touches on my Raspberry Pi 3 emulation machine running RetroArch. I was not a huge fan of RetroPie due to the reliance on Emulation Station - more moving parts meant that there were more things that could potentially break. I just wanted something that would run raw RetroArch, no frills.
This tutorial is mostly recreated from memory and was most recently tested with a Raspberry Pi 3 running Raspbian Stretch and RetroArch 1.7.7. If there is a mistake or a broken link, PLEASE message me and I will fix it.
I used Raspbian Stretch Lite from this page. Write the image to your SD card using something like Win32 Disk Imager, or if you're using OSX/Linux follow a tutorial on how to write the image using dd.
Because pointers can be ugh
To understand a pointer, let's review "regular" variables first. If you're familiar with a programming language without pointers like JavaScript, this is what you think when you hear "variable".
When declaring a variable by identifier (or name), the variable is synonymous with its value.
| // A simple quickref for Eigen. Add anything that's missing. | |
| // Main author: Keir Mierle | |
| #include <Eigen/Dense> | |
| Matrix<double, 3, 3> A; // Fixed rows and cols. Same as Matrix3d. | |
| Matrix<double, 3, Dynamic> B; // Fixed rows, dynamic cols. | |
| Matrix<double, Dynamic, Dynamic> C; // Full dynamic. Same as MatrixXd. | |
| Matrix<double, 3, 3, RowMajor> E; // Row major; default is column-major. | |
| Matrix3f P, Q, R; // 3x3 float matrix. |
| # | |
| # Copyright 2019 Gianluca Frison, Dimitris Kouzoupis, Robin Verschueren, | |
| # Andrea Zanelli, Niels van Duijkeren, Jonathan Frey, Tommaso Sartor, | |
| # Branimir Novoselnik, Rien Quirynen, Rezart Qelibari, Dang Doan, | |
| # Jonas Koenemann, Yutao Chen, Tobias Schöls, Jonas Schlagenhauf, Moritz Diehl | |
| # | |
| # This file is part of acados. | |
| # | |
| # The 2-Clause BSD License | |
| # |
| # | |
| # Project settings | |
| # | |
| # Minimum required version of cmake | |
| CMAKE_MINIMUM_REQUIRED( VERSION 2.8 ) | |
| # Project name and programming languages used | |
| PROJECT( MY_COOL_PROJECT CXX ) |