We are trying to add Soft Limits to an arm. We are following Rev’s SparkMax examples. The example uses SmartDashboard to set some parameters. This is our first week programming in Java and have little experience with SmartDashboard at this time. So, we want to program the Soft Limits without the SmartDashboard.
What does the programming look like to add the the Soft Limits into the SubSystem without using SmartDashBoard?
Below is what it looks like Rev’s Example and reads the SoftLimitDirection from the dashboard (I think)…