Controller.cs and keyboard input

I’m curious about the intent of having the keyboard control of the URDF in Controller.cs. Why was it done this way? If I don’t want keyboard control and the associated messages showing up, I’m editing this script each time?

Would it not be better to break the keyboard control out of Controller.cs? Should we be writing a custom Controller.cs for our robots?

You’re right, that script is a little weird, it was originally created as part of the Pick & Place tutorial.

Sorry, could you clarify your comment? I’m right that we should rewrite Controller.cs every time or that they keyboard control should be broken out of it?

Almost all of Controller.cs is there to manage the keyboard control - if you don’t want keyboard control, I’m not sure what you would want to leave in when you rewrite it. Just the bit of the Start function that sets jointFriction and angularDamping, I guess?