Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native simulation for other pipelines #1753

Open
axyklee opened this issue Jan 30, 2025 · 1 comment
Open

Native simulation for other pipelines #1753

axyklee opened this issue Jan 30, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@axyklee
Copy link

axyklee commented Jan 30, 2025

Is your feature request related to a problem? Please describe.
Currently, PhotonVision only includes native (integrated with WPILIB) simulation fo AprilTags. This is expected, as AprilTag locations are expected and can be rendered in-time. However, it would also be helpful to be able to simulate other pipelines without rendering them.

Describe the solution you'd like
Create Sim classes for other pipelines that would be used only in simulation. The source could be a native camera stream (although that would have to deal with ffmpeg), or an FRC-specific CameraStream on the Network Tables (I assume this is the easier implementation).

Describe alternatives you've considered

  1. PhotonVision could use a CameraServer as a source regardless of whether the robot is real or simulated, instead of requiring users to use onboard webcams. I understand that the architecture of PhotonVision makes this unrealistic.
  2. Currently, teams achieve this function by running an instance of PhotonVision on their computer and publishing their AdvantageScope camera renders as a camera stream using OBS. However, this process is quite cumbersome and difficult to replicate, and would be greatly enhanced if integrated natively.
@axyklee axyklee added the enhancement New feature or request label Jan 30, 2025
@axyklee
Copy link
Author

axyklee commented Jan 30, 2025

This feature request from AdvantageScope can be very well integrated with PhotonVision: Mechanical-Advantage/AdvantageScope#169 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant