CrossTheRoadElec / Phoenix-Releases

Release repository for Phoenix-Framework and Phoenix-Tuner
79 stars 6 forks source link

Add Python Simulation Support to Phoenix 6 #52

Closed lospugs closed 12 months ago

lospugs commented 1 year ago

I was attempting to test out the Phoenix 6 Python API by porting the java CommandBasedDrive example to Python to try out the beta. Missing method: set_position from TalonFXConfigurator Missing Classes: TalonFXSimState

I then ported some older code that simulates well (in that the robot moves on the screen, etc) with the robotpy Phoenix5 just to try out the beta.

Working and not working code is here for reference: https://github.com/Lambda-Corps/2024_Python_beta

JCaporuscio commented 1 year ago

Yep - the simulation functions in Python are on our near-term roadmap. No exact ETA I can provide yet but it should be coming soon.

bhall-ctre commented 12 months ago

This has been added with the release of Phoenix 6 2024 beta 3: https://api.ctr-electronics.com/changelog#20231122