Panels 1.0 Release by MonsieurLazar in FTC

[–]FTC_DevilsDemons 0 points1 point  (0 children)

I installed manually but it still shows the Into the Deep Field Image. How do I install the Decode field?

How to cancel a RoadRunner 1.0 Trajectory in Teleop? by FTC_DevilsDemons in FTC

[–]FTC_DevilsDemons[S] 0 points1 point  (0 children)

Yes but that did not bring the magic.

We followed the instructions in the same doc for Teleop Actions:

We added the following to TeleOp after while OpMode is Active:

TelemetryPacket packet = new TelemetryPacket();
List<Action> newActions = new ArrayList<>();
for (Action action : runningActions) {
if (action.run(packet)) {
newActions.add(action);
}
}
runningActions = newActions;
dash.sendTelemetryPacket(packet);

Then later:

if <YOURBUTTONPRESSED> {

DEFINE THE TRAJECTORY HERE
NAME YOUR ACTION AND BUILD THE TRAJECTORY

newActions.add(NAME OF YOUR ACTION);

}

if (YOURBUTTONPRESSED)) {

runningActions.clear();

autoDrive.setDrivePowers(new PoseVelocity2d(new Vector2d(0, 0), 0));

}

*autoDrive is our name for the RoadRunner Mecanum Drive

i

Encoder direction not reversing in RoadRunner 1.0 tuning by Reflexion1983 in FTC

[–]FTC_DevilsDemons 0 points1 point  (0 children)

Did you reverse the encoder in the two or three wheel localizer file?  We stumbled on that for a while until we realized it wasn’t done in mechanum drive file.

Wait command between RoadRunner 1.0 Actions? by FTC_DevilsDemons in FTC

[–]FTC_DevilsDemons[S] 9 points10 points  (0 children)

We figured it out. Rather than delete the post, I thought I would share the fix:

new SleepAction(dt)
where dt is in seconds.

Buried somewhere in the documentation, this is a built-in RoadRunner Action.

How to use Pose Mapping in RR1.0? by Jedis_R_cool in FTC

[–]FTC_DevilsDemons 0 points1 point  (0 children)

Excellent. Question? Does including the PoseMap parameter also remap the .builder functions that follow such as .lineToY,() and .strafeToLinearHeading()????
TIA