Coder Social home page Coder Social logo

agilex's Introduction

AgileX LIMO Driver

This module implements the base driver for the AgileX LIMO base to be used with viam-server. This driver supports differential, ackermann, and omni directional steering modes over the serial port.

Build and Run

To use this module, follow these instructions to add a module from the Viam Registry and select the viam:base:agilex-limo model from the agilex-limo module.

Configure your AgileX LIMO base

Note

Before configuring your base, you must create a robot.

Navigate to the Config tab of your robot’s page in the Viam app. Click on the Components subtab and click Create component. Select the base type, then select the agilex-limo model. Enter a name for your base and click Create.

On the new component panel, copy and paste the following attribute template into your base’s Attributes box.

{
  "drive_mode": "<ackermann|differential|omni>",
  "serial_path": "<your-serial-path>"
}

Note

For more information, see Configure a Robot.

Attributes

The following attributes are available for viam:base:agilex-limo bases:

Name Type Inclusion Description
drive_mode string Required LIMO steering mode. Options: differential, ackermann, omni (mecanum).
serial_path string Optional The full filesystem path to the serial device, starting with /dev/. With your serial device connected, you can run sudo dmesg | grep tty to show relevant device connection log messages, and then match the returned device name, such as ttyTHS1, to its device file, such as /dev/ttyTHS1. If you omit this attribute, Viam will attempt to automatically detect the path.
Default: /dev/ttyTHS1

Example configurations:

{
  "drive_mode": "differential"
}
{
  "drive_mode": "omni",
  "serial_path": "/dev/ttyTHS1"
}

Next Steps

Local Development

This module is written in Go.

To build: make limobase
To test: make test

License

Copyright 2021-2023 Viam Inc.
Apache 2.0

agilex's People

Contributors

stevebriskin avatar npentrel avatar sguequierre 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.