The instructions are based on this answers.ros.org thread.
You may need the latest pip, follow the official instructions.
Install bloom:
| #!/bin/bash | |
| # cd /usr/local/cuda-10.2/samples/0_Simple/matrixMul | |
| # make | |
| while [1]; | |
| do | |
| /usr/local/cuda-10.2/samples/0_Simple/matrixMul/matrixMul -wA=3200 -hA=320 -wB=640 -hB=3200 | |
| done |
The instructions are based on this answers.ros.org thread.
You may need the latest pip, follow the official instructions.
Install bloom:
| #!/bin/bash | |
| echo "clear build version boost" | |
| sudo rm -r /usr/local/lib/cmake/Boost* | |
| sudo rm -r /usr/local/lib/cmake/boost* | |
| sudo rm -r /usr/local/lib/libboost* | |
| sudo rm -r /usr/local/include/boost |
Pretty much everything is working out of the box. The screen is beautiful and the keyboard is nice to type on.
The battery life when just doing using the laptop as a portable laptop is pretty good. It's light, thin.
I look forwarding to testing its for some light gaming, but until then, here's what I did to get everything working on it.
| # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
| # newer versions of the distribution. | |
| deb http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted | |
| # deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted | |
| ## Major bug fix updates produced after the final release of the | |
| ## distribution. | |
| deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted | |
| # deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted |
| ''' | |
| This script saves each topic in a bagfile as a csv. | |
| Accepts a filename as an optional argument. Operates on all bagfiles in current directory if no argument provided | |
| Written by Nick Speal in May 2013 at McGill University's Aerospace Mechatronics Laboratory | |
| www.speal.ca | |
| Supervised by Professor Inna Sharf, Professor Meyer Nahon |
| ''' | |
| This script saves each topic in a bagfile as a csv. | |
| Accepts a filename as an optional argument. Operates on all bagfiles in current directory if no argument provided | |
| Written by Nick Speal in May 2013 at McGill University's Aerospace Mechatronics Laboratory | |
| www.speal.ca | |
| Supervised by Professor Inna Sharf, Professor Meyer Nahon |
| import numpy as np | |
| def fn_radius_cal(x, y): | |
| """ | |
| @function: calcuate radius from x, y | |
| @input: x, y of trajectory | |
| @internal: curvature | |
| @output: radius of trajectory | |
| reference: https://stackoverflow.com/questions/28269379/curve-curvature-in-numpy | |
| """ |
| cmake_minimum_required(VERSION 2.8.3) | |
| project(foo) | |
| if(NOT WIN32) | |
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall") | |
| endif() | |
| # find dependencies |