Skip to content

ESC Changes Made on 3/18/2025#200

Open
pranavdasan wants to merge 2 commits intoNRG948:mainfrom
pranavdasan:pranavdasan8/ESC-Changes-2025-3-18
Open

ESC Changes Made on 3/18/2025#200
pranavdasan wants to merge 2 commits intoNRG948:mainfrom
pranavdasan:pranavdasan8/ESC-Changes-2025-3-18

Conversation

@pranavdasan
Copy link
Contributor

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ground intake motor is now 12, took the algae arm id for this

public GroundIntake() {}

/** Sets the goal velocity in meters per second. */
public void setGoalVelocity(double velocity) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: for simply "holding" a coral piece that has been acquired, do we want something other than velocity control? I.e. when the motor is stalled in "hold mode", does the PID controller ramp up the motor power trying to reach the given velocity?

laserCAN.setRangingMode(LaserCan.RangingMode.SHORT);
laserCAN.setRegionOfInterest(
new LaserCan.RegionOfInterest(12, 8, 8, 16)); // Makes detection region a box
new LaserCan.RegionOfInterest(7, 8, 2, 16)); // Makes detection region a box
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ROI width and height is apparently limited to a minimum of 4 SPADs according to the spec sheet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants