Home        Store        Docs        Blog

Keyboard Control of Ardusub

(Ryan C.) #1

I am planning to use the BlueROV2 Main tube as the brains of a towed camera system. We will be creating a custom mounting assembly underneath a Boston Engineering depressor wing for working in 100+m ranges.
The main electronics stack will be used as-is (minus the ESCs) and will be used to interface with sensors, camera and lights.
Being as the amount of control needed is minimal, I would like to control the full system with keyboard commands rather than a Joystick controller. Is this possible?
I have found the virtual joystick, but so far have not been able to get it to tilt the camera or turn on the lights.
Any help would be greatly appreciated.
Thanks.

0 Likes

(Jacob) #2

This is not possible at the moment. I hope to support it in the future, but have not had the time to address it yet.

1 Like

(Ryan C.) #3

Thank you for the quick response.
Wired controller on its way…

0 Likes

(undersearobotics.com) #4

You can give vJoy a try: http://vjoystick.sourceforge.net/site/

0 Likes

(Ryan C.) #5

Thanks.
I did get it installed, QGC recognizes it. I can now at least move the camera with it.
In its base configuration it is a bit quirky, I need to see if I can remap keyboard keys to it, instead of their small GUI.

0 Likes

(Marcus) #6

Hi Ryan,
Did you get any further with this? Any other apps you found useful?

0 Likes

(Ryan C.) #7

I never did pursue it much further. We just purchased a controller. It was minimal cost, and we were short on time.
Sorry, I cant help.

0 Likes

(ehughwilliams) #8

Hi Jacob,

I stumbled onto this thread while trying unsuccessfully to find the instructions for doing keyboard input into QGC (thinking it MUST be here, but I must be looking in the wrong places!). Do I understand this thread correctly, that there is currently no way to use the keyboard of the laptop running QGC to enter even one-letter commands and have MAVLink carry them to the Companion Pi?

If so, you mentioned adding support for it later but not having time at that time – did that ever happen? We all understand that you must have a ton on your regular BR plate, but how about pointing the way to the BR / QGC community to write something (PyMAVLink or some kind of python script?) that provides at least some basic functionality even if it’s not ready for prime time and has disclaimers slapped all over it? I’d take a stab at it and I’m sure a ton of better programmers than me would rush in to help with something so desirable (and they’d do a great job making it solid, robust, and compliant with your standards). If you 've already got joysticks and mice, how hard can that be? Thanks!

0 Likes

(Jacob) #9

There is currently no support for this. The relevant issue to track the status of this is here: https://github.com/ArduPilot/ardupilot/issues/9808

If you 've already got joysticks and mice, how hard can that be?

It may seem straightforward to implement, and it can be, but what takes time is getting every developer involved to agree on something that will work for everyone.

0 Likes