Install cross compiler
sudo apt install -y build-essential \
g++-arm-linux-gnueabihf \
gdb-multiarch
Get OpenDDS
import lombok.RequiredArgsConstructor; | |
import lombok.val; | |
import java.time.Duration; | |
import java.time.Instant; | |
import java.util.concurrent.*; | |
import static java.util.concurrent.TimeUnit.MILLISECONDS; | |
/** |
import java.time.Duration; | |
import java.time.Instant; | |
import java.util.*; | |
import java.util.concurrent.ExecutionException; | |
import java.util.concurrent.Future; | |
import java.util.concurrent.TimeUnit; | |
import java.util.concurrent.TimeoutException; | |
import java.util.function.*; | |
import java.util.stream.Collector; |
import java.time.Duration; | |
import java.time.Instant; | |
import java.time.temporal.ChronoUnit; | |
import java.util.Deque; | |
import java.util.concurrent.*; | |
public class RateLimiter { | |
private final int invocations; | |
private final Duration window; | |
private final ScheduledExecutorService scheduler = Executors.newSingleThreadScheduledExecutor(); |
docker_username: dhetbot | |
docker_password: !vault | | |
$ANSIBLE_VAULT;1.1;AES256 | |
33383361346365316566663434303530346663636261653934316366323162616137343464656438 | |
3032616265386530393237663533323834393064343531390a626233353961363632643661376164 | |
65336635366130663266623861613834646232393766396462316365346665613065646638333534 | |
6364373831346235610a366639393163666234643631396464643036623536396335666336343133 | |
6561 |
name: Create git tag from SBT | |
on: | |
push: | |
branch: master | |
jobs: | |
Tag: | |
runs-on: ubuntu-latest | |
steps: |
Install cross compiler
sudo apt install -y build-essential \
g++-arm-linux-gnueabihf \
gdb-multiarch
Get OpenDDS
By default, docker swarm will assume that a service will run on x86 systems and accordingly set the services target platform to amd64
. In the case of our raspis, this results in an error ("no suitable node
") when inspecting the service execution list. This problem can be circumvented by specifying the --no-resolve-image
flag when running docker service create
.
In order to specify compatibility between nodes and services two things need to be done
docker node create
by specifying the tag --label cam=true
. When updating the node: docker node update --label-add cam=true
.docker service create --constraint 'node.labels.cam==true' ...
. When updating a node: docker service update --constraint-add 'node.labels.cam==true'
Deploy OpenDDS programs within containers running on different Raspberry Pis connected via a LAN switch. The OpenDDS participants need to be able to communicate with each other using RTPS. The programs must be able to use sensor data from sensors connected to the Raspberry Pi's GPIO interface. One participant should make use of the Raspberry Pi's camera.