TalonSRX Library for Mac Java

Hey, I was wondering if its possible to use pheonix tuner and TalonSRX library which is made for Windows (.exe) on macOS.

Developing your robot code is cross platform no matter what type of motor controller you’re using. This means that you can write code for a robot that uses TalonSRXes on a Mac.

However, you cannot run Phoenix Tuner on a Mac without using something to allow you to run exe files on a Mac (like Wine). Setting something like that up is usually a pain and I don’t recommend it.

To my knowledge, Phoenix Tuner is written in .NET, so it may work under Mono. YMMV.

To Install the Pheonix Framework into VSCode on non-windows systems, you download the latest CTRE Phoenix Framework (No Installer) package xx.yy.zz (.zip) package, and install it according to the instructions given in the README.txt file in the download. More info can be found on the screenstepslive site here: https://wpilib.screenstepslive.com/s/currentCS/m/getting_started/l/682619-3rd-party-libraries

I haven’t tried to install/use Pheonix Tuner on a non-windows machine, so I can’t really help you there.

2 Likes

Thank your for your response. I tried it and didnt work. For this season my team is just going to use the same old laptops again. Hope you have a gr8 season!

I suggest you use boot camp to dual boot windows. Our IT department gave my team two MacBooks and got stumped with the same issue. Got over the driver station issue with this as well.

Hey folks,

As @ExploitSage mentioned, we do have a non-windows zip file with Readme instructions for installing Phoenix libraries on linux/mac.

https://phoenix-documentation.readthedocs.io/en/latest/ch05_PrepWorkstation.html#option-2-non-windows-zip-c-java

Keep in mind however that there are no simulation/desktop binaries for mac.
So any robot project that uses Phoenix on a mac computer needs to have desktop support disabled.
You can change this setting by doing the reverse of this article (article is for enabling):
https://docs.wpilib.org/en/latest/docs/software/wpilib-tools/robot-simulation/introduction.html#enabling-desktop-support

Also keep in mind that there is a known issue for mac simulation of wpilib (with or without Phoenix):
https://docs.wpilib.org/en/latest/docs/software/wpilib-overview/known-issues.html#macos-simulation-fails-to-launch-in-visual-studio-code

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.