apt install git cmake g++ gcc
git clone https://github.com/EAIBOT/ydlidar
cd ydlidar/sdk
cmake .
make -j4
samples/ydlidar_test /dev/ttyUSB0 128000 0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| default: runserver runscan | |
| .PHONY: default | |
| runserver: | |
| docker-compose up -d | |
| .PHONY: runserver | |
| runscan: | |
| docker run -ti -v $(shell pwd):/root/src --network docker-dev-environment_sonarnet newtmitch/sonar-scanner sonar-scanner -Dsonar.host.url=http://sonarqube:9000 | |
| .PHONY: runscan |
These templates provide the roles, and a document to build AMIs using SSM Automation.
The require:
- A VPC with some public subnets, in my case I am just using a default VPC.
- The AMI ID of the RHEL base image, this is tested with 7.2 and up.
To get the latest AMI you can run the following command.
To setup sam local on an OSX system which is using homebrew.
Check if pip installed.
pip --version
If this returns.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "github.com/alecthomas/kingpin" | |
| ) | |
| var ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -e | |
| yum update -y | |
| yum install -y aws-cfn-bootstrap git aws-cli | |
| # Install the files and packages from the metadata | |
| /opt/aws/bin/cfn-init -v --stack "{{ aws_stack_name }}" \ | |
| --resource ECSInstanceLaunchConfiguration \ | |
| --configsets ConfigCluster \ | |
| --region "{{ ref('AWS::Region') }}" |
Remove all the crap off this image.
apt remove bone101 bonescript nodejs bb-node-red-installer apache2
Install NTP
apt install ntp -y
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AWSTemplateFormatVersion: '2010-09-09' | |
| Transform: AWS::Serverless-2016-10-31 | |
| Parameters: | |
| EnvironmentName: | |
| Type: String | |
| EnvironmentNumber: | |
| Type: String | |
| CognitoUserPoolArn: | |
| Type: String |
The following command is used to stream data from an Odroid 720p Webcam on an Odroid XU4 SBC.
This USB2 camera is located at /dev/video6.
The samsung CPU has a device which can do h264 encoding this is located at /dev/video10 and /dev/video11, I am currently using v4l2video11h264enc gstreamer plugin to use it.
ip_addr=192.168.1.1
Conversation between Melissa Kaulfuss and George Sheppard.
mel [11:36 AM]
joined #aws
mel
[11:37 AM]
sup