Hi! Very useful tutorial. For 4 motors is it the same process? Do you have to create different opmodes for every function or just use one for everything? Thanks
Hey Sawyer. The hardware map is basically a way that the program can access the configuration file on your robot controller phone. Take a look again at the video around 21:50. Once you have a piece of hardware set up with a name (like DcMotor leftWheel;) You can then use the hardware map to assign a motor in the config file to leftWheel by using something like leftWheel = hardwareMap.dcMotor.get("name_from_config"); Remember, everything is case sensitive. We hope this helps, if you are still having trouble, give us a bit more detail on what you are trying to do and what's happening when you try. Good luck!!!
Hi! Very useful tutorial. For 4 motors is it the same process? Do you have to create different opmodes for every function or just use one for everything? Thanks
where do u find the hardware map in Android Studios
Hey Sawyer. The hardware map is basically a way that the program can access the configuration file on your robot controller phone. Take a look again at the video around 21:50. Once you have a piece of hardware set up with a name (like DcMotor leftWheel;) You can then use the hardware map to assign a motor in the config file to leftWheel by using something like leftWheel = hardwareMap.dcMotor.get("name_from_config"); Remember, everything is case sensitive. We hope this helps, if you are still having trouble, give us a bit more detail on what you are trying to do and what's happening when you try. Good luck!!!
Okay thank you!
Q