public void SendDriveCommand(long xJoystickValue, long yJoystickValue, long zJoystickValue, Component parentComponent) { SetVelocityCommand setVelocityCommand = new SetVelocityCommand(); setVelocityCommand.SetSource(badgerControlSubsystem.LocalAddress); setVelocityCommand.SetDestination(parentComponent.JausAddress); setVelocityCommand.VelocityX = xJoystickValue; setVelocityCommand.VelocityY = yJoystickValue; setVelocityCommand.VelocityZ = zJoystickValue; Transport.SendMessage(setVelocityCommand); }