Defining Custom Variable inside control structure ! #8332
Unanswered
FarahatDeploys
asked this question in
Q&A
Replies: 1 comment
-
@nsubiron |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there ,
I am trying to define custom variable inside the control object, and be able to access it through pythonAPI
for example
control.throttle = 1
control.customVar = 10
I believe I will need to make edits over the whole pipeline, but I am not sure which files to be edited
I already edited files inside plugin source
then edited the vehicle control inside RPC so I edited vehicleControl.h
and eventually exposed the variable from the control.cpp inside pythonAPI source code
any idea what is missing
thanks in advance !
Beta Was this translation helpful? Give feedback.
All reactions