Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python API: ProgramStart does not change RunMode
#1
Hi,
I found an unexpected behaviour using the ProgramStart method from the Python API.
In the documentation for ProgramStart there is an example that says changing the run mode to RUNMODE_MAKE_ROBOTPROG would be redundant:

//www.sinclairbody.com/doc/en/PythonAPI/robo...ogramStart

The annotations for setRunMode tell the same:

//www.sinclairbody.com/doc/en/PythonAPI/robo...setRunMode

我附加一个python脚本,节目s the run mode is not changed automatically.
Looking into robolink.py ProgramStart indeed does not seem to change the run mode.
So I guess either the function or the documentation should be revised.
Please let me know if I am wrong here.

Best regards
David


Attached Files
.py Bug_example.py(Size: 937 bytes / Downloads: 472)


Messages In This Thread
Python API: ProgramStart does not change RunMode - byDavidG- 01-29-2019, 12:33 PM



Users browsing this thread:
1 Guest(s)