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

Chat: target sysid fix #1295

Merged
merged 2 commits into from Jan 2, 2024
Merged

Conversation

rmackay9
Copy link
Contributor

@rmackay9 rmackay9 commented Dec 31, 2023

This fixes a bug allowing the chat module to control vehicles with a non-default system id (e.g. SYSID_THISMAV != 1).

The fix has two parts:

  1. Assistant instructions updated so that normally the assistant will not specify the target system id
  2. Chat module default fixed to use the system id that the user has selected using the Vehicle menu

There's a much bigger enhancement still on the to-do list to support multiple vehicles.

This has been tested in SITL and below is a screen shot showing the before-vs-after when SYSID_THISMAV = 2
image
image

@tridge tridge merged commit abf0ff5 into ArduPilot:master Jan 2, 2024
1 check passed
@rmackay9 rmackay9 deleted the chat-target-sys-fix branch January 3, 2024 07:00
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.

None yet

3 participants