Coder Social home page Coder Social logo

bluerobotics / blueos Goto Github PK

View Code? Open in Web Editor NEW
130.0 12.0 69.0 20.5 MB

The open source platform for ROV, USV, robotic system operation, development, and expansion.

Home Page: https://blueos.cloud/docs/

License: Other

Dockerfile 0.24% Python 37.93% HTML 1.73% Shell 3.89% JavaScript 0.53% CSS 0.11% Vue 42.51% TypeScript 13.07%
ardupilot companion-computer docker robotics rov hacktoberfest blueos

blueos's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blueos's Issues

Add build instructions

Add instructions related to docker build, to create images, upload, configure and etc

install VERSION variable conflicts with docker install step

root@raspberrypi:/home/pi# export REMOTE=https://raw.githubusercontent.com/jaxxzer/companion-docker
root@raspberrypi:/home/pi# export VERSION=r3
root@raspberrypi:/home/pi# curl -fsSL https://raw.githubusercontent.com/jaxxzer/companion-docker/r3/install/install.sh | bashChecking if network and remote are available.
Starting hardware configuration.
https://raw.githubusercontent.com/jaxxzer/companion-docker/r3/install/boards/configure_board.sh
Detecting board type
Detected BCM27XX via device tree
Configuring BCM27XX board (Raspberry Pi 4)..
- compile spi0 device tree overlay.
- Enable I2C, SPI and UART.
enable_uart=1
dtoverlay=uart1
dtoverlay=uart2
dtoverlay=uart3
dtoverlay=uart4
dtparam=i2c_arm=on
dtoverlay=i2c0
dtoverlay=i2c1
dtoverlay=i2c4,pins_6_7
dtoverlay=i2c6,pins_22_23
dtparam=spi=on
dtoverlay=spi0-led
dtoverlay=spi1-3cs
- Set up kernel modules.
bcm2835-v4l2
i2c-bcm2835
i2c-dev
- Configure serial.
Checking for blocked wifi and bluetooth.
Checking for available space.
Checking for docker.
bash: line 45: docker: command not found
# Executing docker install script, commit: 3d8fe77c2c46c5b7571f94b42793905e5b3e42e4
+ sh -c apt-get update -qq >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sh -c curl -fsSL "https://download.docker.com/linux/raspbian/gpg" | apt-key add -qq - >/dev/null
Warning: apt-key output should not be parsed (stdout is not a terminal)
+ sh -c echo "deb [arch=armhf] https://download.docker.com/linux/raspbian buster stable" > /etc/apt/sources.list.d/docker.list
+ sh -c apt-get update -qq >/dev/null
INFO: Searching repository for VERSION 'r3'
INFO: apt-cache madison 'docker-ce' | grep 'r3.*-0~raspbian' | head -1 | awk '{$1=$1};1' | cut -d' ' -f 3

ERROR: 'r3' not found amongst apt-cache madison results

Failed to start docker, something is wrong.

service: housekeeper

Housekeeper is a future service that will manage all others service, the service has the following responsibilities:

  • Manage default settings for 3rd party software
  • Start and manager all others companion-core services
    • stop, start, restart, health status, log (?)

Install default programs

  • file: For file information <1MB
  • locate: To find files <1MB
  • tmux: Better mult terminal support <1MB
  • unzip: To download and unzip stuff < 1MB
  • nano: A friendly editor
    • oh-my-nano: nano syntax highlight 100kB
  • htop: System resources manager tool < 1MB
  • tig: Git visualization 100MB
  • mtr: For internet ping 100MB
    • ping: Used in place of mtr < 1MB
  • bat: For file visualization 2MB
  • wget: To download stuff 10MB
  • oh-my-zsh: A friendly and powerful bash 300MB
  • ip: For network configuration and settings visualization ~3MB
RUN apt install -y file locate tmux unzip nano htop iputils-ping wget iproute2
RUN sh -c "$(wget -O- https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh)" # oh-my-nano

Log: Save dmesg output

The dmesg output should be saved for debug.
We should save at least the latest N dmesg outputs or a fixed size like 100MB.

ArduPilotManager fails when running on Desktop

File "companion-docker/core/services/ardupilot_manager/flight_controller_detector/Detector.py", line 5, in <module>
    from smbus2 import SMBus
ModuleNotFoundError: No module named 'smbus2'

It would be good to at least catch this.

Separate ArduPilotManager and main

Currently, ArduPilotManager is a class declared inside main. In the case of adding functionality to main (e.g. creating a CLI for ArduPilotManager), it's purpose would be unclear and bloated. Giving ArduPilotManager its own file would make things clear.

bootstrap: Improve README

Add information about:

  • Access information of the running service
  • Restart it to run the new config file
  • Where the config should be by default

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.