#"base_remote_control" service in python SDK

1 messages · Page 1 of 1 (latest)

finite junco
#

The python sdk contains abstractions for most services, however, not the Remote Control Service.
I had originally started to implement the nessary service client, but discovered that large parts are code-generated (and thats something I don't want to mess with 🙂 )
My intentions are actually rather simple, I just want to enable and disable this service programatically. Can anyone suggest an feasible solutiuon for this?

unique verge
#

hi @finite junco thanks for the question! we'll get back to you shortly!

surreal cosmos
#

@finite junco To confirm your goal, you want to use the Python SDK to access the Remote Control Service like the Go SDK? Referencing this page in the docs: https://docs.viam.com/services/base-rc/

The base remote control service allows you to remotely control a base with an input controller like a gamepad.

surreal cosmos
#

I just confirmed that we actually don't expose the Remote Control Service at all through our SDKs. What kind of functionality are you trying to achieve by toggling the remote control service? Maybe we can find a way to accomplish it with the current SDK.

finite junco
#

The intention is to have multiple modes of operation on our rover. More specifically, I would like to switch between a manual control mode and an "scanning"-mode, where the rover performs a set of predefined motions and actions. It is important, that the BRC service does not interfere during this state. Disabling the gamepad component for this purpose is not an option.

I know that the Go SDK exposes the service, but is fairly limited in functionality.

surreal cosmos
#

The Go SDK doesn't expose this publicly, the docs need to be updated to correct this. What is shown by the docs is currently used internally by viam-server for our app to provide remote control UI.