![]() |
Syncgroups with CAN in Java
I i have figured out how to kinda build a syncgroup from looking at some robotdrive source. However setting the byte value i assume is done to address the specific jaguars to update. I have not found anything that explains how to set that. Then you just update the sync group. If anyone has any information on this it will be greatly appreciated.
|
Re: Syncgroups with CAN in Java
The setX method's 2 argument variant lets you set the sync group. Once you call the setX(double value, byte syncGroup) for every motor you want in the sync group, update the syncgroup.
To choose sync group numbers, you just specify them in the setX command of the motor controller. No other setup is required. If you need any more help, ask away :) |
Re: Syncgroups with CAN in Java
Quote:
-Joe |
Re: Syncgroups with CAN in Java
Thank you both for the help. I belive my sync group is working. However i am not getting anything close for the speed of both of my motors using the same encoder setup on identical gear boxes. I am wondering if this is a result of a delay in the bus or not having optimal code.
Code:
public class CanCode extends SimpleRobot{Code:
init: |
| All times are GMT -5. The time now is 02:53. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi