Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.7:Add TorqLink LUA driver #6584

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion common/source/docs/common-torqeedo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ Torqeedo Electric Motors

Rover-4.2.0 (and higher) supports controlling a single `Torqeedo Travel <https://www.torqeedo.com/en/products/outboards/travel>`__, `Ultralight <https://www.torqeedo.com/en/products/outboards/ultralight>`__ or `Cruise <https://www.torqeedo.com/en/products/outboards/cruise>`__ motor using its custom RS485 protocol.

Some images from this page are courtesy of torqeedo.com
Rover-4.7 (and higher) supports controlling single or dual Torqeedo motors that use ``TorqLink`` CAN protocol for motor control.

Some images from this page are courtesy of torqeedo.com
RS485 Controlled Motors
=======================
What to Buy
-----------

Expand Down Expand Up @@ -113,5 +116,10 @@ Introduction Videos
.. youtube:: Wt7vfV4CcFc
:width: 100%

TorqLink Controlled Motors
==========================

A LUA driver is provided 'here <https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Scripting/drivers/torqeedo-torqlink.lua>`__ for control of one or two motors via the ``SERVOx_FUNCTION`` of "Throttle" or "ThrottleLeft, ThrottleRight". The motor(s) control is attached to the autopilot's CAN port. Follow the `readme <https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Scripting/drivers/torqeedo-torqlink.md>`__ for the driver.

[copywiki destination="rover"]