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

AP_Scripting: Torqeedo TorqLink lua driver #29145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rmackay9
Copy link
Contributor

@rmackay9 rmackay9 commented Jan 27, 2025

This adds basic support for controlling Torqeedo electric boat motors that use the TorqLink protocol which is NMEA 2K with some custom messages. This closes issue #26617

This has been tested on real hardware and a video of the test can be seen here

I plan to add consuming feedback from the motors in the coming weeks but even as it is, this provides an important step forward as users are appearing on the forums asking for how they can use these motors

- CAN_P2_DRIVER = 2 (Second driver)
- CAN_D2_PROTOCOL = 12 (Scripting2)

Copy this script to the autopilot's SD card in the APM/scripts directory
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation looks weird?


Copy this script to the autopilot's SD card in the APM/scripts directory
Create an APM/scripts/modules directory on the SD card
Copy the ardupilot/libraries/AP_Scripting/modules/NMEA_2000.lua script to the above modules directory
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove module link till needed?

@tridge
Copy link
Contributor

tridge commented Jan 28, 2025

find to merge when formatting issues fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants