![]() |
WPILib CAN Communications
Does WPILib support both the RS-232 (Black Jag Gateway) and ethernet (2CAN) style CAN networks? I can't tell from the CANJaguar class if it only supports one of these modes or both. If it does support both modes how does it detect which you are using?
Thanks Joe |
Re: WPILib CAN Communications
WPILib supports both, there is no difference in the robot code or WPILib code between the two.
The difference is handled by the plugin on the cRIO - if you're using RS-232 you run the Black Jag plugin on the cRIO, if using 2CAN you use the 2CAN plugin. The cRIO imaging tool lets you select which to use, or you can edit the ni-rt.ini file yourself to load the plugin you want. |
Re: WPILib CAN Communications
perfect thanks!
|
Re: WPILib CAN Communications
Note that (I believe) you can only use one or the other, you cannot use both.
|
Re: WPILib CAN Communications
Quote:
-Joe |
| All times are GMT -5. The time now is 17:48. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi