question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TrackMovingPoint skipping

See original GitHub issue

Info

Please provide the following information:

  • BkCommonLib Version (/train version): V1.17.1-V1-SNAPSHOT (Build 930)
  • TrainCarts Version (/train version): V1.17.1-V1-SNAPSHOT (Build 1094)
  • Server Type and Version (/version): git-Paper-119 (MC: 1.17.1)

Bug

Description

TrackMovingPoint sometimes skippes over blocks

Expected behaviour

The TrackMovingPoint will list every block of the rails

Actual behaviour

After a turn on rails it skips the turn itself. Except if its a north west turn. It also sometimes just works.

Steps to reproduce

Create a track moving point to run on a track with multiple turns. And then you can see it sometimes skippes over a track. I detected it by just getting the distance of the track and see if its higher then 1.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:17 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
bergerkillercommented, Aug 1, 2021

Yeah I’ll look at why moveFull() skips blocks

0reactions
bergerkillercommented, Aug 1, 2021

To avoid confusion in the future Ive changed it so both current and currentTrack refer to the rails. Added a separate current/nextLocation field for this purpose instead. https://github.com/bergerhealer/TrainCarts/commit/095b5f3cacf9ad0c706ff7ea2f6a55529874abcd

Read more comments on GitHub >

github_iconTop Results From Across the Web

TrainCarts/TrackIterator.java at master · bergerhealer/TrainCarts ...
private TrackMovingPoint movingPoint; ... movingPoint = new TrackMovingPoint(startBlock, startDirection);. return this; ... If already contained, skip it.
Read more >
How To Fix Bike Chain Skipping/Slipping/Jumping Gears
I show the most common causes for chains that skip, slip, jump gears while pedaling (auto-shifting/phantom shifting derailleur), ...
Read more >
Stop your gears from skipping (easy tutorial) #Shorts - YouTube
Full video (explaining EVERYTHING): https://youtu.be/of-T8uB8tbs#Shorts.
Read more >
Quick fix - Record Skipping! - YouTube
Its a common problem on suitcase and all in one record players......check out this video to learn one easy and effective solution!
Read more >
Motion-based detection, identification, and tracking for missile ...
A signal processing framework developed to detect and track moving point targets from the acquired IR image sequences in real-time and provides the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found