You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code will drive the car forward. More details about the Controller object here
const{ Client, Manager, Controller }=require("EasyRLBot");classExampleBotextendsClient{constructor(...args){super(...args);// Do not change this except if you know what you are doing.}getOutput(gameTickPacket,fieldInfo,ballPrediction){letcontroller=newController();// Create a new controller// Drive forwardcontroller.throttle=1;// Send controller to RLBotthis.controller.sendInput(controller);}}letmanager=newManager(ExampleBot,3215// This is the default port used by EasyRLBotExample);