REV 2025 Beta #27
Replies: 16 comments 31 replies
-
Setting some parameters in sim (signals, followers) results in a crash with 2025.0.0-beta-1:
I sent some more details to support@revrobotics but I can send them here or whereever else is needed. Just figured I'd post the high-level cause somewhere so other people can see it. |
Beta Was this translation helpful? Give feedback.
-
REVLib beta 2 and SPARK MAX pre-release 6 have been released Warning After updating your SPARK MAX or Flex to 25.0.0, you will be unable to communicate with them through the Hardware Client if using a Power Distribution Hub or Pneumatic Hub as the USB CAN bridge. A later update will be available for the PDH and PH that fixes this. For now, connect to the Hardware Client via a SPARK MAX or Flex. Issues fixed |
Beta Was this translation helpful? Give feedback.
-
Does |
Beta Was this translation helpful? Give feedback.
-
If I want to toggle a motor from brake to coast mode, would it be faster (and semantically correct) to create a new SparkFlexConfig with just idlemode set to the correct value? |
Beta Was this translation helpful? Give feedback.
-
Great to see these improvements, thank you to the team that worked on this! Just a few feature requests/nitpicks:
|
Beta Was this translation helpful? Give feedback.
-
Is there an easy way to query the Spark for a config setting? I don't see any getters to that effect. Also, I've previously had a "SparkHelpers" class that had an identical package to REV's SparkBase so that I could create certain getters that weren't available via normal API, as well as some other methods that weren't expose either. Some examples include, getting smart current limit values (current, chop cycles, RPM), enabling/disabling center aligned mode on the absolute encoder (this allows the sensor to report -0.5 to +0.5 instead of 0.0 to 1.0), and converting the Spark fault bits to a human readable string. Are all those methods now exposed via the normal API? |
Beta Was this translation helpful? Give feedback.
-
Is there any methodology to tuning MAXMotionPosition/MAXMotionVelocity that teams should be aware of? Will a high level explainer of REV's implementation of this algorithm be released? |
Beta Was this translation helpful? Give feedback.
-
How do I change the status frame period in the new API? |
Beta Was this translation helpful? Give feedback.
-
What are the default measurement period and average depth for the internal motor encoder for a NEO Vortex and NEO 1.1? I believe the optimal values that we previously found were 32ms/8 for a Spark Flex, and 16ms/2 for Spark Max. |
Beta Was this translation helpful? Give feedback.
-
Will the API provide detailed feedback on which portion of a config failed to apply if any? |
Beta Was this translation helpful? Give feedback.
-
Is there a |
Beta Was this translation helpful? Give feedback.
-
Is there a method to automatically reset the motor encoder or external encoder to a user specified value upon connected limit switch activation? Right now we can technically do this by creating a Trigger, but it would be best if this functionality was in the Spark firmware itself and its internal control loop. |
Beta Was this translation helpful? Give feedback.
-
Can |
Beta Was this translation helpful? Give feedback.
-
Is there a method to limit supply current? |
Beta Was this translation helpful? Give feedback.
-
Is the spark simulation expected to work in C++ yet? I have tried the bare-bones test below and this does not change the position or velocity of the spark in sim gui at all. The equivalent code works in Java. void Robot::TeleopInit() {
_sparkFlex.Set(1);
}
void Robot::SimulationPeriodic() {
double rpm = 100;
double batteryVoltage = 12;
double deltaTime = 0.02;
_sparkFlexSim.iterate(rpm, batteryVoltage, deltaTime);
} |
Beta Was this translation helpful? Give feedback.
-
REVLib beta 3 and SPARK MAX and Flex pre-release 7 have been released Warning After updating your SPARK MAX or Flex to 25.0.0, you will be unable to communicate with them through the Hardware Client if using a Power Distribution Hub or Pneumatic Hub as the USB CAN bridge. A later update will be available for the PDH and PH that fixes this. For now, connect to the Hardware Client via a SPARK MAX or Flex. Issues fixed |
Beta Was this translation helpful? Give feedback.
-
See the latest announcement here
Original Post
Apologies for the long wait! REV's 2025 beta is finally here. We look forward to hearing your feedback.
For information on how to migrate to 2025 REVLib, please see our documentation
Warning
After updating your SPARK MAX or Flex to 25.0.0, you will be unable to communicate with them through the Hardware Client if using a Power Distribution Hub or Pneumatic Hub as the USB CAN bridge. A later update will be available for the PDH and PH that fixes this. For now, connect to the Hardware Client via a SPARK MAX or Flex.
Beta Was this translation helpful? Give feedback.
All reactions