mix bb_servo_feetech.install (bb_servo_feetech v0.2.3)

Copy Markdown View Source

Installs BB.Servo.Feetech into a robot

Adds a BB.Servo.Feetech.Controller and BB.Servo.Feetech.Bridge to your robot module, defines a :config.:feetech param group, and sets the serial device on the robot's child spec in your application module.

Actuators belong on individual joints in your topology and are not added automatically — a snippet is printed for you to copy.

Example

mix igniter.install bb_servo_feetech
mix igniter.install bb_servo_feetech --robot MyApp.Arm
mix igniter.install bb_servo_feetech --device /dev/ttyACM0

Options

  • --robot - The robot module (defaults to {AppPrefix}.Robot).
  • --name - The controller name (default feetech).
  • --bridge-name - The parameter bridge name (default feetech_bridge).
  • --device - The serial device path (default /dev/ttyUSB0).