01-29-2019, 12:33 PM
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
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