GithubHelp home page GithubHelp logo

aakarsh / oresat-linux-manager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oresat/oresat-linux-manager

0.0 0.0 0.0 2.52 MB

The frontend interface to OreSat Linux boards over a CAN bus.

License: GNU General Public License v3.0

CMake 1.57% Python 3.38% C 94.96% Shell 0.10%

oresat-linux-manager's Introduction

OreSat Linux Manager (OLM)

License Issues

build generic build gps build star tracker build cfc build dxwifi

OreSat Linux Manager is the Linux board controller / CAN interface program for all Linux boards on OreSat. It is built ontop of CANopenNode and interfaces with Systemd, allowing the master CAN node to control everything on the board over CAN. The OLM is ment to be a node on the CANbus, not the master node.

olm image

Features

  • Built on top of the CANopenNode, therefor it follows the CANopen-Specifcations by CiA (CAN-in-Automation).
  • Follows the ECSS-CANBus-Extended-Protocal on top of CiA specs.
  • Allows the CAN Network Manager to control any daemons on the Linux board thru Systemd.
  • Has a app based system that uses sd-bus (systemd dbus) for DBus communication to OreSat daemons.
  • Allows other daemons with oresat-linux-manager apps to read/write to the CAN object dictionary over dbus.
  • Allows the other processes/daemons to be written in any language that has a DBus library or a DBus binding. A lot of languages do have DBus support, See freedesktop DBus Bindings for a DBus supported languague list.

Dependices

To compile

  • For Debian:apt install git libsystemd-dev cmake make gcc doxygen pkg-config
    • optional: ninja-build
  • For Arch: pacman -S git systemd-libs cmake make gcc doxygen pkgconfig
    • optional: ninja

To run

  • For Debian: apt install libsystemd-dev
  • For Arch: pacman -S systemd-libs

How to use

  • Compiling
    • $ cd build
    • $ cmake -DBOARD=<board> .. or $ cmake -GNinja -DBOARD=<board> ..
    • $ make or $ ninja
  • Optional cmake flags, 1st option in [ ] is default when not specified:
    • -DCMAKE_BUILD_TYPE=[Debug|Release] to turn the -g -Wall cflags on/off
  • Running OLM
    • $ sudo ./oresat-linux-manager
    • $ ./oresat-linux-manager -h for help message
  • Building deb binary package
    • $ make package or$ ninja package

Making a new board

  • $ cp -r src/boards/generic src/boards/<new_board_name>
  • modify $ src/boards/<new_board_name>/board_main.c as needed
  • modify $ src/boards/<new_board_name>/object_dictionary/*.xdd with CANopenEditor as needed. Make sure to save the .xdd, .eds, .md, and CO_OD.* files when editing the OD.

Useful References

oresat-linux-manager's People

Contributors

alexanderjdupree avatar andrewgreenberg avatar dmitri-mcguckin avatar khanu263 avatar

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.