fixes order of calls in platform __init__: makes sure all variables are instantiated before calling setTargetAnglesSuccessfully()